Class GllDecoder
Process GLL (Geographic position Latitude / Longitude) messages from a GPS receiver.
Assembly: NmeaProcessor.dll
View Source
Declaration
public class GllDecoder : INmeaDecoder, IGnssPositionEventSource
Implements:
Meadow.Foundation.Sensors.Location.Gnss.INmeaDecoder
Properties
Prefix
Prefix for the GLL (Geographic position Latitude / Longitude) decoder.
View Source
Declaration
public string Prefix { get; }
Name
Friendly name for the GLL messages.
View Source
Declaration
public string Name { get; }
Methods
Process(string)
Process a GPRMC sentence string
View Source
Declaration
public void Process(string sentence)
Parameters
Type | Name | Description |
---|---|---|
System.String | sentence | The sentence |
Process(NmeaSentence)
Process the data from a GLL message.
View Source
Declaration
public void Process(NmeaSentence sentence)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Peripherals.Sensors.Location.Gnss.NmeaSentence | sentence | String array of the message components for a GLL message. |
Events
PositionReceived
Raised when position data is received
View Source
Declaration
public event EventHandler<GnssPositionInfo>? PositionReceived
Event Type
System.EventHandler<Meadow.Peripherals.Sensors.Location.Gnss.GnssPositionInfo>