GNSS receiver tools
1
Tools for use with GNSS receivers
|
Namespaces | |
Ack | |
Cfg | |
Classes | |
struct | checksum_t |
class | ChecksumMismatch |
Exception class for when checksums don't match. More... | |
class | Input_message |
Base class for messages that go to the GPS receiver. More... | |
class | Input_Output_message |
Base class for messages than be both sent and received. More... | |
class | Message |
Base class for a binary message. More... | |
class | Output_message |
Base class for messages that come from the GPS receiver. More... | |
class | UnknownMessageID |
Exception class for when we can't find the message ID in our list. More... | |
Typedefs | |
typedef uint16_t | Length |
Type for the binary message length, limited to 64 KiB. More... | |
typedef std::function< Output_message::ptr(uint8_t *, Length)> | output_message_factory |
Enumerations | |
enum | GNSS_ID : uint8_t { GNSS_ID::GPS = 0, GNSS_ID::SBAS, GNSS_ID::Galileo, GNSS_ID::BeiDou, GNSS_ID::IMES, GNSS_ID::QZSS, GNSS_ID::GLONASS } |
enum | Class_ID : uint8_t { Class_ID::NAV = 1, Class_ID::RXM = 2, Class_ID::INF = 4, Class_ID::ACK = 5, Class_ID::CFG = 6, Class_ID::UPD = 9, Class_ID::MON = 10, Class_ID::AID = 11, Class_ID::TIM = 13, Class_ID::MGA = 19, Class_ID::LOG = 33 } |
enum | PortID : uint8_t { PortID::DDC = 0, PortID::I2C = 0, PortID::UART = 1, PortID::USB = 3, PortID::SPI = 4 } |
Functions | |
Output_message::ptr | parse_message (unsigned char *buffer, std::size_t len) |
Parser. More... | |
checksum_t | checksum (unsigned char *buffer, Length len) |
Variables | |
const uint8_t | SyncChar [2] = { 0xB5, 0x62 } |
const Length | SyncChar_len = 2 |
const Length | Length_len = 2 |
const Length | ClassID_len = 2 |
const Length | Checksum_len = 2 |
std::map< uint16_t, output_message_factory > | output_message_factories |
typedef uint16_t UBX::Length |
typedef std::function<Output_message::ptr(uint8_t*, Length)> UBX::output_message_factory |
|
strong |
|
strong |
|
strong |
checksum_t UBX::checksum | ( | unsigned char * | buffer, |
Length | len | ||
) |
Output_message::ptr UBX::parse_message | ( | unsigned char * | buffer, |
std::size_t | len | ||
) |
std::map<uint16_t, output_message_factory> UBX::output_message_factories |