BNO08X Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
bno08x::Metadata Struct Reference

Sensor metadata record (RM Figures 28 and 29, record IDs 0xE301 to 0xE325). More...

#include <bno08x_types.hpp>

Public Attributes

bool valid {false}
 The record has been read.
 
uint8_t version_me {0}
 MotionEngine version byte.
 
uint8_t version_mh {0}
 MotionHub version byte.
 
uint8_t version_sh {0}
 SensorHub version byte.
 
uint32_t range {0}
 Range, in the sensor's Q point.
 
uint32_t resolution {0}
 Resolution, in the sensor's Q point.
 
uint16_t power_q10 {0}
 Power in mA, Q10.
 
uint16_t revision {0}
 Record revision (3 or 4).
 
uint32_t min_period_us {0}
 Shortest report period.
 
uint32_t max_period_us {0}
 Longest report period (revision 4; 0 in revision 3).
 
uint16_t fifo_max {0}
 Most reports the hub's FIFO holds.
 
uint16_t fifo_reserved {0}
 Reports reserved for this sensor.
 
uint16_t batch_bytes {0}
 Batch buffer size in bytes.
 
uint16_t vendor_id_len {0}
 Length of the vendor ID string.
 
uint16_t q1 {0}
 Q point 1.
 
uint16_t q2 {0}
 Q point 2.
 
uint16_t q3 {0}
 Q point 3.
 
uint16_t specific_len {0}
 Sensor-specific metadata length in bytes.
 
std::array< char, 32 > vendor_id {}
 The vendor ID string, NUL-terminated, truncated to 31.
 
uint32_t activity_classes {0}
 Activity classifier: bit n set means class n is supported.
 

Detailed Description

Sensor metadata record (RM Figures 28 and 29, record IDs 0xE301 to 0xE325).


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