SELKIELogger
1.0.0
|
Internal representation of a UBX message. More...
#include <GPSTypes.h>
Public Attributes | |
uint8_t | sync1 |
Should always be 0xB5. | |
uint8_t | sync2 |
Should always be 0x62. | |
uint8_t | msgClass |
A value from ubx_class. | |
uint8_t | msgID |
Message ID byte. | |
uint16_t | length |
Message length. | |
uint8_t | data [256] |
Data if length <= 256. | |
uint8_t | csumA |
Checksum part A. | |
uint8_t | csumB |
Checksum part B. | |
uint8_t * | extdata |
Internal representation of a UBX message.
All messages must start with two sync bytes: 0xB5 0x62
Short messages are stored in the data array, larger messages will be stored at the location pointed to by the extdata member.
If extdata is set, it must be explicitly freed when message is disposed of.
Definition at line 80 of file GPSTypes.h.
uint8_t* ubx_message::extdata |
If length > 256, this points to allocated data array of correct length
Definition at line 89 of file GPSTypes.h.