8000 bug report · Issue #4 · nimaltd/NMEA · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
bug report #4
Open
Open
@MS10755

Description

@MS10755

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0