NMEAFORMAT

Customize NMEA output

Platform:

OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2

Use the NMEAFORMAT command to customize the NMEA GPGGA and GPGGALONG output.

Modifying the NMEA output will make it not compliant with the NMEA standard.

Message ID: 1861

Abbreviated ASCII Syntax:

NMEAFORMAT field format

Factory Default:

NMEAFORMAT GGA_LATITUDE 9.4

NMEAFORMAT GGA_LONGITUDE 10.4

NMEAFORMAT GGA_ALTITUDE .2

NMEAFORMAT GGALONG_LATITUDE 12.7

NMEAFORMAT GGALONG_LONGITUDE 13.7

NMEAFORMAT GGALONG_ALTITUDE .3

Example:

The following settings increase the precision of the GPGGA latitude and longitude fields:

NMEAFORMAT GGA_LATITUDE 11.6

NMEAFORMAT GGA_LONGITUDE 12.6

The following settings decrease the precision of the GPGGALONG latitude and longitude fields:

NMEAFORMAT GGALONG_LATITUDE 11.6

NMEAFORMAT GGALONG_LONGITUDE 12.6

The following setting stops the undulation fields of the GPGGALONG log being filled, making a log like the GPGGARTK log that was in NovAtel's OEM6 firmware:

NMEAFORMAT GGALONG_UNDULATION !0

Field

Field Type

ASCII Value

Binary Value

Description

Format

Binary Bytes

Binary Offset

1

Command header

-

-

NMEAFORMAT header

This field contains the command name for abbreviated ASCII or the message header for ASCII (see page 1) or Binary (see page 1).

-

H

0

2

Field

GGA_LATITUDE

0

GPGGA latitude field

Enum

4

H

GGA_LONGITUDE

1

GPGGA longitude field

GGA_ALTITUDE

2

GPGGA altitude (height) field

GGA_UNDULATION

3

GPGGA undulation field

GGALONG_LATITUDE

10

GPGGALONG latitude field

GGALONG_LONGITUDE

11

GPGGALONG longitude field

GGALONG_ALTITUDE

12

GPGGALONG altitude (height) field

GGALONG_UNDULATION

13

GPGGALONG undulation field

3

Format

Char[8]

The Format field has a syntax similar to the printf function commonly found in programming languages. The format is:

!x.y

Where:

y is the number of digits to display after the decimal point

x sets the minimum field width including the decimal point. X is optional if ! is not used. If the value requires fewer digits than x, leading zeros are added to the output.

! forces the field width to x. ! is optional. If a value exceeds the permitted width, the value will be saturated. If ! is used, y must be less than x.

Examples (GGA_LATITUDE):

  .5 = 5106.98120

  2.3 = 5106.981

  7.1 = 05107.0

  !7.2 = 5106.98

  !7.3 = 999.999

Char[8]

8

H+4