NMEA icon indicating copy to clipboard operation
NMEA copied to clipboard

bug report

Open MS10755 opened this issue 2 years ago • 0 comments

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

MS10755 avatar Jan 30 '23 08:01 MS10755