Nmea C#
Nmea C#
com/ucnl/UCNLNMEA
GPL-3.0 license
1 of 19 08/12/2023, 14:30
View code
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
3 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
4 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
5 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
6 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
7 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
8 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
9 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
UCNLNMEA
Releases 2
+ 1 release
This repository is a supported version of a library I posted back in 2011 at
CodeProject
The library is able to parse and build any NMEA0183-sentences. Common used
standard sentences are supported 'from the box'.
10 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
No packagesAdd
published
UCNLNMEA to your project's references list.
Add a propriate using declaration: using UCNLNMEA;
Contributors 2
List of supported standard sentences
AlekUnderwater Aleksandr
Sentence ID Description
stolzkc Kirill
AAM Waypoint Arrival Alarm
DPT Depth
11 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
Sentence ID Description
12 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
Sentence ID Description
RPM Revolutions
RTE Routes
13 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
Sentence ID Description
Talker ID Description
AG Autopilot - General
AP Autopilot - Magnetic
CS Communications - Sattelite
DF Direction Finder
GA Gallileo
GB BeiDou
GL GLONASS
14 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
Talker ID Description
II Integrated instrumentation
IN Integrated Navigation
LC Loran C
P Proprietary Code
SD Sounder, Depth
SS Souder, Scanning
WI Weather Instruments
YX Transduser
ZC Timekeeper - Chronometer
ZQ Timekeeper - Quartz
15 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
16 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
{
DateTime.Now, // UTC time
"Valid", // Time is valid
lat, "N", // Position latitude, degrees
lon, "E", // Position longitude, degrees
speedKmh.Value / 0.5144, // Speed
null, // track true
DateTime.Now, // UTC date
null, // magnetic variation
null, // magnetic variation direction
"D", // Positioning system mode indicator, D =
differential
});
NMEAParser.AddManufacturerToProprietarySentencesBase(ManufacturerCodes.UWV);
// Add new entry to proprietary sentences descriptor
17 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
After the call, uwv0_sentence will has value " $PUWV0,12345,3.1415,this is a string
parameter,0x010203040506070809*51\r\n "
if (pResult is NMEAProprietarySentence)
{
var prop_sentence = (pResult as NMEAProprietarySentence);
18 of 19 08/12/2023, 14:30
GitHub - ucnl/UCNLNMEA: NMEA 0183 protocol support library https://github.com/ucnl/UCNLNMEA
double_parameter = (double)prop_sentence.parameters[1];
string_parameter = (string)prop_sentence.parameters[2];
byte_array_parameter = (byte[])prop_sentence.parameters[3];
}
19 of 19 08/12/2023, 14:30