kosma / minmea

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

Can the library return information about Glonass satelites? #73

Open OrenZvu opened 10 months ago

OrenZvu commented 10 months ago

Hi, My code need to know how many Gps, Glonass or Beidou satellites in view. I know this information comes in $GSV sentence. In "bool minmea_parse_gsv(struct minmea_sentence_gsv frame, const char sentence)" function there is only general GSV parsing and there is no information if it's Glonass, GPS or Beidou Is the library can give me this information?

Thanks

stemschmidt commented 8 months ago

The satellite system is encoded in the NMEA Talker Id, the first two characters in the message: "GP" -> GPS, SBAS "GL" -> GLONASS "GA" -> Galileo "GB" -> BeiDou