QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NMEA::Framer Class Reference

#include <NMEAFramer.h>

Public Member Functions

 Framer (std::span< uint8_t > buffer)
 
size_t addByte (uint8_t byte)
 
void reset ()
 

Detailed Description

Completes at the second uppercase checksum digit, without requiring a line ending. The caller owns the buffer; a completed frame remains there until the next frame starts.

Definition at line 15 of file NMEAFramer.h.

Constructor & Destructor Documentation

◆ Framer()

NMEA::Framer::Framer ( std::span< uint8_t >  buffer)
inlineexplicit

Definition at line 18 of file NMEAFramer.h.

Member Function Documentation

◆ addByte()

size_t NMEA::Framer::addByte ( uint8_t  byte)
inline

Definition at line 24 of file NMEAFramer.h.

References reset().

◆ reset()

void NMEA::Framer::reset ( )
inline

Definition at line 71 of file NMEAFramer.h.

Referenced by addByte().


The documentation for this class was generated from the following file: