NmeaParser/docs/concepts/index.md
Morten Nielsen 52b90b2f45 Revert "Move the docs folder to docfx"
This reverts commit d8be33581d.
2020-01-19 18:50:47 -08:00

1 KiB

Getting started:

1. Install from 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.

PM> Install-Package SharpGIS.NmeaParser

2. Create a new device:

 // Create one of the NMEA devices
 var device = new NmeaFileDevice("PathToNmeaLogFile.txt", 1000);
 // Listen to messages from the device: 
 device.MessageReceived += device_NmeaMessageReceived;
 // Open the device and start receiving:
 device.OpenAsync();

 // Create event handler for receiving messages:
 private void device_NmeaMessageReceived(NmeaDevice sender, NmeaMessageReceivedEventArgs args)
 {
    // called when a message is received
 }

See the Platform specific device creation section in the menu for more specifics on device creation.

3. Browse the API Reference