|
QGroundControl
Ground Control Station for MAVLink Drones
|
Frames printable ASCII lines. A '$' or '#' restarts the line, so a sentence or log is not lost after garbage. More...
#include <NMEAFramer.h>
Public Member Functions | |
| LineFramer (std::span< char > buffer) | |
| std::optional< std::string_view > | addByte (uint8_t byte) |
| Returns a completed line without its terminator; the view is valid until the next byte. | |
| void | reset () |
Frames printable ASCII lines. A '$' or '#' restarts the line, so a sentence or log is not lost after garbage.
Definition at line 95 of file NMEAFramer.h.
|
inlineexplicit |
Definition at line 98 of file NMEAFramer.h.
|
inline |
Returns a completed line without its terminator; the view is valid until the next byte.
Definition at line 103 of file NMEAFramer.h.
References reset().
|
inline |
Definition at line 144 of file NMEAFramer.h.
Referenced by addByte().