AN-001: NMEA 0183 Protocol Structure & Sentence Dictionary
On this page
Document Scope
Use this NMEA 0183 sentence dictionary to look up fields in 14 GNSS receiver messages. If a line begins with $GNGGA, look under GGA for fix quality and altitude. For date and speed, use RMC. For satellites in view, use GSV. The tables give field numbers, units and code meanings for v4.10, with later layouts labelled separately.
NMEA 0183 Sentence List for GNSS Receivers
If you already have a code from a log, jump to GGA fix quality, RMC mode, navigation status, Signal ID, System ID or satellite numbering. For a task such as dating a fix or building a sky plot, start with the corresponding sentence:
| Task | Sentence | Time content | Look here |
|---|---|---|---|
| Position / fix type | GGA, GNS | UTC, no date | Quality, altitude, correction information |
| Date / time | RMC, ZDA | UTC and calendar date | RMC two-digit year; ZDA separate year |
| Simple position | GLL | UTC, no date | Position, validity, mode |
| Ground motion | RMC, VTG | RMC has time; VTG does not | Speed units and course over ground |
| True heading | HDT | No time field | Heading source, not ground track |
| Satellites used | GSA | No time field | Solution dimensionality, satellite slots, DOP |
| Satellites / signals visible | GSV | No time field | Pages, repeating satellite blocks, Signal ID |
| Error statistics | GST | UTC, no date | Range-input RMS, ellipse, position components |
| Range residuals | GRS | UTC, no date | Residual order and matching GSA context |
| Fault information | GBS | UTC, no date | Suspected satellite, probability and bias |
| Datum / offsets | DTM | No time field | Angular offsets versus height offset |
| Receiver text | TXT | No time field | Message parts, identifier, escaped text |
For a dated track, pair a position with RMC or ZDA. For a sky plot, use GSV for satellites in view and GSA for satellites used in the fix. THS and ROT are related messages for heading and rate of turn.
NMEA 0183 Protocol Structure and Field Notation
Transport: one talker is not a request–response bus
The standard interface is a one-talker serial connection with one or more listeners. Conventional NMEA 0183 specifies a 4,800-baud, 8N1 interface; its electrical requirements are not interchangeable with a bare logic-level UART. Modern receivers also expose NMEA-formatted output over USB serial and higher-rate ports. A matching sentence format does not establish voltage compatibility or a supported port speed.
For receivers that accept configuration commands on the output port, keep command acknowledgements separate from navigation records. Save the port settings with the raw text when comparing two recordings.
Address, delimiters and field notation
$TTSSS,field1,field2,...,fieldN*HH<CR><LF>
In $GNGGA,120000.00,…, these tables call GNGGA field 0. Its first two letters identify the talker and the last three select the sentence layout. The first data field is 120000.00, the UTC time of the fix. Count empty fields too. At the end of this GGA, M,,*71 leaves two data fields empty. Field numbering stops at the asterisk, before the checksum and line ending.
Two receivers can print different numbers of decimal places. Read the degree and minute positions before deciding which digits may vary:
| Notation / kind | Interpretation | Implementation consequence |
|---|---|---|
hhmmss[.fraction] |
UTC hours, minutes, seconds and optional fractional seconds | No date or local time zone is encoded by this field alone. |
ddmmyy |
RMC calendar date | The century is not transmitted; document the application policy. |
ddmm[.fraction] |
Latitude: two degree digits, then minutes | N/S supplies the sign; minutes must be less than 60. |
dddmm[.fraction] |
Longitude: three degree digits, then minutes | E/W supplies the sign; decimal minutes are not decimal degrees. |
x.x |
Decimal numeric value; precision / width follows the field | Use a decimal point; do not infer a fixed number of fractional digits. |
xx / xxxx
|
Integer formatting in a particular sentence description | Check that field’s range and padding; these are not universal byte widths. |
a, c--c
|
A character or variable text field | Allowed values and empty-value rules are field-specific. |
h |
Hexadecimal identifier in GNSS ID fields | A–F are meaningful; do not parse B as decimal or discard it. |
HH after *
|
Two transmitted checksum digits | XOR the encoded bytes before interpreting escaped text. |
| Empty field | Unavailable / unknown information where allowed | Keep its position; mandatory non-null fields still require validation. |
The conventional v4.10 limit is 82 characters from the start delimiter through CR/LF. A receiver in high-precision mode may transmit a longer line. Size the input buffer for that setting and count any overflow.
A literal comma separates fields, whereas an encoded comma belongs to the text. These characters distinguish the two cases:
| Bytes | Role | What to preserve |
|---|---|---|
$ |
Parametric sentence start | Not part of that sentence’s XOR input. |
! |
Encapsulated sentence start | A different payload convention; not an alternative GGA prefix. |
, |
Field boundary | Two adjacent commas preserve a null field. |
* |
Checksum boundary | Exactly two hexadecimal checksum digits follow. |
CR LF |
Sentence end | Count both bytes in wire-length and bandwidth calculations. |
^HH |
Encoded character inside an eligible text field | For example ^21 represents !; verify the transmitted form first. |
\ |
TAG-block boundary in the extended protocol | If present, parse its own context / checksum separately from the following sentence. |
~, DEL |
Reserved / unavailable for ordinary field text | Do not repurpose them as an application separator inside a sentence. |
Escaping does not permit an unescaped comma inside a text field. An ordinary text decoder must not turn ^2C into a comma before splitting the transmitted fields. TAG blocks and encapsulated payloads require their own support; the minimal parser in the companion guide intentionally handles conventional $ sentences only.
Standard output, queries and proprietary commands
A query address identifies requester and destination and ends in Q; its payload asks for a formatter. It is not the same address pattern as an ordinary five-character talker-plus-formatter message. Proprietary $P… families may use manufacturer-specific layouts and responses; do not blindly take characters 3–5 as their sentence type.
Two receivers can send the same GGA sentence and use different commands to change how often it appears. On the Kalmix SCOUT USB GNSS receiver, use POLCFGMSG to set the sentence rate. SCOUT PRO uses PAIR062 for that job. For the GUIDE embedded GNSS module, the GUIDE protocol manual lists its supported PAIR commands and their parameters.
The incoming RTCM correction stream is a separate binary data format. A host may read NMEA and forward RTCM through the same connection without the two formats becoming interchangeable sentences.
Talker IDs in GNSS output
The first two letters identify the talker. For a GSV group they also determine which constellation’s signal codes apply:
| Talker | Context | Compatibility note |
|---|---|---|
| GP | GPS output, also used for augmentation in some older formats | Not a complete inventory of what the receiver can track. |
| GL | GLONASS | Use the receiver’s GLONASS slot-number convention. |
| GA | Galileo | Interpret IDs inside the Galileo namespace. |
| GN | Combined-system navigation solution | Allowed meaning depends on the sentence; see GSA and GSV separately. |
| GB / BD | BeiDou / legacy BeiDou implementation | Choice may be configurable independently of NMEA output version. |
| GQ | QZSS in newer output modes | Older receivers can report QZSS under a different talker. |
| GI | NavIC in newer output modes | Check the receiver and its supported signals. |
Matching GGA rather than only GPGGA helps a parser accept GNGGA. It must still retain GN as metadata. For GSV, the v4.10 definition uses constellation-specific talkers and excludes GN; a receiver that emits GNGSV needs a documented compatibility interpretation. Do not “fix” a raw log by globally rewriting talkers: that changes the checksum and can erase the very context you need.
Empty, absent and zero are different
A null field occupies a field position but contains no characters. ,, is a present but empty field. ,0, is a present numeric zero. A shorter older layout can have an absent trailing field. Keep all three states distinct. Coordinates at zero are not an invalidity flag; inspect the appropriate status and quality fields. Conversely, numeric coordinates can remain present while their solution is marked invalid.
In the v4.10 layouts below, GGA quality, GSA System ID and GSV Signal ID each require a value. An empty slot in one of those positions warrants a diagnostic. A receiver configured for an older, shorter layout may omit the tail entirely.
Checksum: verify bytes, then interpret fields
For a conventional $ sentence, XOR the transmitted ASCII bytes between $ and *, excluding both delimiters. Compare the result with the two hexadecimal digits after *. A disagreement flags a transmission or framing error. Distinct payloads can also have the same XOR. The Python and C implementations use the same byte range.
NMEA Version Evolution, BeiDou and Receiver Compatibility
Why an output upgrade can break an old integration
An older parser may read the last RMC field as positioning mode. After a move to v4.10, that position can hold navigation status. Both can be valid letters, so the mistake may pass a syntax check. Count forward from the address to field 12 for mode.
When an upgrade breaks input, compare one saved line from each configuration. Look at the talker, field count, coordinate width and any extra identifier after the last satellite block.
Milestones that still affect field reading
- 2.00 (Jan 1992) and 2.20 (Jan 1997). An RMC line can end after the magnetic variation fields. Its date is already at field 9.
- 2.30 (Mar 1998) and 3.01 (Jan 2002). RMC adds positioning mode at field 12 in 2.30 and keeps it there in 3.01. Count empty magnetic variation fields on the way to it.
- 4.00 (Nov 2008) and 4.10 (Jun 2012). A 4.00 stream can include a TAG block before a sentence. In the 4.10 layouts, GSA carries System ID, GSV carries Signal ID, and RMC has a separate navigation status at field 13.
- 4.11 (Nov 2018) and 4.30 (Dec 2023). Version 4.11 expands the identifiers for multi-constellation output. Version 4.30 revises the GNSS sentence set and identification tables again. The NMEA overview describes the edition changes.
Field expansion: count from a defined layout
Count data fields from the address before comparing versions. Several common sentences gain a trailing field while earlier values keep their positions:
| Sentence | Layout difference | Parsing consequence |
|---|---|---|
| RMC | 11 base data fields; mode occupies field 12 in v3.01 and v4.10 adds navigation status at 13 | Date stays at 9. A value counted back from * can silently become the wrong field. |
| GLL / VTG | Mode follows the older position / velocity fields in supported newer layouts | Distinguish an absent tail from an empty existing tail. |
| GSA | 12 satellite slots, DOP at 15–17, System ID at 18 in the v4.10 layout | A blank satellite slot must not shift DOP or the System ID. |
| GSV | Up to four four-field satellite blocks, then Signal ID | The final signal token is not another satellite. Last-page length varies. |
| GNS | A per-system mode string plus fix fields; navigation status is a distinct tail | Do not treat the mode string as one GGA quality value. |
| GRS / GBS | System and Signal ID extend the diagnostic context | Match the satellite / residual with the relevant system and signal. |
Count the data fields between the address and the asterisk. When a newer sentence has extra fields, decode the positions defined for that edition and keep the original line for any trailing values your parser cannot yet identify.
Satellite ranges did not disappear when System ID arrived
In the v4.10 legacy scheme, GPS uses PRN-based identifiers. The augmentation range starts at 33 and the GLONASS slot range starts at 65. For example, transmitted GLONASS ID 68 is slot 4. Apply that conversion only after identifying the constellation and numbering scheme.
For a combined GN GSA, System ID disambiguates the satellite namespace. A multi-system solution can produce several GSA messages carrying the same combined DOP while each lists a different system’s satellites. Summing those DOPs or counting every repeated number as a distinct satellite would be wrong. Consult the firmware manual for identifiers outside the edition’s assignments.
BeiDou talkers BD and GB, satellite numbers and signal codes
If a logger loses its BeiDou sky plot after a firmware update, first check whether the GSV address changed between $BDGSV and $GBGSV. Then check the final signal code against the configured NMEA edition. In the v4.11 receiver layouts below, 3 identifies B1C and B identifies B2I. The v4.10 standard reserves System IDs 4–F, so a BeiDou signal in a v4.10 stream needs the firmware’s own mapping. See the Signal ID tables.
A combined GNGGA position can keep updating while the sky plot loses its BeiDou entries. Capture one complete GSV cycle at the port. If the BeiDou pages are present there, compare their talker prefix with the filter in the mapping software.
NMEA output settings by receiver
A version switch, a talker override and a sentence-rate setting change different parts of the output. The commands depend on the receiver:
| Receiver and command | What it changes | What to check in the log |
|---|---|---|
| SCOUT · POLCFGMSG | Enables individual sentences and sets their output rates. | Count complete GGA lines over a timed interval. POLCFGNAV separately controls fix and observation rates. |
| SCOUT PRO · PAIR062 | Sets the output interval for one sentence type in fixes. | Compare the GGA and RMC intervals. The same fix rate can produce different sentence rates. |
| GUIDE · PAIR100 | Selects an ASCII NMEA setting labelled “v4.1” or “v3.0”. | Compare an RMC or GSV line before and after changing the setting. Record the label and the fields the receiver emits. |
| GUIDE · PAIR066 | Selects which supported constellations the module searches. | Check the constellation settings separately when investigating missing BeiDou output. |
When testing a version change, read back the selected setting and save one output cycle before and after. On a port carrying GSV, include every page so that the last satellite block and the signal code can be compared.
GNSS updates in NMEA 0183 v4.30
NMEA 0183 v4.30, published in December 2023, updated GNSS positioning and integrity messages. The field numbers in this dictionary refer to v4.10 unless a different edition or receiver profile is named.
A practical compatibility checklist
- Record model, firmware, configured NMEA version, port rate and enabled messages.
- Keep empty slots and parse known fields from their defined positions, not backwards from *.
- Separate malformed structure, failed checksum, missing required values and unknown optional identifiers.
- Keep talker / system / signal metadata and raw strings for values you cannot yet interpret.
- Check precision and actual sentence length as well as nominal output frequency.
- Replay representative old and new logs before changing a production integration.
NMEA 0183 Sentence Dictionary: Fields and Examples
How to use these examples
The examples are synthetic and have calculated checksums. Where a sentence carries time or coordinates, you can compare those fields across the examples. Use the active output configuration to find which messages your own receiver sends.
In the position examples, 4807.1234567,N and 01131.7654321,E convert to 48.1187242783° N and 11.5294238683° E. In GGA the M after each height is its unit. Adding the 40.000 m geoid separation to the 100.250 m orthometric height gives an ellipsoidal height of 140.250 m.
GGA — Position, time and fix quality
GGA reports the position, UTC and fix quality. The v4.10 description refers to GPS, while multi-constellation receivers also emit GNGGA.
$GNGGA,120000.00,4807.1234567,N,01131.7654321,E,1,12,0.8,100.250,M,40.000,M,,*71
The example has two heights in metres and ends with two empty correction fields. Count their comma positions when decoding the line:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGGA | GP identifies GPS output in GPGGA. GN identifies a combined GNSS solution in GNGGA. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | Time of the position; date is not present. |
| 2–3 | Latitude / N–S | degrees and minutes | 4807.1234567 / N | Direction supplies the sign. |
| 4–5 | Longitude / E–W | degrees and minutes | 01131.7654321 / E | Three degree digits precede the minutes. |
| 6 | Quality | integer code | 1 | Fix quality code. Here 1 means an autonomous fix. |
| 7 | Satellites used | count | 12 | How many satellites contributed to the fix. A multi-GNSS receiver can report more than 12. |
| 8 | HDOP | dimensionless | 0.8 | Geometry indicator, not metres. |
| 9–10 | Altitude / unit | metres / M | 100.250 / M | Height relative to the stated geoid / vertical model. |
| 11–12 | Geoid separation / unit | metres / M | 40.000 / M | Signed separation; confirm model and datum. |
| 13 | Differential-data age | seconds | empty | Legacy standard meaning and modern correction-age implementations need source context. |
| 14 | Reference station | identifier | empty | Legacy v4.10 field range is not a universal modern station-ID constraint. |
- For the calendar date, pair GGA time with a dated RMC or ZDA.
- The historical age field refers to specific differential updates; consult the receiver before using it as a generic age-of-all-RTCM metric.
- Use quality codes with current timestamps; h = H + N requires compatible height definitions.
RMC — Date, motion and validity
RMC supplies the calendar date, speed and course over ground.
$GNRMC,120000.00,A,4807.1234567,N,01131.7654321,E,0.10,084.4,051126,,,A,V*08
Three status letters occur in this line. For validity read field 2, for positioning mode read field 12, and for navigation status read field 13:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNRMC | GNRMC carries the date and motion for the combined solution in this example. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | Fix time, paired with the date at 9. |
| 2 | Status | A / V | A | A = valid data, V = warning. Read mode separately in field 12. |
| 3–4 | Latitude / N–S | degrees and minutes | 4807.1234567 / N | Same coordinate convention as GGA. |
| 5–6 | Longitude / E–W | degrees and minutes | 01131.7654321 / E | Direction supplies sign. |
| 7 | Speed over ground | knots | 0.10 | Multiply by 1852 / 3600 to obtain m/s. |
| 8 | Course over ground | degrees true | 084.4 | Direction of motion, not body heading. |
| 9 | Date | ddmmyy | 051126 | 5 November 2026 in this example. The receiver sends the year as 26. |
| 10–11 | Magnetic variation / direction | degrees / E or W | empty / empty | Keep both slots if unavailable. |
| 12 | Positioning mode | character | A | Positioning mode. A means autonomous here. Older RMC layouts can end before this field. |
| 13 | Navigation status | character | V | Navigation status. V here means the receiver supplies no valid navigation-status indication. Field 2 still reports A. |
- The v4.10 text assigns V to modes other than autonomous and differential. Check how your firmware reports RTK before comparing field 2 with GGA quality.
- A missing older tail and a present but empty tail are different layout states.
- When GGA arrives faster than RMC, keep the RMC time with its speed and course. Only the date may carry over to a newer GGA while the date source is fresh.
GLL — Latitude / longitude with validity
GLL gives latitude, longitude and the UTC of the position. For altitude or a calendar date, use a companion sentence.
$GNGLL,4807.1234567,N,01131.7654321,E,120000.00,A,A*7D
In this GLL the two letters after the time happen to match. The first is the data status and the second is the positioning mode:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGLL | GNGLL introduces a geographic position from the combined solution. |
| 1–2 | Latitude / N–S | degrees and minutes | 4807.1234567 / N | Retain direction and missing values. |
| 3–4 | Longitude / E–W | degrees and minutes | 01131.7654321 / E | Retain all field positions. |
| 5 | UTC | hhmmss[.fraction] | 120000.00 | No calendar date. |
| 6 | Status | A / V | A | Do not substitute a numeric quality value. |
| 7 | Mode | character | A | Present in the mode-bearing layout. Earlier versions can end after validity. |
- The v4.10 entry requires its status and mode fields to be non-null.
- For altitude at the GLL time, look for a corresponding GGA or GNS fix from the same receiver.
- Read field 5 for UTC, field 6 for data validity and field 7 for mode when the configured layout includes it.
GNS — A fix with per-system modes
GNS reports a position from one or more satellite systems and gives a positioning mode for each system.
$GNGNS,120000.00,4807.1234567,N,01131.7654321,E,AAA,12,0.8,100.250,40.000,,,V*60
Read AAA from left to right. In v4.10 the first three positions correspond to GPS, GLONASS and Galileo:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGNS | A GN talker can report a combined fix. Field 6 gives the mode for each constellation. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | Time of fix; no date. |
| 2–3 | Latitude / N–S | degrees and minutes | 4807.1234567 / N | Direction supplies sign. |
| 4–5 | Longitude / E–W | degrees and minutes | 01131.7654321 / E | Direction supplies sign. |
| 6 | Per-system mode | variable characters | AAA | v4.10 starts GPS, GLONASS, Galileo; later systems require the version and receiver manual. |
| 7 | Satellites used | count | 12 | Count for the reported solution. |
| 8 | HDOP | dimensionless | 0.8 | Combined geometry when the solution combines systems. |
| 9 | Altitude | metres | 100.250 | No separate M marker in this layout. |
| 10 | Geoid separation | metres | 40.000 | Signed; datum / model context matters. |
| 11 | Differential age | seconds | empty | May intentionally be absent in a combined differential group. |
| 12 | Reference station | identifier | empty | May be supplied in system-specific supporting GNS messages. |
| 13 | Navigation status | character | V | Separate from the mode string. |
- In v4.10 the first three modes belong to GPS, GLONASS and Galileo. For a longer string, use the constellation order documented for the receiver.
- With differential corrections from multiple systems, the combined GN sentence can leave age and station empty and be followed by same-time system-specific supporting GNS messages. This is not necessarily data loss.
- v4.10 requires both the mode string and navigation status to carry a value.
VTG — Ground track and speed
VTG reports course and speed over ground. Pair it with a timed message if the application needs a timestamp.
$GNVTG,084.4,T,,M,0.10,N,0.1852,K,A*14
Here 0.10 knots and 0.1852 km/h are the same speed. The magnetic track field is empty even though its M marker is present:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNVTG | GNVTG reports course over ground and speed for this solution. |
| 1–2 | True course / marker | degrees / T | 084.4 / T | Ground track referenced to true north. |
| 3–4 | Magnetic course / marker | degrees / M | empty / M | Unavailable magnetic value does not erase the marker’s slot. |
| 5–6 | Ground speed / marker | knots / N | 0.10 / N | Magnitude; not a signed forward / reverse vehicle speed. |
| 7–8 | Ground speed / marker | km/h / K | 0.1852 / K | A second unit representation of speed. |
| 9 | Mode | character | A | Required in v4.10 VTG. Older VTG sentences can end at the speed unit in field 8. |
- A stopped antenna does not provide a useful body-heading measurement through COG.
- The v4.10 VTG entry’s mode set is not automatically every mode used by RMC or GNS.
- Check unit markers rather than treating all alternating values as numbers.
HDT — True heading
HDT gives heading relative to true north. The receiver manual identifies how that heading was obtained.
$GPHDT,084.4,T*3D
Read 084.4,T as a heading of 84.4 degrees true:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GPHDT | GPHDT identifies a heading report. Read field 2 for its north reference. |
| 1 | Heading | degrees true | 084.4 | Check the device’s heading source and valid-output conditions. |
| 2 | Reference marker | T | T | Literal true-north reference marker. |
- HDT has no explicit validity or timestamp field in this layout.
- A device’s ability to output GGA does not establish HDT support.
- THS adds status and ROT reports turn rate, but their full definitions are outside these fourteen entries.
GSA — Satellites used and dilution of precision
GSA lists satellites used in the solution and gives the fix dimension and dilution of precision (DOP).
$GNGSA,A,3,03,07,11,14,19,22,,,,,,,1.5,0.8,1.3,1*36
The six GPS IDs fill the first six of twelve slots. The remaining commas keep PDOP, HDOP, VDOP and the System ID in their assigned positions:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGSA | With a GN talker, read field 18 to identify the system for these satellite slots. |
| 1 | Selection mode | M / A | A | Manual 2D / 3D choice versus automatic choice. |
| 2 | Fix dimensionality | 1 / 2 / 3 | 3 | No fix / 2D / 3D; not GGA quality. |
| 3–14 | Twelve satellite slots | SV identifiers | 03,07,11,14,19,22, then empty | Empty unused slots remain present. |
| 15 | PDOP | dimensionless | 1.5 | Position geometry. |
| 16 | HDOP | dimensionless | 0.8 | Horizontal geometry. |
| 17 | VDOP | dimensionless | 1.3 | Vertical geometry. |
| 18 | System ID | hexadecimal | 1 | Present and non-null in the v4.10 layout; disambiguates a GN talker. |
- For GN combined solutions, read System ID before assigning a constellation to each satellite number.
- This GSA lists six GPS satellites. GGA counts twelve satellites across the combined fix.
- Leave empty slots in place when matching satellites to GRS residuals. Per-system lists can repeat the same combined DOP.
GSV — Satellite pages and signal identity
GSV describes satellites in view. In v4.10 each constellation and signal has its own page group, with a constellation-specific talker in the address.
$GPGSV,2,1,06,03,45,150,42,07,30,210,39,11,62,080,45,14,15,310,35,1*64
$GPGSV,2,2,06,19,25,040,38,22,50,270,43,1*65
The header changes from 2,1,06 to 2,2,06. It identifies a two-page set for six satellites, four on the first page and two on the second:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GPGSV | GP identifies the GPS group. The v4.10 GSV layout uses a constellation-specific talker. |
| 1 | Total sentences | integer | 2 | Total pages for this reporting group. |
| 2 | Sentence number | integer | 1 or 2 | Ordinal within the group, not a new group key. |
| 3 | Satellites in view | count | 06 | Count for the reporting context, not GGA satellites used. |
| 4 + 4k | Satellite ID | SV identifier | 03 | k = 0…n−1; n is the number of blocks in this page. |
| 5 + 4k | Elevation | degrees | 45 | The v4.10 entry specifies a maximum of 90. |
| 6 + 4k | Azimuth | degrees true | 150 | 000–359°, clockwise from true north. |
| 7 + 4k | Signal level | dB-Hz | 42 | Empty when not tracking; zero remains a numeric value. |
| 4 + 4n | Signal ID | hexadecimal | 1 | The Signal ID follows the final satellite block. Here 1 means GPS L1 C/A. |
- A page carries at most four satellite blocks; unused blocks need not be padded in the last page. Count blocks using the known layout, not an assumed constant checksum position.
- v4.10 permits unchanged data to be null in additional sentences for efficiency. Restore context only within a supported, unambiguous group.
- Keep Talker / Signal ID and a reporting-cycle policy. Identical identifiers and page counts alone cannot distinguish two overlapping cycles.
On the first example page, four satellite blocks put Signal ID at field 20. On the second page, two blocks put it at field 12. Both end in signal 1, GPS L1 C/A. The two pages together list six GPS satellites.
GST — Range-input and position-error statistics
GST reports the statistics of the range inputs and the receiver’s estimated position errors for a fix.
$GNGST,120000.00,0.7,0.6,0.4,25.0,0.5,0.4,0.8*71
Read fields 3–5 as an ellipse, including an orientation in degrees. The three numbers after the orientation are position-error components in metres:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGST | GNGST gives the error statistics associated with the UTC in field 1. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | Time associated with the reported fix. |
| 2 | Range-input RMS | metres | 0.7 | v4.10 describes the RMS of standard deviations of range inputs, including correction input; receiver manuals that describe residuals use a different definition. |
| 3 | Ellipse major axis | metres | 0.6 | Standard deviation of the semi-major component. |
| 4 | Ellipse minor axis | metres | 0.4 | Standard deviation of the semi-minor component. |
| 5 | Ellipse orientation | degrees true | 25.0 | Orientation of the semi-major axis. |
| 6 | Latitude-error deviation | metres | 0.5 | Position-domain component. |
| 7 | Longitude-error deviation | metres | 0.4 | Position-domain component. |
| 8 | Altitude-error deviation | metres | 0.8 | Vertical position-domain component. |
For this GST, 0.7 m describes the range inputs, while 0.5 m is the estimated standard deviation of latitude error. Keep the statistic and its units together in an export. A column labelled “accuracy = 0.7 m” would lose what the receiver actually estimated.
For the distinction between axis, component and radial probabilities, see GNSS accuracy statistics.
ZDA — UTC and a four-digit date
ZDA carries UTC and a full calendar date, including a four-digit year.
$GNZDA,120000.00,05,11,2026,00,00*78
The example gives noon UTC on 5 November 2026. The two zone fields at the end describe local time and can be left out of a UTC timestamp:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNZDA | GNZDA identifies the time report. The full calendar date occupies fields 2–4. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | UTC of the time / date report. |
| 2 | Day | 01–31 | 05 | Calendar validation still depends on month and year. |
| 3 | Month | 01–12 | 11 | Month number. |
| 4 | Year | four digits | 2026 | Unlike RMC’s two-digit year. |
| 5 | Local-zone hours | signed hours | 00 | v4.10 convention: offset to add to local time to obtain UTC. |
| 6 | Local-zone minutes | 00–59 | 00 | Magnitude with the zone-hour sign; check the receiver manual for sub-hour offsets. |
- Field 1 is already in UTC, so a UTC timestamp can use it directly.
- The edition’s zone sign is easy to confuse with ISO local-minus-UTC offsets; preserve the documented convention.
- A valid date is not evidence that a current position fix exists.
GRS — Per-satellite range residuals
GRS reports range residuals in the same satellite order as the corresponding GSA list.
$GNGRS,120000.00,1,0.2,-0.1,0.4,0.0,-0.3,0.1,,,,,,,1,1*56
When these messages describe the same observation, the first GRS residual (0.2 m) pairs with the first satellite in GSA (03). The final two fields identify the system and signal:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGRS | GNGRS reports residuals. Match its system and satellite order to the relevant GSA list. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | Time of the associated GGA / GNS fix. |
| 2 | Residual mode | 0 / 1 | 1 | 0: residuals used in the update; 1: recomputed after that solution. |
| 3–14 | Twelve residual slots | metres | 0.2,-0.1,0.4,0.0,-0.3,0.1, then empty | Order follows the paired GSA satellite slots. |
| 15 | System ID | hexadecimal | 1 | Keep the diagnostic constellation context. |
| 16 | Signal ID | hexadecimal | 1 | Identifies the ranging signal for the residuals in this GRS. |
- In v4.10, subtract the measured range from the calculated range. A negative residual means the measured range was larger.
- The v4.10 formatting notes remove fractional digits at larger magnitudes and bound the representable residual; do not assume every valid value has a decimal point.
- Multiple GSA / GRS pairs must retain their ordering and context; incomplete pairs cannot safely supply a residual-to-satellite mapping.
GBS — Suspected satellite faults
GBS reports error estimates and identifies a satellite suspected of a fault. A satellite can remain visible after the receiver excludes it from the fix.
$GNGBS,120000.00,0.5,0.4,0.8,03,0.001,0.2,0.1,1,1*7A
In this example 03 is the suspect satellite. The probability, bias and bias uncertainty that follow refer to that satellite:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GNGBS | GNGBS introduces a fault-detection report for the fix identified by field 1. |
| 1 | UTC | hhmmss[.fraction] | 120000.00 | Time of the associated fix. |
| 2 | Expected latitude error | metres | 0.5 | v4.10 describes the bias-related term with noise excluded. |
| 3 | Expected longitude error | metres | 0.4 | Do not substitute GST’s component deviation. |
| 4 | Expected altitude error | metres | 0.8 | Same bias-related context. |
| 5 | Suspected satellite | SV identifier | 03 | Interpret with the GNSS identity context. |
| 6 | Missed-detection probability | dimensionless | 0.001 | Probability for the reported suspected satellite, not position accuracy. |
| 7 | Bias estimate | metres | 0.2 | Estimated bias for the suspected satellite. |
| 8 | Bias-estimate deviation | metres | 0.1 | Uncertainty of that bias estimate. |
| 9 | System ID | hexadecimal | 1 | v4.10 extension field. |
| 10 | Signal ID | hexadecimal | 1 | v4.10 extension field; not a second System ID. |
- Blank diagnostic values and zeros cannot both be interpreted as “no fault”.
- The presence of GBS does not prove a certified integrity capability or a stated alert limit.
- GRS residuals, GST uncertainty and GBS bias / missed detection answer different questions.
DTM — Datum and offsets
DTM names the local and reference datums and gives the offsets between them.
$GPDTM,W84,,0.0,N,0.0,E,0.0,W84*6F
Both datum codes here are W84, so the offsets are zero. For a nonzero offset the horizontal components are in minutes of arc and the vertical component is in metres:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GPDTM | GPDTM introduces the datum information for the associated position output. |
| 1 | Local datum | three-character code | W84 | Examples include W84, W72, S85, P90 and 999 / defined local codes. |
| 2 | Subdivision | character | empty | Local subdivision / user-defined context when supplied. |
| 3–4 | Latitude offset / direction | arcminutes / N–S | 0.0 / N | Offset direction; not metres. |
| 5–6 | Longitude offset / direction | arcminutes / E–W | 0.0 / E | Offset direction; not decimal degrees. |
| 7 | Altitude offset | metres, signed | 0.0 | Unlike angular offsets, may carry a minus sign. |
| 8 | Reference datum | three-character code | W84 | Reference against which the local offset is stated. |
- The stated relationship is local position = reference position + directed offset; offsets can vary with location.
- Version 4.10 specifies DTM before a datum change or associated non-WGS84 position output and at intervals of up to 30 seconds. Check the receiver’s enabled sentences when capturing a log.
- A familiar W84 code does not resolve reference-frame realization, epoch or every vertical-model issue.
The broader datum / frame context is covered in Beyond WGS84.
TXT — Text messages and multi-part reports
TXT carries receiver text and can split longer messages into numbered parts. The receiver manual gives any manufacturer-specific meanings for the message ID.
$GPTXT,01,01,25,TEST MESSAGE^21*68
Here 01,01 means one part out of one. Verify the checksum on the transmitted text before decoding ^21 as an exclamation mark:
| Field # | Name | Format / unit | Example | Meaning / conditions |
|---|---|---|---|---|
| 0 | Address | talker + formatter | GPTXT | GPTXT identifies a text report. Field 3 identifies the message, field 4 carries its text. |
| 1 | Total sentences | 01–99 | 01 | Number of parts in the text transmission. |
| 2 | Sentence number | 01–99 | 01 | Current part within that transmission. |
| 3 | Text identifier | numeric identifier | 25 | The v4.10 definition identifies messages; vendor severity conventions need their own documentation. |
| 4 | Text | valid / escaped characters | TEST MESSAGE^21 | Keep the transmitted encoded bytes for checksum; decode for display afterward. |
- In the 82-character v4.10 layout, the TXT text field can occupy up to 61 transmitted characters. An escape such as
^21uses three of those characters for one displayed symbol. - Some vendor manuals use 00 / 01 / 02 as error / warning / notice. That is an implementation convention, not the generic identifier definition here.
- Boot, firmware or antenna messages depend on the receiver; TXT is not a guaranteed heartbeat or proof of a hardware failure.
NMEA Codes, Status Fields and GNSS Identifiers
GGA fix quality codes
Read field 6 even when the coordinate fields contain numbers. The code describes how the receiver obtained the reported position:
| Code | Meaning | Do not infer |
|---|---|---|
| 0 | No available / valid fix | Do not use coordinates as a valid fix merely because they are filled. |
| 1 | Standard standalone positioning | Not an RTK solution. |
| 2 | Code-differential positioning | Not the same as fixed carrier-phase RTK. |
| 3 | GPS Precise Positioning Service in the v4.10 enumeration | PPS here is not a one-pulse-per-second timing output; check receiver use. |
| 4 | RTK with fixed integer ambiguities | Still needs time, correction and reference context. |
| 5 | RTK with floating ambiguities | Not a universal numerical accuracy bound. |
| 6 | Estimated / dead reckoning | Check the time of the last satellite fix and which sensors the receiver uses for its estimate. |
| 7 | Manual input | Not a live GNSS measurement. |
| 8 | Simulator | Not evidence of a field measurement. |
When a fixed solution drops to float, locate the GGA line where field 6 changes from 4 to 5. In TRACE for Windows, Kalmix’s desktop app for viewing and recording GNSS data, watch the RTCM received and forwarded counters as you reproduce the drop. If reception continues while forwarding stalls, check the connection to the receiver. If both counters advance, read the receiver’s fix quality and the correction age in field 13 when available.
A fix quality of 6 indicates an estimated position. On a receiver with inertial dead reckoning, coordinates can keep updating through a GNSS outage. In the tunnel test in RTK Meets IMU, a reference track shows how far those positions drifted while the satellite signals were blocked.
RMC positioning mode codes
Read the character at the position assigned to mode. For example, D in a mode field denotes differential positioning:
| Mode | Meaning | Scope / caution |
|---|---|---|
| A | Autonomous | Used in mode-bearing GLL / RMC / VTG and GNS contexts. |
| D | Differential | Can be used broadly by a receiver; not an automatic GGA=2-only mapping. |
| E | Estimated / dead reckoning | Validity may follow the device / edition’s specific rules. |
| F | Floating RTK | Used in v4.10 RMC and in the per-system mode string in GNS. VTG and GLL each define their own mode values. |
| R | Fixed RTK | Read alongside the receiver’s validity convention. |
| P | Precise mode | Meaning includes the edition’s precision / multifrequency context; not a GGA class 4 synonym. |
| M | Manual input | Not a current measured GNSS fix. |
| S | Simulator | Do not treat as field evidence. |
| N | No valid fix / system not used | In a GNS string this can refer to one system, not necessarily the entire combined fix. |
Save the RMC data status (field 2), positioning mode (12) and navigation status (13) separately. If GGA reports 4 while RMC reports mode D, keep both codes with their UTC times. Compare them using the firmware’s RMC mode definitions.
GSA has two separate mode fields
In the pair A,3, the letter selects automatic operation and the number reports a three-dimensional solution:
| Field | Values | Meaning |
|---|---|---|
| 1 | M / A | Manual choice of dimension / automatic 2D–3D selection. |
| 2 | 1 / 2 / 3 | No fix / 2D / 3D. These are not differential or RTK quality classes. |
Navigation status is a distinct indication
The navigation-status character expresses the equipment’s assessment against its navigation criteria:
| Value | Interpretation | Boundary |
|---|---|---|
| S | Navigation criteria satisfied | Refers to the applicable accuracy, integrity and timely-update criteria; not generic software safety clearance. |
| C | Caution | The equipment has no integrity information for this assessment. |
| U | Unsafe / navigation criteria not satisfied | Interpret using the applicable equipment criteria, not a hard-coded GGA conversion. |
| V | Not providing valid navigation-status indication | Does not alone make RMC field 2 V or GGA quality 0. |
An S indication comes from navigation equipment applying its accuracy, integrity and update-time criteria. HDOP alone supplies only the satellite geometry component.
Signal IDs by NMEA edition and constellation
Signal ID identifies a ranging signal within a constellation and receiver profile. In a GSV sentence, the talker identifies the constellation and the signal code follows the last satellite block. Decode both together.
For the underlying GNSS signals and frequency allocation, use the signal guide. Several signals share a frequency band. In v4.10 their codes are assigned within each constellation:
| System / talker | Signal ID → identity | Reserved / contextual values |
|---|---|---|
| 1 / GP | 1 L1 C/A; 2 L1 P(Y); 3 L1 M; 4 L2 P(Y); 5 L2C-M; 6 L2C-L; 7 L5-I; 8 L5-Q | 0 means all signals; 9–F reserved in this edition. |
| 2 / GL | 1 G1 C/A; 2 G1 P; 3 G2 C/A; 4 G2 P on GLONASS-M | 0 means all signals; 5–F reserved. |
| 3 / GA | 1 E5a; 2 E5b; 3 E5a+b; 4 E6-A; 5 E6-BC; 6 L1-A; 7 L1-BC | 0 means all signals; 8–F reserved. |
| 4–F | Reserved as system identities in the v4.10 table | A later or vendor-specific assignment requires a different stated scope. |
For a BeiDou, QZSS or NavIC GSV page, match the talker and the trailing signal character to the configured output version. These are common mappings in v4.11 receiver output:
| Context | Signal code and name | How to read the entry |
|---|---|---|
| BeiDou · GB | 1 = B1I, 3 = B1C, 5 = B2a, B = B2I | B is one hexadecimal character. Check the signal-code table for the active firmware when reading older BD output. |
| QZSS · GQ | 1 = L1 C/A, 5 = L2C-M, 6 = L2C-L, 7 = L5-I, 8 = L5-Q | Some older output groups QZSS with GPS. Check the satellite numbering as well as the talker. |
| NavIC · GI | 1 = L5 SPS | A signal code identifies the reported signal. The receiver specification lists the signals the hardware can track. |
For a v4.10 stream with BeiDou pages, use the extension table for that firmware. If the mapping is unknown, keep the raw signal code, talker and configured edition with the observation. A later decoder can then assign the signal name without rerecording the log.
System ID: where the number is meaningful
A System ID identifies the GNSS constellation in a field defined by the selected NMEA edition. For example, GSA field 18 identifies the system for that satellite list.
Interpret a System ID against the edition the receiver is outputting. The first three assignments persist across the two sets shown here:
| ID | NMEA 0183 v4.10 | v4.11 receiver output |
|---|---|---|
| 1 | GPS context | GPS |
| 2 | GLONASS | GLONASS |
| 3 | Galileo | Galileo |
| 4 | Reserved | BeiDou |
| 5 | Reserved | QZSS |
| 6 | Reserved | NavIC |
| 7–F | Reserved | Do not infer a constellation without a supported definition. |
System ID belongs at the position defined by each sentence, for example GSA 18, GRS 15 and GBS 9 in the layouts above. It does not appear in GGA merely because the talker is GN. Firmware anomalies and manufacturer extensions must retain their own labels.
Satellite ID: identify the namespace before applying an offset
An SV number becomes usable once its constellation and, where relevant, its signal and satellite list are known:
| Message | Identity context | Practical consequence |
|---|---|---|
| GSA | Talker + System ID + satellite slots | A GN address alone cannot assign every number to one constellation. |
| GSV | Constellation talker + SV ID + Signal ID | One satellite may appear in multiple signal groups; count unique satellites separately. |
| GRS | Paired GSA slot order + system / signal | A residual slot is not a satellite number. |
| GBS | Suspected SV plus GNSS identifiers | Do not report a failed GPS satellite from a BeiDou-context token. |
Under the legacy GLONASS convention, transmitted ID 68 corresponds to slot 4. The subtraction only makes sense once you know the constellation and numbering scheme. These are the v4.10 ranges used in that lookup:
| Reporting context | Numbers / conversion | Boundary |
|---|---|---|
| GPS in the legacy notes | 1–32: GPS PRN-based IDs | Do not infer a different constellation from a number alone. |
| Augmentation in the documented legacy scheme | 33–64 reserved for augmentation. In the WAAS mapping, add 87 to the transmitted ID to recover the PRN. | For example, transmitted ID 33 identifies WAAS PRN 120 in this scheme. |
| GLONASS in the legacy notes | 65–96 = 64 + slot; slots 1–24 map to 65–88 | The v4.10 legacy table reserves the remaining slots in this range. |
| Galileo with System ID 3 | 1–36 allocated to Galileo satellites; 37–64 reserved for Galileo augmentation in the table | The same numeric ID can also exist in a different constellation namespace. |
| GSV per-system table | 1–99 is a contextual ID space with allocated, augmentation and undefined portions | The field’s numeric capacity is not a universal PRN conversion formula. |
| BeiDou / QZSS / NavIC | Not fully assigned by the v4.10 GNSS tables | Use the satellite-number table for the active edition or firmware before applying an offset. |
Standards and Receiver Manuals
The field tables follow NMEA 0183, Version 4.10 (June 2012), sections 5–6 and the individual sentence definitions. In the printed edition, GGA starts on p. 86, GSA on p. 94, GSV on p. 96 and RMC on p. 113.
Table 6 uses the Kalmix protocol manuals for receiver commands. For a captured log, record the model, firmware and configured NMEA edition with the file. Table 25 covers the v4.10 signal assignments. Table 26 gives selected mappings used by v4.11 receivers. For extensions, consult the firmware manual for the exact output setting that produced the log.
Frequently Asked Questions
Which NMEA fields change between v3.01 and v4.10?
In v4.10, GSA carries a System ID at field 18, GSV carries a Signal ID after its satellite blocks, and RMC gains navigation status at field 13. Its positioning mode is still field 12. If an old decoder takes the last RMC character as mode, it can start reporting the wrong value even while every checksum passes.
How does NMEA 0183 represent an empty field, zero and a negative coordinate?
An empty field has no characters between its delimiters. Zero is a transmitted number, and latitude or longitude gets its sign from the separate hemisphere field, with S or W becoming negative on conversion. In the GGA ending M,,*71, the last two fields are empty. Writing zero in field 13 would turn an unknown correction age into a reported age of zero seconds.
Why does a GSV sentence have a variable number of fields?
Each satellite adds four fields to a GSV page. In the v4.10 layout the Signal ID comes after the final satellite, so it occupies field 20 on a four-satellite page and field 12 on a two-satellite page. For GPGSV, 1 means GPS L1 C/A. An older layout can end at the last satellite’s signal level instead.
Can I map RMC positioning mode directly to GGA fix quality?
There is no universal conversion. A receiver can send differential mode D in RMC field 12 while reporting fixed RTK in GGA field 6. Also keep the two RMC status fields separate. In the example, A in field 2 marks valid data, while V in field 13 means a valid navigation-status indication is unavailable. Both can appear in the same sentence.
How do I decode an unfamiliar NMEA Signal ID or System ID?
Read the sentence and talker first. In a GPS GSV, a trailing 1 identifies L1 C/A. In a Galileo GSV, the same code identifies E5a. In GSA, field 18 instead identifies the constellation. Check the configured NMEA version for BeiDou codes, and save any unresolved code with the talker and firmware version so you can decode it later.
Continue exploring