Function nmea::sentences::parse_gsv

source ·
pub fn parse_gsv(sentence: NmeaSentence<'_>) -> Result<GsvData, Error<'_>>
Expand description

Parse one GSV message

From gpsd/driver_nmea0183.c:

$IDGSV,2,1,08,01,40,083,46,02,17,308,41,12,07,344,39,14,22,228,45*75

2 Number of sentences for full data 1 Sentence 1 of 2 08 Total number of satellites in view 01 Satellite PRN number 40 Elevation, degrees 083 Azimuth, degrees 46 Signal-to-noise ratio in decibels <repeat for up to 4 satellites per sentence>

Can occur with talker IDs:

  • BD (Beidou),
  • GA (Galileo),
  • GB (Beidou),
  • GI (NavIC - India)
  • GL (GLONASS),
  • GN (GLONASS, any combination GNSS),
  • GP (GPS, SBAS, QZSS),
  • GQ (QZSS)
  • PQ (QZSS)
  • QZ (QZSS)

GL may be (incorrectly) used when GSVs are mixed containing GLONASS, GN may be (incorrectly) used when GSVs contain GLONASS only. Usage is inconsistent.