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

bug report #4

Open
MS10755 opened this issue Jan 30, 2023 · 0 comments
Open

bug report #4

MS10755 opened this issue Jan 30, 2023 · 0 comments

Comments

@MS10755
Copy link

MS10755 commented Jan 30, 2023

Hello!
When my gps device has no signal,I received something like $GNGGA,081235.319,,,,,0,00,99.99,,M,,M,,4E
,there are five commas behind UTC. The index of UTC is 2,so the index of Lat should be 3.
when program call funcion str = strtok(NULL, ",
"); it will skip directly five commas,and return "0" (Quality).
but variable index is 3. it will put "0" (Quality) on position of Lat.

to minimal change your codes. I'm tring reform strtok.
1
here is my code
2

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

1 participant