|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <RTCMParser.h>
Public Member Functions | |
| RTCMParser () | |
| void | reset () |
| bool | addByte (uint8_t byte) |
| uint8_t * | message () |
| uint16_t | messageLength () const |
| uint16_t | messageId () const |
| const uint8_t * | crcBytes () const |
| bool | validateCrc () const |
Static Public Member Functions | |
| static uint32_t | crc24q (const uint8_t *data, size_t len) |
Static Public Attributes | |
| static constexpr int | kCrcSize = 3 |
Definition at line 8 of file RTCMParser.h.
| RTCMParser::RTCMParser | ( | ) |
Definition at line 3 of file RTCMParser.cc.
References reset().
| bool RTCMParser::addByte | ( | uint8_t | byte | ) |
Definition at line 17 of file RTCMParser.cc.
References kCrcSize, reset(), and RTCM3_PREAMBLE.
|
static |
Definition at line 70 of file RTCMParser.cc.
Referenced by validateCrc().
|
inline |
Definition at line 17 of file RTCMParser.h.
|
inline |
Definition at line 14 of file RTCMParser.h.
| uint16_t RTCMParser::messageId | ( | ) | const |
Definition at line 62 of file RTCMParser.cc.
|
inline |
Definition at line 15 of file RTCMParser.h.
| void RTCMParser::reset | ( | ) |
Definition at line 8 of file RTCMParser.cc.
Referenced by addByte(), and RTCMParser().
| bool RTCMParser::validateCrc | ( | ) | const |
Definition at line 86 of file RTCMParser.cc.
References crc24q().
|
staticconstexpr |
Definition at line 18 of file RTCMParser.h.
Referenced by addByte().