Back to Serial Studio

NMEA 0183 Sentences

app/rcc/scripts/native/nmea_0183.md

4.0.11.2 KB
Original Source

NMEA 0183 Sentences

Decodes GGA, RMC, GLL and VTG sentences from GPS and marine receivers into navigation channels. Values latch between frames.

Wire Format

$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47

Parameters

ParameterTypeDefaultDescription
Talker prefixtextGPTwo-letter talker id. Use GN for multi-constellation receivers, GL for GLONASS.
Validate checksumbooleanonRejects sentences whose *hh checksum does not match the XOR of the payload.

Output Channels

ChannelValueSource sentences
1Latitude (decimal degrees)GGA, RMC, GLL
2Longitude (decimal degrees)GGA, RMC, GLL
3Altitude (m)GGA
4Fix qualityGGA
5Satellites in useGGA
6HDOPGGA
7Speed (knots)RMC, VTG
8Track (degrees) or speed (km/h)RMC, VTG

Coordinates are converted from DDMM.MMMM to signed decimal degrees (south and west are negative).

Pipeline Notes

Works with the Plain Text decoder and a newline end delimiter. Sentences from other talkers or with unknown formatters are ignored.