NMEA 0183 - Application Layer Protocol Rules

Application Layer Protocol Rules

  • Each message's starting character is a dollar sign.
  • The next five characters identify the talker (two characters) and the type of message (three characters).
  • All data fields that follow are comma-delimited.
  • Where data is unavailable, the corresponding field contains NUL bytes (e.g., in "123,,456", The double comma between 3 and 4 is telling the listener the second field's data is unavailable).
  • The first character that immediately follows the last data field character is an asterisk, but it is only included if a checksum is supplied.
  • The asterisk is immediately followed by a checksum represented as a two-digit hexadecimal number. The checksum is the bitwise exclusive OR of ASCII codes of all characters between the $ and *. According to the official specification, the checksum is optional for most data sentences, but is compulsory for RMA, RMB, and RMC (among others).
  • ends the message.

As an example, a waypoint arrival alarm has the form:

$GPAAM,A,A,0.10,N,WPTNME*32

where:

GP Talker ID (GP for a GPS unit, GL for a GLONASS)
AAM Arrival alarm
A Arrival circle entered
A Perpendicular passed
0.10 Circle radius
N Nautical miles
WPTNME Waypoint name
*32 Checksum data

The new standard, NMEA 2000, accommodates several talkers at a higher baud rate, without using a central hub, or round-robin packet buffering.

The NMEA standard is proprietary and sells for at least US$ 325 as of June 2010. However, much of it has been reverse-engineered from public sources and is available in references like gpsd and Dale DePriest's.

Read more about this topic:  NMEA 0183

Famous quotes containing the words application, layer and/or rules:

    The receipt to make a speaker, and an applauded one too, is short and easy.—Take of common sense quantum sufficit, add a little application to the rules and orders of the House, throw obvious thoughts in a new light, and make up the whole with a large quantity of purity, correctness, and elegancy of style.
    Philip Dormer Stanhope, 4th Earl Chesterfield (1694–1773)

    After a few months’ acquaintance with European “coffee,” one’s mind weakens, and his faith with it, and he begins to wonder if the rich beverage of home, with its clotted layer of yellow cream on top of it, is not a mere dream after all, and a thing which never existed.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)

    This was Pharaoh, direct descendent of our deity Amon, god of the sun, who rules the heavens as Pharaoh rules the earth. Again, he brought treasure, gold, and precious jewels taken from our enemies. For to Pharaoh riches were power and power was to be desired. And also again he brought many captives. For is it not by slaves that one becomes even richer and then has even more power?
    William Faulkner (1897–1962)