kosma / minmea

a lightweight GPS NMEA 0183 parser library in pure C
Do What The F*ck You Want To Public License
791 stars 253 forks source link

Would you check the minmea_scan() with 'VTG' sentence? #52

Closed jobaek closed 2 years ago

jobaek commented 4 years ago

Hello Kosma, Thanks for your open source.

I tested your code with NMEA0183 sentence in various condition. What causes the following resule?

Example 1) $GPVTG,293.7,T,294.4,M,0001.4,N,00002.6,K,A*16 $xxVTG: true track degrees = 293.700012 magnetic track degrees = 294.399994 speed knots = 1.400000 speed kph = 2.600000

Example 2) $GPVTG,273.1,T,,,16.2,N,30.0,K,A*41 $xxVTG sentence is not parsed

How can I improve your source code?

Best regards, Jongok.

cmorganBE commented 2 years ago

Hi @jobaek. Appreciate your comments. It may be that VTG isnt' supported? Closing this due to inactivity but if you've got a PR or other comments please re-open.