Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
lwir_control_result Struct Reference

Outcome of lwir_state_control() or lwir_state_control_read(). More...

#include <lwir_state.h>

Collaboration diagram for lwir_control_result:

Data Fields

struct lwir_state_value reply
 Status/transport detail of the last step reached.
bool submitted
bool verified
 See struct description; both false after early rejection.
uint16_t readback
 Value read back; meaningful only once a read-back reply arrived.

Detailed Description

Outcome of lwir_state_control() or lwir_state_control_read().

submitted and verified are deliberately separate:

  • submitted is set just before the executing (trigger) write. Once true, the device may have applied the command even if the call failed, so callers must never replay automatically; read the setting back instead.
  • verified is true only when an exact read-back matched (setters) or the read-back succeeded (control_read). FFC never sets it.

Definition at line 195 of file lwir_state.h.

Field Documentation

◆ readback

uint16_t lwir_control_result::readback

Value read back; meaningful only once a read-back reply arrived.

Definition at line 198 of file lwir_state.h.

◆ reply

struct lwir_state_value lwir_control_result::reply

Status/transport detail of the last step reached.

Definition at line 196 of file lwir_state.h.

◆ submitted

bool lwir_control_result::submitted

Definition at line 197 of file lwir_state.h.

◆ verified

bool lwir_control_result::verified

See struct description; both false after early rejection.

Definition at line 197 of file lwir_state.h.


The documentation for this struct was generated from the following file: