|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <rtcm.h>
Public Member Functions | |
| RTCMParsing () | |
| ~RTCMParsing () | |
| void | reset () |
| reset the parsing state More... | |
| bool | addByte (uint8_t b) |
| add a byte to the message More... | |
| uint8_t * | message () const |
| uint16_t | messageLength () const |
Private Attributes | |
| uint8_t * | _buffer {nullptr} |
| uint16_t | _buffer_len {} |
| uint16_t | _pos {} |
| next position in buffer More... | |
| uint16_t | _message_length {} |
| message length without header & CRC (both 3 bytes) More... | |
| RTCMParsing::RTCMParsing | ( | ) |
| bool RTCMParsing::addByte | ( | uint8_t | b | ) |
add a byte to the message
| b |
Definition at line 60 of file rtcm.cpp.
References _buffer, _buffer_len, _message_length, and _pos.
Referenced by GPSDriverAshtech::parseChar(), GPSDriverSBF::parseChar(), and GPSDriverUBX::parseChar().
|
inline |
Definition at line 61 of file rtcm.h.
References _buffer.
Referenced by GPSDriverAshtech::parseChar(), GPSDriverSBF::parseChar(), and GPSDriverUBX::parseChar().
|
inline |
Definition at line 62 of file rtcm.h.
References _pos.
Referenced by GPSDriverAshtech::parseChar(), GPSDriverSBF::parseChar(), and GPSDriverUBX::parseChar().
| void RTCMParsing::reset | ( | ) |
reset the parsing state
Definition at line 49 of file rtcm.cpp.
References _buffer, _buffer_len, _message_length, _pos, and RTCM_INITIAL_BUFFER_LENGTH.
Referenced by GPSDriverAshtech::decodeInit(), GPSDriverSBF::decodeInit(), GPSDriverUBX::decodeInit(), and RTCMParsing().
|
private |
|
private |
|
private |
|
private |
next position in buffer
Definition at line 67 of file rtcm.h.
Referenced by addByte(), messageLength(), and reset().