lbandrtk 2.1.0.0
|
LBAND RTK Click UBX frame union object. More...
#include <lbandrtk.h>
Data Fields | ||
uint8_t | data_buf [LBANDRTK_MAX_PAYLOAD_LEN+8] | |
struct { | ||
uint16_t header | ||
uint8_t class_id | ||
uint8_t msg_id | ||
uint16_t payload_len | ||
uint8_t payload [LBANDRTK_MAX_PAYLOAD_LEN+2] | ||
}; | ||
LBAND RTK Click UBX frame union object.
UBX frame union object definition of LBAND RTK Click driver.
struct { ... } |
uint8_t class_id |
1-byte message class field. A class is a group of messages that are related to each other.
uint8_t data_buf[LBANDRTK_MAX_PAYLOAD_LEN+8] |
uint16_t header |
Every frame starts with a 2-byte preamble consisting of two synchronization characters: 0xB5 and 0x62.
uint8_t msg_id |
1-byte message ID field defines the message that is to follow.
uint8_t payload[LBANDRTK_MAX_PAYLOAD_LEN+2] |
The payload field contains a variable number (= payload_len) of bytes. A 2 checksum bytes are appended to the payload buffer.
uint16_t payload_len |
2-byte length field. The length is defined as being that of the payload only.