Class NmeaSentenceProcessor
An engine that processes NMEA GPS/GNSS sentences by calling the appropriate decoder and handing them off. Note that it's designed to be asynchronous because certain messages (like $GPGSV/Satellites in View) need to be
This introduction describes the published Meadow 2.5.0 API. The production reference below is generated from that release.
API Reference
Class NmeaSentenceProcessor
An engine that processes NMEA GPS/GNSS sentences by calling the appropriate decoder and handing them off. Note that it's designed to be asynchronous because certain messages (like $GPGSV/Satellites in View) need to be processed together in order to make sense.
Assembly: NmeaProcessor.dll
View Source
Declaration
public class NmeaSentenceProcessor
Properties
DebugMode
Enable / disable debug mode
View Source
Declaration
public bool DebugMode { get; set; }
Methods
RegisterDecoder(INmeaDecoder)
Add a new NMEA decoder to the GPS
View Source
Declaration
public void RegisterDecoder(INmeaDecoder decoder)
Parameters
| Type | Name | Description |
|---|---|---|
| Meadow.Foundation.Sensors.Location.Gnss.INmeaDecoder | decoder | NMEA decoder |
ProcessNmeaMessage(string)
GPS message ready for processing
View Source
Declaration
public void ProcessNmeaMessage(string line)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | line | GPS text for processing |