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

Update VTG parsing for NMEA0183 version 2.3 and later #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SivertHavso
Copy link

See #1 (comment)

I tried to replicate the fix in RMC.HPP and RMC.CPP for the same issue (FAA mode indicator). I've also added a missing assignment for the = operator in RMC.CPP.

Example sentence NMEA0183 ver 2.3 and later:

$GNVTG,348.78,T,,M,0.03,N,0.05,K,D*20
$GNVTG,348.78,T,,M,0.07,N,0.13,K,D*23
$GNVTG,348.78,T,,M,0.10,N,0.19,K,D*2F
$GNVTG,348.78,T,,M,0.05,N,0.09,K,D*2A
$GNVTG,348.78,T,,M,0.10,N,0.18,K,D*2E

The D in the 9th field is the FAA mode indicator, with the checksum moved to field 10.

The same problem probably exists for the BWC, BWR, GLL, RMA, RMB, WCV, and XTE sentences. For now, VTG is the only one I've had a chance to fix and test.

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

Successfully merging this pull request may close these issues.

1 participant