5 #define AP_BEACON_POZYX_MSG_LEN_MAX 20 // messages from uno/pozyx are no more than 20bytes 6 #define AP_BEACON_POZYX_HEADER 0x01 // messages start with this character 7 #define AP_BEACON_POZYX_MSGID_BEACON_CONFIG 0x02 // message contains anchor config information 8 #define AP_BEACON_POZYX_MSGID_BEACON_DIST 0x03 // message contains individual beacon distance 9 #define AP_BEACON_POZYX_MSGID_POSITION 0x04 // message contains vehicle position information 10 #define AP_BEACON_DISTANCE_MAX 200.0f // sanity check beacon and vehicle messages to be within this distance from origin
uint8_t linebuf[AP_BEACON_POZYX_MSG_LEN_MAX]
static AP_SerialManager serial_manager
AP_Beacon_Pozyx(AP_Beacon &frontend, AP_SerialManager &serial_manager)
AP_HAL::UARTDriver * uart
#define AP_BEACON_POZYX_MSG_LEN_MAX
enum AP_Beacon_Pozyx::ParseState parse_state