QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
SBFBlocks.h File Reference
#include <cstddef>
#include <cstdint>
#include <optional>
#include <span>
#include <tuple>
#include "Checksums.h"
#include "WireFields.h"
+ Include dependency graph for SBFBlocks.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SBF::BlockHeader
 Starts every block. The CRC covers id through the end of the block; length counts the whole block. More...
 
struct  SBF::PVTGeodetic
 
struct  Wire::Layout< SBF::BlockHeader >
 
struct  Wire::Layout< SBF::PVTGeodetic >
 

Namespaces

namespace  SBF
 Septentrio receivers configured as RTK bases with SBF commands; they stream PVTGeodetic blocks and RTCM3.
 
namespace  SBF::BlockId
 
namespace  Wire
 

Functions

std::optional< BlockHeader > SBF::checkedHeader (std::span< const uint8_t > block)
 The header of a block candidate whose length fits the candidate and whose CRC matches; nullopt otherwise.
 

Variables

constexpr uint8_t SBF::SYNC1 = 0x24
 
constexpr uint8_t SBF::SYNC2 = 0x40
 
constexpr uint16_t SBF::BlockId::PVT_GEODETIC = 4007