SharpGIS.NmeaParser 1.9.0

.NET Standard 1.4 .NET Framework 4.5.1
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package SharpGIS.NmeaParser -Version 1.9.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package SharpGIS.NmeaParser --version 1.9.0
<PackageReference Include="SharpGIS.NmeaParser" Version="1.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharpGIS.NmeaParser --version 1.9.0
#r "nuget: SharpGIS.NmeaParser, 1.9.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SharpGIS.NmeaParser as a Cake Addin
#addin nuget:?package=SharpGIS.NmeaParser&version=1.9.0

// Install SharpGIS.NmeaParser as a Cake Tool
#tool nuget:?package=SharpGIS.NmeaParser&version=1.9.0

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> 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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid monoandroid50
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios xamarinios10
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SharpGIS.NmeaParser:

Package Downloads
NINA.Equipment

This assembly contains the Equipment components of N.I.N.A. to interact and connect to various types of astronomy equipment.

VertiGIS.Mobile

Create VertiGIS Mobile apps for Android, iOS, and UWP. Extend your apps with custom components, operations and services.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.2 8,885 1/3/2022
2.2.0 10,631 2/16/2021
2.1.0 5,615 8/28/2020
2.0.0 15,529 1/20/2020
2.0.0-beta1 353 1/17/2020
1.10.0 26,781 3/29/2018
1.9.0 3,600 12/21/2017
1.8.0 958 12/21/2017
1.7.0 872 12/12/2017
1.6.1 2,443 3/7/2017
1.6.0 1,690 6/6/2016
1.5.1 4,864 3/21/2015
1.4.1 1,695 11/15/2014
1.3.1 983 10/8/2014
1.2.0 888 10/7/2014
1.1.0 889 7/31/2014
1.0.0 932 7/31/2014

Added new GLONASS and GALILEO. Moved more GPS message to abstract base classes for better handling of multiple satelitte constellations.