Git Product home page Git Product logo

nmea0183's Introduction

NMEA0183

C++ class to parse NMEA0183 sentences

Written many years ago... Designed to be easy to reuse. Simply delete the sentence objects you don't want to parse.

nmea0183's People

Contributors

sammyb428 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nmea0183's Issues

Is that compatible with newer GPS receivers of today ?

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

GVS parsing causes crash, RMC fails checksum validation for NMEA 0183 3.x sentences

I'm not sure if this library indicates which version of the NMEA 0183 standard that it's built against, however it appears to be a 2.x version. If you'd like to use this library with 3.x standard sentences here are a couple issues I ran into and how to fix it.

The GVS sentence parser can only handle 12 satellites using 3 sentences. The NMEA standard (3.01) indicates 9 sentences are supported for up to 36 satellites. This will cause a crash in the parser for GVS sentences reporting more than 12 satellites. The fix is to increase the array size from 12 to 36 in GSV.HPP.

The RMC message fails the checksum evaluation because it's not referencing the checksum field in the sentence. Field 12 is the Mode Indicator field (per the 3.01 standard) and field 13 is used as the checksum. The fix is to pass 13 instead of 12 into the sentence.IsChecksumBad() method call in RMC.CPP.

I'm sure there may be issues with other sentences but these are the only sentences where I've noticed issues.
Cheers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.