SharpGIS.NmeaParser 1.10.0

An NMEA stream parser for serial port, bluetooth and file-based nmea simulation.

Install-Package SharpGIS.NmeaParser -Version 1.10.0
dotnet add package SharpGIS.NmeaParser --version 1.10.0
<PackageReference Include="SharpGIS.NmeaParser" Version="1.10.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpGIS.NmeaParser --version 1.10.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Nmea Parser

Library for reading and parsing NMEA data message streams.
It makes it easy to connect and listen for NMEA messages coming from various devices in Windows Store, Windows Phone, Windows Desktop/.NET and Windows Universal apps as well as Xamarin for iOS and Android.

The following inputs are supported:

  • System.IO.Stream (all platforms)
  • Emulation from NMEA log file (all platforms)
  • Bluetooth: Windows Universal. Desktop is supported using the bluetooth device via the SerialPortDevice.
  • Serial Device: Windows Desktop and Windows Universal.

Currently supported NMEA messages:

  • GPS: GPBOD, GPGGA, GPGLL, GPGNS, GPGSA, GPGST, GPGSV, GPRMB, GPRMC, GPRTE
  • GLONASS: GLGNS, GLGSV
  • GALILEO: GAGSV
  • Generic GNSS: GNGGA, GNGLL, GNGNS, GNGSA, GNGST, GNRMC
  • Garmin GPS NMEA (PGRME, PGRMZ)
  • Trimble Laser Range Finder (PTNLA, PTNLB)
  • TruePulse Laser Range Finder (PLTIT)

The API is easily extensible with more NMEA messages. Simply create a new class inheriting from "NmeaMessage" and use the NmeaMessageType Attribute to tag it with the NMEA Message Token it supports.

Example:

[NmeaMessageType("GPRMC")]
public class Gprmc : NmeaMessage
{
	protected override void LoadMessage(string[] message)
	{
		//TODO: Process message parts
	}
}

If you add new messages, please fork, provide a simple unit test for the message and submit a pull request.

NuGet

You can get the library via NuGet if you have the extension installed for Visual Studio or via the PowerShell package manager. This control is published via NuGet at SharpGIS.NmeaParser.

<table border="4px">
<tr><td>
<code>PM&gt; Install-Package SharpGIS.NmeaParser</code>
</td></tr></table>

Usage

Please see the WIKI how to use it on the various platforms

Screenshots

Screenshots from Desktop sample app:

sampleapp2
sampleapp3

Map view using the ArcGIS Runtime (see separate branch):
sampleapp1

Nmea Parser

Library for reading and parsing NMEA data message streams.
It makes it easy to connect and listen for NMEA messages coming from various devices in Windows Store, Windows Phone, Windows Desktop/.NET and Windows Universal apps as well as Xamarin for iOS and Android.

The following inputs are supported:

  • System.IO.Stream (all platforms)
  • Emulation from NMEA log file (all platforms)
  • Bluetooth: Windows Universal. Desktop is supported using the bluetooth device via the SerialPortDevice.
  • Serial Device: Windows Desktop and Windows Universal.

Currently supported NMEA messages:

  • GPS: GPBOD, GPGGA, GPGLL, GPGNS, GPGSA, GPGST, GPGSV, GPRMB, GPRMC, GPRTE
  • GLONASS: GLGNS, GLGSV
  • GALILEO: GAGSV
  • Generic GNSS: GNGGA, GNGLL, GNGNS, GNGSA, GNGST, GNRMC
  • Garmin GPS NMEA (PGRME, PGRMZ)
  • Trimble Laser Range Finder (PTNLA, PTNLB)
  • TruePulse Laser Range Finder (PLTIT)

The API is easily extensible with more NMEA messages. Simply create a new class inheriting from "NmeaMessage" and use the NmeaMessageType Attribute to tag it with the NMEA Message Token it supports.

Example:

[NmeaMessageType("GPRMC")]
public class Gprmc : NmeaMessage
{
	protected override void LoadMessage(string[] message)
	{
		//TODO: Process message parts
	}
}

If you add new messages, please fork, provide a simple unit test for the message and submit a pull request.

NuGet

You can get the library via NuGet if you have the extension installed for Visual Studio or via the PowerShell package manager. This control is published via NuGet at SharpGIS.NmeaParser.

<table border="4px">
<tr><td>
<code>PM&gt; Install-Package SharpGIS.NmeaParser</code>
</td></tr></table>

Usage

Please see the WIKI how to use it on the various platforms

Screenshots

Screenshots from Desktop sample app:

sampleapp2
sampleapp3

Map view using the ArcGIS Runtime (see separate branch):
sampleapp1

Release Notes

Added SystemNmeaDevice to the Android library, which uses the NMEA stream from the system's location provider.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.10.0 8,806 3/29/2018
1.9.0 1,773 12/21/2017
1.8.0 382 12/21/2017
1.7.0 326 12/12/2017
1.6.1 1,724 3/7/2017
1.6.0 1,108 6/6/2016
1.5.1 2,748 3/21/2015
1.4.1 1,117 11/15/2014
1.3.1 479 10/8/2014
1.2.0 372 10/7/2014
1.1.0 374 7/31/2014
1.0.0 392 7/31/2014