Class GsvDecoder
Process the Satellites in view messages from a GPS module.
Assembly: NmeaProcessor.dll
View Source
Declaration
public class GsvDecoder : INmeaDecoder
Implements:
Meadow.Foundation.Sensors.Location.Gnss.INmeaDecoder
Properties
Prefix
Get the prefix for the decoder.
View Source
Declaration
public string Prefix { get; }
Name
Get the friendly (human readable) name for the decoder.
View Source
Declaration
public string Name { get; }
Fields
_satellites
List of satellites.
View Source
Declaration
protected Satellite[]? _satellites
Methods
Process(NmeaSentence)
Process the message from the GPS.
View Source
Declaration
public void Process(NmeaSentence sentence)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Peripherals.Sensors.Location.Gnss.NmeaSentence | sentence | String array of the elements of the message. |
Events
SatellitesInViewReceived
Event raised when valid GSV data is received.
View Source
Declaration
public event EventHandler<SatellitesInView> SatellitesInViewReceived
Event Type
System.EventHandler<Meadow.Peripherals.Sensors.Location.Gnss.SatellitesInView>