NDEVR
API Documentation
CNMEASentenceGSA

NMEA sentence reader for GSA (GNSS DOP and Active Satellites) sentences, extracting dilution of precision and active satellite PRN numbers. More...

Inheritance diagram for CNMEASentenceGSA:
[legend]
Collaboration diagram for CNMEASentenceGSA:
[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 GSA 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 GSA (GNSS DOP and Active Satellites) sentences, extracting dilution of precision and active satellite PRN numbers.

Definition at line 50 of file NMEASentenceGSA.h.

Member Function Documentation

◆ name()

virtual StringView CNMEASentenceGSA::name ( ) const
inlinevirtual

Returns the reader name.

Returns
"GSA".

Implements NMEASentenceReader.

Definition at line 67 of file NMEASentenceGSA.h.

◆ processRxCommand()

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

Processes a GSA 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 > CNMEASentenceGSA::supportedTypes ( ) const
overridevirtual

Returns the supported sentence types.

Returns
A buffer containing "GSA" variants.

Implements NMEASentenceReader.


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