[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
The Structure of NMEA Sentences

The Structure of NMEA Sentences

NMEA data is rather straightforward to interpret and sentences follow the same structure regardless of the GPS device's manufacturer.

$GPGSA,A,2,29,19,28,,,,,,,,,,23.4,12.1,20.0*0F

  • A dollar sign
  • Command word
  • Data words
  • An asterisk
  • A checksum

Command Word

This word is the most important in the sentence because it indicates the structure of the remaining data to follow. Standard NMEA sentences begin with "GP," but some manufacturers will make their own command words. Typically, manufacturer-specific command words have an abbreviated form of the manufacturer's name. For example, one GarminĀ® sentence is "$PGRMZ".

Data Words

The number of data words in a sentence varies depending on the command word. When a GPS device does not have any information, such as during the period before a fix is obtained, words may be completely blank.

The Checksum

The checksum is a two-character hexadecimal value calculated by the device which is used to detect corrupt information. NMEA interpreters will typically calculate their own checksum.

If you need help with this page, please feel free to contact Jon Person at info@gpsdotnet.com.

last edited (September 10, 2004) by jperson, Number of views: 8138, Current Rev: 9 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.