Skip to content

bryopsida/DotnetNMEA

Repository files navigation

DotnetNMEA

NMEA parsing library

Supported NMEA 0183 Sentences

Sentence Type Full Support Partial Support
GGA ✔️
RMC ✔️
GLL ✔️
GSA ✔️
GSV ✔️

Example Usage

INMEA0183Parser parser = new NMEA0183Parser();

ReadOnlySpan<char> exampleMessage = 
    "$GPRMC,215236.000,A,2006.5938,N,09844.6060,W,0.38,343.75,150919,,,A*70";

switch(mess.Type)
{
    case MessageType.RMC:
    RMCMessage mess = parser.Parse(exampleMessage) as RMCMessage;
    //do something with message
    break;
}

Help Wanted

Device access for testing has been limited so if you have additional NMEA message examples that are not currently supported please submit an issue containing the message string. Pull requests, suggestions, and requests are always welcome.