QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NMEA::Frame Struct Reference

Views into a single wire frame; the caller owns the backing bytes. More...

#include <NMEASentence.h>

Public Member Functions

bool hasValidChecksum () const
 

Public Attributes

std::string_view body
 
std::string_view checksum
 

Detailed Description

Views into a single wire frame; the caller owns the backing bytes.

Definition at line 174 of file NMEASentence.h.

Member Function Documentation

◆ hasValidChecksum()

bool NMEA::Frame::hasValidChecksum ( ) const

Definition at line 86 of file NMEASentence.cc.

References body, NMEA::checksum(), checksum, NMEA::CHECKSUM_DIGITS, and NMEA::hexNumber().

Member Data Documentation

◆ body

std::string_view NMEA::Frame::body

Definition at line 176 of file NMEASentence.h.

Referenced by hasValidChecksum().

◆ checksum

std::string_view NMEA::Frame::checksum

Definition at line 177 of file NMEASentence.h.

Referenced by hasValidChecksum().


The documentation for this struct was generated from the following files: