[−][src]Module adafruit_gps::nmea
NMEA is the sentence format for receiving data from a GPS.
GPS outputs
GPS sentence outputs.
- GGA -> TC, Latitude, longitude, Position fix (GPS, DGPS, No fix), sats used, HDOP, altitude, Geoidal Seperation, Age of diff corr
- VTG -> Course (true), Course (magnetic), speed knots, speed kph, mode.
- GSA -> Manual or Automatic mode, 2D or 3D fix, List of satellites used, PDOP, HDOP, VDOP.
- GSV -> Satellites in view data: sat id, elevation, azimuth and SNR for each sat seen.
These two are pointless.
- RMC -> UTC, lat, long, speed, course, date, magnetic variation.
- GLL -> Lat, Long. Pretty pointless sentence.
On each iteration, all the data is the same. So why not output all the data and gather it all?
Sentence prefix: ${GP, GL, GA, GN}{GGA, GSA, GSV, RMC, VTG}
GP is short for GPS (American)
GL is short for GLONASS (Russian)
GA is short for Galileo (EU)
GN is multi-system.
Prefixes table ({} means heading of GP/GL/GA is added.
GGA | GSA | GSV | RMC | VTG | |
---|---|---|---|---|---|
GPS | GPGGA | GPGSA | GPGSV | GPRMC | GPVTG |
GP+GL | GNGGA | {}GAS | {}GSV | GNRMC | GNVTG |
GP+GL+GA | GNGG | {}GSA | {}GSV | GNRMC | GNVTG |
In the GP+GL and GP+GL+GA modes, all satellites from those systems are used for the best fix.
Modules
gga | Parse GGA sentences |
gsa | Parse GSA sentences. |
gsv | Parse GSV sentence |
nmea | Main moduel for parsing any NMEA sentence and exporting NMEA parsing to lib.rs |
rmc | Parse RMC sentences. |
vtg | Parse VTG sentences |