QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
UBXMessageSchema.h File Reference
#include <array>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <span>
#include <tuple>
#include "GPSProtocolMath.h"
#include "UBX/UBXFrame.h"
#include "WireFields.h"
+ Include dependency graph for UBXMessageSchema.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UBX::NavHpposllh
 
struct  UBX::NavDop
 
struct  UBX::NavPvt
 
struct  UBX::NavStatus
 
struct  UBX::NavSvin
 
struct  UBX::NavSat
 
struct  UBX::NavSatSatellite
 
struct  UBX::NavSvinfo
 
struct  UBX::NavSvinfoChannel
 
struct  UBX::MonHw
 MON-HW of u-blox 7 and later; protocol 27 deprecates it for MON-RF. More...
 
struct  UBX::MonRfBlock
 
struct  UBX::MonRf
 MON-RF with its first RF block; F9P reports two blocks and X20 three. More...
 
struct  UBX::SecSig
 SEC-SIG header: v2 and v3 flags, or v1 jamFlags; the per-band groups that follow are not read. More...
 
struct  UBX::MonVer
 
struct  UBX::MonVerExtension
 
struct  UBX::Ack
 ACK-ACK and ACK-NAK. More...
 
struct  UBX::CfgPrt
 
struct  UBX::CfgRate
 
struct  UBX::CfgNav5
 
struct  UBX::CfgMsg
 
struct  UBX::CfgMsgRates
 A CFG-MSG poll reply: the message's output rate on each I/O port. More...
 
struct  UBX::CfgTmode3
 
struct  Wire::Layout< UBX::NavHpposllh >
 
struct  Wire::Layout< UBX::NavDop >
 
struct  Wire::Layout< UBX::NavPvt >
 
struct  Wire::Layout< UBX::NavStatus >
 
struct  Wire::Layout< UBX::NavSvin >
 
struct  Wire::Layout< UBX::NavSat >
 
struct  Wire::Layout< UBX::NavSatSatellite >
 
struct  Wire::Layout< UBX::NavSvinfo >
 
struct  Wire::Layout< UBX::NavSvinfoChannel >
 
struct  Wire::Layout< UBX::MonHw >
 
struct  Wire::Layout< UBX::MonRfBlock >
 
struct  Wire::Layout< UBX::MonRf >
 
struct  Wire::Layout< UBX::SecSig >
 
struct  Wire::Layout< UBX::MonVer >
 
struct  Wire::Layout< UBX::MonVerExtension >
 
struct  Wire::Layout< UBX::Ack >
 
struct  Wire::Layout< UBX::CfgPrt >
 
struct  Wire::Layout< UBX::CfgRate >
 
struct  Wire::Layout< UBX::CfgNav5 >
 
struct  Wire::Layout< UBX::CfgMsg >
 
struct  Wire::Layout< UBX::CfgMsgRates >
 
struct  Wire::Layout< UBX::CfgTmode3 >
 
struct  UBX::MessageSchema
 

Namespaces

namespace  UBX
 u-blox receivers over UBX: CFG-VALSET configuration from protocol 27, CFG-MSG and CFG-TMODE3 before it.
 
namespace  Wire
 

Functions

double UBX::coordinateDegrees (int32_t value, int64_t limitDegrees)
 
double UBX::latitudeDegrees (int32_t value)
 
double UBX::longitudeDegrees (int32_t value)
 
template<typename T >
constexpr MessageSchema UBX::fixedSchema (int towOffset=-1)
 
template<typename Header , typename Block >
constexpr MessageSchema UBX::repeatedSchema (MessageId message, size_t maximumBlocks)
 
constexpr const MessageSchema * UBX::messageSchema (uint16_t message)
 
bool UBX::validPayload (uint16_t message, std::span< const uint8_t > payload, const MessageSchema *schema)
 

Variables

template<Wire::Record T>
constexpr size_t UBX::WIRE_SIZE = Wire::SIZE<T>
 
constexpr size_t UBX::MAX_CONTROL_PAYLOAD_SIZE = 328
 
constexpr float UBX::DOP_PER_UNIT = 0.01f
 
constexpr std::array UBX::MESSAGE_SCHEMAS