|
BNO08X Driver 0.1.0
API reference
|
Counters of everything the driver dropped, repaired or noticed. Never reset by the driver. More...
#include <bno08x_types.hpp>
Public Attributes | |
| uint32_t | short_transfer {0} |
| Transfers shorter than a header (V1). | |
| uint32_t | length_ffff {0} |
| Headers with length 0xFFFF (V2). | |
| uint32_t | null_header {0} |
| Null headers, length 0 (V3). | |
| uint32_t | length_short {0} |
| Headers with length 1 to 3 (V4). | |
| uint32_t | oversize_cargo {0} |
| Cargoes larger than the receive buffer (V5). | |
| uint32_t | bad_channel {0} |
| Cargoes on a channel above 5 (V6). | |
| uint32_t | lost_cargo {0} |
| Cargoes abandoned by a new header or channel (V7, V9). | |
| uint32_t | orphan_cont {0} |
| Continuations with no cargo open (V8). | |
| uint32_t | bad_cont_len {0} |
| Continuations with the wrong length (V10). | |
| uint32_t | dup_seq {0} |
| Duplicate SHTP sequence numbers (V11). | |
| uint32_t | seq_gap {0} |
| Gaps in the SHTP sequence numbers (V11). | |
| uint32_t | nonzero_pad {0} |
| Non-zero bytes in the padding (V12). | |
| uint32_t | unknown_report {0} |
| Reports with an ID the table does not know (V13). | |
| uint32_t | short_report {0} |
| Reports cut short by the cargo end (V14). | |
| uint32_t | bad_gyrorv {0} |
| Channel 5 cargoes of the wrong length (V15). | |
| uint32_t | early_cargo {0} |
| Cargoes before the advertisement (V16). | |
| uint32_t | bad_advert {0} |
| Advertisements with a malformed TLV. | |
| uint32_t | bad_protocol_id {0} |
| UART frames with a protocol ID other than 0 or 1. | |
| uint32_t | bad_escape {0} |
| UART frames with a bad escape sequence. | |
| uint32_t | oversize_frame {0} |
| UART frames longer than the receive buffer (dropped). | |
| uint32_t | base_overflow {0} |
| Base timestamps that were 0x7FFFFFFF. | |
| uint32_t | bsq_retries {0} |
| UART-SHTP: Buffer Status Queries sent again (no BSN came). | |
| uint32_t | product_id_extra {0} |
| Product ID responses that no request was waiting for. | |
| uint32_t | frs_foreign {0} |
| FRS read responses for another record type (ignored). | |
| uint32_t | report_seq_gaps {0} |
| Gaps in a sensor's own sequence number. | |
| uint32_t | payload_upper_nonzero {0} |
| Narrow payloads whose upper byte was not zero. | |
| uint32_t | resyncs {0} |
| Resynchronisations of the frame engine. | |
| uint32_t | hub_resets {0} |
| Hub restarts seen while ready. | |
| uint32_t | restore_failed {0} |
| Auto-restore writes given up after their retries. | |
| uint32_t | hub_errors {0} |
| SHTP error lists received. | |
| uint32_t | bus_errors {0} |
| Port hooks that returned false while reading. | |
| uint32_t | events_dropped {0} |
| Events lost to a full queue. | |
| uint32_t | rvc_frames {0} |
| UART-RVC frames accepted. | |
| uint32_t | rvc_bad_csum {0} |
| UART-RVC frames with a wrong checksum. | |
| uint32_t | rvc_index_gaps {0} |
| UART-RVC frames whose index skipped. | |
| uint32_t | rvc_banner_bytes |
| Bytes skipped before the first UART-RVC frame (the ASCII banner). | |
| uint32_t | rvc_out_of_range {0} |
| UART-RVC angles outside the documented ranges. | |
| uint32_t | rvc_csum_with_mi {0} |
| UART-RVC checksums that matched when MI and MR are included. | |
| uint32_t | rvc_csum_without_mi {0} |
| UART-RVC checksums that matched only without MI and MR. | |
Counters of everything the driver dropped, repaired or noticed. Never reset by the driver.
| uint32_t bno08x::Stats::rvc_banner_bytes |
Bytes skipped before the first UART-RVC frame (the ASCII banner).