Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sdancer75 opened this issue Oct 10, 2019 · 3 comments
Open

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

sdancer75 opened this issue Oct 10, 2019 · 3 comments

Comments

@sdancer75
Copy link

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
Copy link
Owner

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
Copy link
Author

sdancer75 commented Oct 10, 2019

Hi,

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

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

@SivertHavso
Copy link

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:

if ( sentence.IsChecksumBad( 9 ) == NMEA0183_BOOLEAN::True )
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants