Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
|
Namespaces | |
namespace | crc |
Parser NOV_B routines and types. | |
namespace | fpa |
Parser FP_A routines and types. | |
namespace | fpb |
Parser FP_B routines and types. | |
namespace | nmea |
Parser NMEA routines and types. | |
namespace | novb |
Parser NOV_B routines and types. | |
namespace | rtcm3 |
Parser RTCM3 routines and types. | |
namespace | spartn |
Parser SPARTN routines and types. | |
namespace | ubx |
Parser UBX routines and types. | |
namespace | unib |
Parser UNI_B routines and types. | |
Classes | |
class | Parser |
Message parser class. More... | |
struct | ParserMsg |
Message frame output by the Parser. More... | |
struct | ParserStats |
Parser statistics. More... | |
Enumerations | |
enum class | Protocol : int { FP_A = 1 , FP_B , NMEA , UBX , RTCM3 , UNI_B , NOV_B , SPARTN , OTHER } |
Protocols (message types), see also Protocol and message naming. More... | |
Functions | |
const char * | ProtocolStr (const Protocol proto) |
Stringify Protocol. | |
Protocol | StrProtocol (const char *name) |
Get Protocol from name. | |
Variables | |
Protocol names | |
static constexpr const char * | PROTOCOL_NAME_FP_A = "FP_A" |
Name (label) for Protocol::FP_A. | |
static constexpr const char * | PROTOCOL_NAME_FP_B = "FP_B" |
Name (label) for Protocol::FP_B. | |
static constexpr const char * | PROTOCOL_NAME_NMEA = "NMEA" |
Name (label) for Protocol::NMEA. | |
static constexpr const char * | PROTOCOL_NAME_UBX = "UBX" |
Name (label) for Protocol::UBX. | |
static constexpr const char * | PROTOCOL_NAME_RTCM3 = "RTCM3" |
Name (label) for Protocol::RTCM3. | |
static constexpr const char * | PROTOCOL_NAME_UNI_B = "UNI_B" |
Name (label) for Protocol::UNI_B. | |
static constexpr const char * | PROTOCOL_NAME_NOV_B = "NOV_B" |
Name (label) for Protocol::NOV_B. | |
static constexpr const char * | PROTOCOL_NAME_SPARTN = "SPARTN" |
Name (label) for Protocol::SPARTN. | |
static constexpr const char * | PROTOCOL_NAME_OTHER = "OTHER" |
Name (label) for Protocol::OTHER. | |
Parser constraints | |
static constexpr std::size_t | MAX_ADD_SIZE = 32 * 1024 |
Max size for Parser::Add() that is guaranteed to work. | |
static constexpr std::size_t | MAX_NAME_SIZE = 100 |
Maximum size of message name string (incl. nul termination) | |
static constexpr std::size_t | MAX_INFO_SIZE = 400 |
Maximum size of message info string (incl. nul termination) | |
static constexpr std::size_t | MAX_FP_A_SIZE = 400 |
Maximum FP_A message size (must be the same as MAX_NMEA_SIZE) | |
static constexpr std::size_t | MAX_FP_B_SIZE = 4096 |
Maximum FP_B message size. | |
static constexpr std::size_t | MAX_NMEA_SIZE = 400 |
Maximum NMEA message size (standard NMEA would be 82!) | |
static constexpr std::size_t | MAX_UBX_SIZE = 4096 |
Maximum UBX message size. | |
static constexpr std::size_t | MAX_RTCM3_SIZE = 1028 |
Maximum RTCM3 message size. | |
static constexpr std::size_t | MAX_SPARTN_SIZE = 1110 |
Maximum SPARTN message size. | |
static constexpr std::size_t | MAX_NOV_B_SIZE = 4096 |
Maximum NOV_B message size. | |
static constexpr std::size_t | MAX_UNI_B_SIZE = 4096 |
Maximum UNI_B message size. | |
static constexpr std::size_t | MAX_OTHER_SIZE = 256 |
Maximum OTHER message size. | |
static constexpr std::size_t | MAX_ANY_SIZE |
The largest of the above. | |
static constexpr std::size_t | MIN_ANY_SIZE |
The smallest of the above. | |
|
strong |
Protocols (message types), see also Protocol and message naming.
Enumerator | |
---|---|
FP_A | FP_A (Fixposition proprietary ASCII) (PROTOCOL_NAME_FP_A) |
FP_B | FP_B (Fixposition proprietary binary) (PROTOCOL_NAME_FP_B) |
NMEA | NMEA (PROTOCOL_NAME_NMEA) |
UBX | UBX (u-blox proprietary binary) (PROTOCOL_NAME_UBX) |
RTCM3 | RTCM3 (PROTOCOL_NAME_RTCM3) |
UNI_B | UNI_B (Unicore proprietary binary) (PROTOCOL_NAME_UNI_B) |
NOV_B | NOV_B (NovAtel proprietary binary, long or short header) (PROTOCOL_NAME_NOV_B) |
SPARTN | SPARTN (PROTOCOL_NAME_SPARTN) |
OTHER | Other "message" (unknown or corrupt message, spurious data, line noise, ...) (PROTOCOL_NAME_OTHER) |
const char * fpsdk::common::parser::ProtocolStr | ( | const Protocol | proto | ) |
Stringify Protocol.
[in] | proto | The protocol |
Protocol fpsdk::common::parser::StrProtocol | ( | const char * | name | ) |
Get Protocol from name.
[in] | name | The protocol name |
|
staticconstexpr |
Name (label) for Protocol::FP_A.
|
staticconstexpr |
Name (label) for Protocol::FP_B.
|
staticconstexpr |
Name (label) for Protocol::NMEA.
|
staticconstexpr |
Name (label) for Protocol::UBX.
|
staticconstexpr |
Name (label) for Protocol::RTCM3.
|
staticconstexpr |
Name (label) for Protocol::UNI_B.
|
staticconstexpr |
Name (label) for Protocol::NOV_B.
|
staticconstexpr |
Name (label) for Protocol::SPARTN.
|
staticconstexpr |
Name (label) for Protocol::OTHER.
|
staticconstexpr |
Max size for Parser::Add() that is guaranteed to work.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
The largest of the above.
|
staticconstexpr |
The smallest of the above.