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

Can the library return information about Glonass satelites? #73

Open OrenZvu opened 1 year ago

OrenZvu commented 1 year 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 1 year 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