Raw result of one mailbox query, kept verbatim as evidence. More...
#include <lwir_state.h>
Data Fields | |
| enum lwir_state_status | status |
| Outcome; data is meaningful only for LWIR_STATE_OK. | |
| uint8_t | data [64] |
| uint8_t | length |
| Valid bytes in data (2 or 64); 0 unless a reply was accepted. | |
| uint8_t | device_status |
| Last status byte read from 0x0200; 0 if none was read. | |
| int | transport_error |
Detailed Description
Raw result of one mailbox query, kept verbatim as evidence.
Definition at line 122 of file lwir_state.h.
Field Documentation
◆ data
| uint8_t lwir_state_value::data[64] |
Reply bytes exactly as received: big-endian for two-byte values; 64-byte device-info strings are not guaranteed to be NUL-terminated.
Definition at line 126 of file lwir_state.h.
◆ device_status
| uint8_t lwir_state_value::device_status |
Last status byte read from 0x0200; 0 if none was read.
Definition at line 128 of file lwir_state.h.
◆ length
| uint8_t lwir_state_value::length |
Valid bytes in data (2 or 64); 0 unless a reply was accepted.
Definition at line 127 of file lwir_state.h.
◆ status
| enum lwir_state_status lwir_state_value::status |
Outcome; data is meaningful only for LWIR_STATE_OK.
Definition at line 123 of file lwir_state.h.
◆ transport_error
| int lwir_state_value::transport_error |
Return value of the last failing transfer callback (negative code or short byte count); 0 when no transfer failed.
Definition at line 131 of file lwir_state.h.
The documentation for this struct was generated from the following file:
- modules/lwir_cam/lwir_state.h