SammyB428 / NMEA0183

C++ class to parse 81 different NMEA0183 sentences
MIT License
36 stars 21 forks source link

Is that compatible with newer GPS receivers of today ? #1

Open sdancer75 opened 5 years ago

sdancer75 commented 5 years ago

Thanks for your C++ class, it very interesting.

I am new in the GPS World and I was looking for a clean and small solution for my project. My question is if this class is still compatible/working with newer GPS receivers which I think they now support the newer NMEA0183 protocol.

Trying a simple C++ application I found in the codeproject.com (Add GPS support to your desktop) I get "parse error" with this class library.

Best Regards, George

SammyB428 commented 5 years ago

INTERESTING! I haven't used it to talk to a GPS in a long time but I do find NMEA0183 data in my day job (computer forensics). Can you provide a sample of the data?

sdancer75 commented 5 years ago

Hi,

Check this out, it uses your c++ class library

https://www.codeproject.com/Articles/3459/Add-GPS-support-to-your-desktop

SivertHavso commented 2 years ago

I think the library is missing some newer NMEA0183 additions, and fail at parsing some sentences from newer receivers.

In NMEA0183 ver 2.3 and later, VTG sentences have their checksum in the 10th field, with a FAA mode indicator in field 9.

The following line: https://github.com/SammyB428/NMEA0183/blob/aacd564cd0996808072bde381ce8f1e14c49b044/VTG.CPP#L69 still assumes the checksum is in field 9 so will fail to parse VTG sentences ver 2.3 and above.

I've only encountered this with VTG sentences, but there may be other sentences with changes.