NDEVR
API Documentation
CNMEASentenceGSV

NMEA sentence reader for GSV (GNSS Satellites in View) sentences, extracting satellite elevation, azimuth, and signal-to-noise ratio data. More...

Inheritance diagram for CNMEASentenceGSV:
[legend]
Collaboration diagram for CNMEASentenceGSV:
[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 GSV sentence and updates the NMEA info.
void setPRNSubtraction (uint04 subtraction)
 Sets a PRN subtraction offset for constellation-specific numbering.
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 GSV (GNSS Satellites in View) sentences, extracting satellite elevation, azimuth, and signal-to-noise ratio data.

Definition at line 38 of file NMEASentenceGSV.h.

Member Function Documentation

◆ name()

virtual StringView CNMEASentenceGSV::name ( ) const
inlinevirtual

Returns the reader name.

Returns
"GSV".

Implements NMEASentenceReader.

Definition at line 52 of file NMEASentenceGSV.h.

◆ processRxCommand()

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

Processes a GSV 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.

◆ setPRNSubtraction()

void CNMEASentenceGSV::setPRNSubtraction ( uint04 subtraction)
inline

Sets a PRN subtraction offset for constellation-specific numbering.

Parameters
[in]subtractionThe PRN offset to subtract.

Definition at line 55 of file NMEASentenceGSV.h.

◆ supportedTypes()

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

Returns the supported sentence types.

Returns
A buffer containing "GSV" variants.

Implements NMEASentenceReader.


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