mikalhart / TinyGPS

A compact Arduino NMEA (GPS) parsing library
http://arduiniana.org
384 stars 255 forks source link

Which sentences TinyGPS is using? #9

Open varlux opened 7 years ago

varlux commented 7 years ago

My GPS module is compatible with GPS, GLONASS, GALILEO and can work with they all. In this case it will print these sentences: GNRMC, GPVTG, GPGGA, GNGSA, GPGSV, GLGSV and GNGLL.

Is TinyGPS compatible with these sentences? It work only with GPS?

Thanks

infusion commented 7 years ago

GGA and RMC is used. VTG is already in RMC (at least features before NMEA2.3). GSA is unnecessary to get parsed on small devices, since hdop is already in GGA and if you really need to analyse other error measures, you should add a routine yourself. Besides that, GSA only provides satellite information, so not needed for embedded systems. GSV is also just satellite observation. And everything GLL has, is already in RMC.

Workshopshed commented 5 years ago

I've the same here in the UK so I'm getting GNGGA messages rather than GPGGA messages. Looking at the code it should be possible to solve that by getting gpsstrcmp to skip the second character.

See https://hemispheregnss.com/gnssreference/GPGGA.htm