Nmea 0183 Sentences 💯 Verified Source
$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47 | ID | Device Type | |----|--------------| | GP | GPS | | GL | GLONASS | | GA | Galileo | | GN | Combined GNSS | | BD | BeiDou | | II | Integrated Instrumentation | | RA | Radar | | SD | Sounder (Depth) | | HC | Heading/Compass (Magnetic) | | HE | Heading (Gyro) | | AI | AIS (Automatic Identification System) | | VW | Wind speed/angle | | MT | Meteorological | 5. Comprehensive List of Standard Sentence Formatters Below is a detailed table of the most widely used NMEA 0183 sentences:
def nmea_checksum(sentence_without_start): # Input: string after $ up to * (exclude *) xor_sum = 0 for ch in sentence_without_start: xor_sum ^= ord(ch) return f"xor_sum:02X" nmea 0183 sentences
$TTSSS,data1,data2,...,dataN*HH<CR><LF> | Field | Description | |-------|-------------| | $ or ! | Start delimiter ( ! used for proprietary sentences) | | TT | Talker ID (2 chars) – e.g., GP for GPS, II for integrated instrument, RA for radar, AI for AIS | | SSS | Sentence formatter (3 chars) – e.g., GGA , RMC , HDT | | , | Field delimiter | | data1...dataN | Variable data fields; null fields are allowed (consecutive commas) | | * | Checksum delimiter | | HH | Hexadecimal checksum (XOR of all characters between $ and * , excluding delimiters) | | <CR><LF> | Carriage Return + Line Feed (ASCII 13 and 10) | $GPGGA,123519,4807