NMEA GNS message
GNSS fix data (GNS)
| Message | NMEA-Standard-GNS GNSS fix data |
| Comment | Time and position, together with GNSS fixing-related data (number of satellites in use, and the resulting HDOP, age of differential data if in use, etc.). The output of this message is dependent on the currently selected datum (default: WGS84) |
| Information | Number of fields: 16 |
| Structure | $xxGNS,time,lat,NS,lon,EW,posMode,numSV,HDOP,alt,sep,diffAge,diffStation,navStatus*cs\r\n |
| Examples | $GNGNS,103600.01,5114.51176,N,00012.29380,W,ANNN,07,1.18,111.5,45.6,,,V*00\r\n $GNGNS,122310.2,3722.425671,N,12258.856215,W,DAAA,14,0.9,1005.543,6.5,,,V*0E\r\n $GPGNS,122310.2,,,,,,07,,,,5.2,23,V*02\r\n |
Payload
| Field | Name | Format | Unit | Example | Description |
|---|---|---|---|---|---|
| 0 | xxGNS | string | - | $GPGNS | GNS Message ID (xx = current Talker ID) |
| 1 | time | hhmmss.ss | - | 091547.00 | UTC time |
| 2 | lat | ddmm.mmmmm | - | 5114.50897 | Latitude (degrees and minutes) |
| 3 | NS | character | - | N | North/South indicator |
| 4 | lon | dddmm.mmmmm | - | 00012.28663 | Longitude (degrees and minutes) |
| 5 | EW | character | - | E | East/West indicator |
| 6 | posMode | character | - | AAAA | Positioning mode. The first four characters indicate the status for GPS, GLONASS, Galileo and BeiDou. Note that the NMEA GNS message only reports a single status. It indicates the status for all enabled constellations that have not been filtered out. To obtain a more detailed status report, refer to the status provided in the UBX messages. |
| 7 | numSV | numeric | - | 10 | Number of satellites used (range: 0-99) |
| 8 | HDOP | numeric | - | 0.83 | Horizontal Dilution of Precision |
| 9 | alt | numeric | m | 111.1 | Altitude above mean sea level |
| 10 | sep | numeric | m | 45.6 | Geoid separation: difference between ellipsoid and mean sea level |
| 11 | diffAge | numeric | s | - | Age of differential corrections (null when DGPS is not used) |
| 12 | diffStation | numeric | - | - | ID of station providing differential corrections (null when DGPS is not used) |
| 13 | navStatus | character | - | V | Navigational status indicator: V (Equipment is not providing navigational status information, fixed field, only available in NMEA 4.10 and later) |
| 14 | cs | hexadecimal | - | *71 | Checksum |
| 15 | CRLF | character | - | - | Carriage return and line feed |
Based on NMEA documentation provided by u-blox
u-blox 20 HPG 2.00 — High precision GNSS receiver
Revision and date: UBXDOC-304424225-19888 - R01, 22-May-2025
u-blox 20 HPG 2.00 — High precision GNSS receiver
Revision and date: UBXDOC-304424225-19888 - R01, 22-May-2025
Learn more about NMEA protocol: