NDEVR
API Documentation
CNMEASentenceGGA

NMEA sentence reader for GGA (Global Positioning System Fix Data) sentences, extracting position, altitude, fix quality, and satellite count. More...

Inheritance diagram for CNMEASentenceGGA:
[legend]
Collaboration diagram for CNMEASentenceGGA:
[legend]

Public Member Functions

virtual StringView name () const
 Returns the reader name.
virtual NMEAUpdateInfo processRxCommand (const StringView &command, const StringView &data, NMEAInfo &info) final override
 Processes a GGA sentence and updates the NMEA info.
Buffer< StringViewsupportedTypes () const override
 Returns the supported sentence types.

Additional Inherited Members

Public Attributes inherited from NMEASentenceReader
TimeSpan average_rx_rate = Constant<TimeSpan>::Invalid
 Average time between received messages.
uint04 count = 0
 Total number of messages processed.
Time last_rx_time = Constant<Time>::Invalid
 Time of the last received message.
Protected Member Functions inherited from NMEASentenceReader
void onMessageReceived ()
 Updates receive timing statistics after processing a message.
Protected Attributes inherited from NMEASentenceReader
Buffer< StringViewm_sentence_parts
 Temporary storage for parsed sentence fields.

Detailed Description

NMEA sentence reader for GGA (Global Positioning System Fix Data) sentences, extracting position, altitude, fix quality, and satellite count.

Definition at line 41 of file NMEASentenceGGA.h.

Member Function Documentation

◆ name()

virtual StringView CNMEASentenceGGA::name ( ) const
inlinevirtual

Returns the reader name.

Returns
"GGA".

Implements NMEASentenceReader.

Definition at line 55 of file NMEASentenceGGA.h.

◆ processRxCommand()

virtual NMEAUpdateInfo CNMEASentenceGGA::processRxCommand ( const StringView & command,
const StringView & data,
NMEAInfo & info )
finaloverridevirtual

Processes a GGA sentence and updates the NMEA info.

Parameters
[in]commandThe NMEA command type.
[in]dataThe sentence data payload.
[in]infoThe NMEA info structure to update.
Returns
Update information describing what changed.

Implements NMEASentenceReader.

◆ supportedTypes()

Buffer< StringView > CNMEASentenceGGA::supportedTypes ( ) const
overridevirtual

Returns the supported sentence types.

Returns
A buffer containing "GGA" variants.

Implements NMEASentenceReader.


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