Skip to main content

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
public class NmeaSentenceProcessor

Properties

DebugMode

Enable / disable debug mode

View Source
public bool DebugMode { get; set; }

Methods

RegisterDecoder(INmeaDecoder)

Add a new NMEA decoder to the GPS

View Source
public void RegisterDecoder(INmeaDecoder decoder)
Parameters
TypeNameDescription
Meadow.Foundation.Sensors.Location.Gnss.INmeaDecoderdecoderNMEA decoder

ProcessNmeaMessage(string)

GPS message ready for processing

View Source
public void ProcessNmeaMessage(string line)
Parameters
TypeNameDescription
System.StringlineGPS text for processing