NMEA.adoc 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732
  1. = NMEA Revealed =
  2. :description: A programmer's guide to NMEA0183, the GPS protocol reporting standard
  3. :keywords: NMEA0183, GPS, standard, protocol
  4. Eric S. Raymond <esr@thyrsus.com>
  5. v2.23, Mar 2019
  6. NMEA 0183 is a proprietary protocol issued by the National Marine
  7. Electronics Association for use in boat navigation and control
  8. systems. Because early GPS sensors were designed for compatibility
  9. with these systems, GPS reporting protocols are often a small
  10. subset of NMEA 0183 or mutated from such as subset. AIS, the
  11. Marine Automatic Identification system, also uses NMEA0183-like
  12. packet formats.
  13. This document is a list of NMEA 0183 sentences with field descriptions.
  14. It is primarily intended to help people understand GPS reports, but
  15. also exists because the author finds life-critical protocols with
  16. only closed/proprietary documentation deeply offensive.
  17. The master of this document is in asciidoc format at the GPSD project
  18. website; you are probably seeing it as a web page. You may encounter
  19. versions of it, in plain ASCII, that do not have a revision number and
  20. do not list an editor. These are older and should be considered
  21. obsolescent.
  22. == Sources and Applicable Standards ==
  23. This collection may originally have been redacted from the document
  24. cited as <<BETKE>>; see the list of sources at the end of this
  25. document. The official NMEA 0183 standard was not consulted at any
  26. point, thus this document is not a derivative work of that standard
  27. and is not controlled by the rapacious lawyers of NMEA.
  28. It appears there is an international standard, IEC 61162-1, published
  29. in 2000, that is essentially NMEA 0183. <<IEC61162-1>> says it "is closely
  30. aligned with NMEA 0183 version 2.30". Unfortunately, it costs money
  31. and is not redistributable.
  32. This collection of sentences is originally from the gpsdrive
  33. distribution, but adds more information on the following topics:
  34. * Old and new forms of VTG
  35. * Units used in GGA
  36. * Vendor extensions PRWIZCH and PMGNST
  37. * FAA Mode Indicator field for RMC, RMB, VTG, GLL, BWC, XTE.
  38. * New documentation on BWC, DTM, GBS, GNS, GRS, GST, MSK, and MSS sentences.
  39. * Sentence examples merged from <<GIDS>>
  40. * Sentence explanations from <<GIDS>> and elsewhere
  41. * Corrected badly mangled ZDA description.
  42. * Corrected DPT titling
  43. * Common talker IDs
  44. * Sentences HFB, ITS, TPC, TDS, TFI, TPC, TPR, TPT from GLOBALSAT.
  45. * Sentence PASHR from <<PASHR>>.
  46. * Satellite IDs: PRN vs NMEA-ID.
  47. * Error status indications.
  48. == Relationship to NMEA 2000 ==
  49. Recently the National Marine Electronics Association has attempted to
  50. replace NMEA 0183 with a very differently structured protocol named
  51. NMEA 2000. It is binary rather than textual, a profile or
  52. interpretation of the Controller Area Network (CAN) protocol used in
  53. automotive networking. Unlike NMEA 0183 it is frame-based and cannot
  54. be transmitted over serial links.
  55. While newer marine electronics uses this protocol, general-purpose
  56. GPSes have not adopted it. Thus we do not attempt to document NMEA
  57. 2000 here; see <<CANBUS>>, <<NMEA2000>>, and <<KEVERSOFT>> instead.
  58. == NMEA version timeline ==
  59. |========================================================================
  60. |NMEA 2.00 | January 1992
  61. |NMEA 2.01 | August 1994
  62. |NMEA 2.10 | October 1995
  63. |NMEA 2.20 | January 1997
  64. |NMEA 2.30 | March 1998
  65. |NMEA 3.00 | July 2000
  66. |NMEA 3.01 | January 2002
  67. |NMEA 4.00 | November 2008
  68. |NMEA 4.10 | July 2012
  69. |========================================================================
  70. No version earlier than 2.00 is listed or archived on the NMEA website.
  71. The NMEA 4.00 standard states, provocatively, that it is "in theory"
  72. backwards compatible to 2.00, and that versions before 2.00 are not
  73. forward-compatible <<ANON>>.
  74. == NMEA 0183 physical protocol layer ==
  75. The NMEA specification requires a physical-level protocol compatible
  76. with RS422 at 4800bps, 8N1 or 7N2. It is RS422 rather than RS232
  77. because NMEA expects many navigational devices to feed a common serial
  78. bus. The data encoding is ASCII with the high data bit not used and
  79. zeroed.
  80. Consumer-grade GPS sensors normally report over an RS232 port or a USB
  81. port emulating an RS232 serial device; some use Bluetooth. Baud rate
  82. is variable, with 9600 probably the most common. Most devices use
  83. 8N1; there are rare exceptions that use 7N2 (San Jose Navigation) or
  84. even 8O1 (Trimble).
  85. == Sentence Mixes and NMEA Variations ==
  86. Most GPS sensors emit only RMC, GSA, GSV, GLL, VTG, and (rarely) ZDA.
  87. Newer ones conforming to NMEA 3.x may emit GBS as well. Other NMEA
  88. sentences are usually only emitted by high-end maritime navigation
  89. systems.
  90. The form of VTG is incompatibly variable with NMEA version. See
  91. the detailed description of that sentence for details.
  92. In NMEA 2.3, several sentences (APB, BWC, BWR, GLL, RMA, RMB, RMC,
  93. VTG, WCV, and XTE) got a new last field carrying the signal integrity
  94. information needed by the FAA. (The values in the GGA mode field were
  95. extended to carry this information as well.) Here are the values:
  96. FAA Mode Indicator
  97. A = Autonomous mode
  98. D = Differential Mode
  99. E = Estimated (dead-reckoning) mode
  100. F = RTK Float mode
  101. M = Manual Input Mode
  102. N = Data Not Valid
  103. P = Precise (4.00 and later)
  104. R = RTK Integer mode
  105. S = Simulated Mode
  106. This field may be empty. In pre-2.3 versions it is omitted. <<NTUM>> says
  107. that according to the NMEA specification, it dominates the Status field --
  108. the Status field will be set to "A" (data valid) for Mode Indicators A
  109. and D, and to "V" (data invalid) for all other values of the Mode
  110. Indicator. This is confirmed by <<IEC>>.
  111. In NMEA 3.0, the GBS sentence reports a complete set of error estimates. Note
  112. however that many receivers claiming to emit "3.0" or "3.01" don't
  113. actually ship this sentence.
  114. == NMEA Encoding Conventions ==
  115. Data is transmitted in serial async, 1 start-bit, 8 data-bits,
  116. 1 stop-bit, no parity. Data-bits are in least-significant-bit
  117. order. The standard specifies 4800 as the speed, but this is no
  118. longer common. The most-signifacant-bit is always zero.
  119. An NMEA sentence consists of a start delimiter, followed by a
  120. comma-separated sequence of fields, followed by the character '*'
  121. (ASCII 42), the checksum and an end-of-line marker.
  122. The start delimiter is normally '$' (ASCII 36). Packets of AIVDM/AIVDO
  123. data, which are otherwise formatted like NMEA, use '!'. Up to 4.00
  124. these are the only permitted start characters <<ANON>>.
  125. The first field of a sentence is called the "tag" and normally
  126. consists of a two-letter talker ID followed by a three-letter
  127. type code.
  128. Where a numeric latitude or longitude is given, the two digits
  129. immediately to the left of the decimal point are whole minutes, to the
  130. right are decimals of minutes, and the remaining digits to the left of
  131. the whole minutes are whole degrees.
  132. Eg. 4533.35 is 45 degrees and 33.35 minutes. ".35" of a minute is
  133. exactly 21 seconds.
  134. Eg. 16708.033 is 167 degrees and 8.033 minutes. ".033" of a minute is
  135. about 2 seconds.
  136. In NMEA 3.01 (and possibly some earlier versions), the character "^"
  137. (HEX 5E) is reserved as an introducer for two-character hex escapes
  138. using 0-9 and A-F, expressing an ISO 8859-1 (Latin-1) character <<ANON>>.
  139. The Checksum is mandatory, and the last field in a sentence. It is
  140. the 8-bit XOR of all characters in the sentence, excluding the "$", "I",
  141. or "*" characters; but including all "," and "^". It is encoded as
  142. two hexadecimal characters (0-9, A-F), the most-significant-nibble
  143. being sent first.
  144. Sentences are terminated by a <CR><LF> sequence.
  145. Maximum sentence length, including the $ and <CR><LF> is 82 bytes.
  146. According to <<UNMEA>>, the NMEA standard requires that a field (such as
  147. altitude, latitude, or longitude) must be left empty when the GPS has
  148. no valid data for it. However, many receivers violate this. It's
  149. common, for example, to see latitude/longitude/altitude figures filled
  150. with zeros when the GPS has no valid data.
  151. == Dates and times ==
  152. NMEA devices report date and time in UTC, aka GMT, aka Zulu time (as
  153. opposed to local time). But the way this report is computed results
  154. in some odd bugs and inaccuracies.
  155. Date and time in GPS is represented as number of weeks from the start
  156. of zero second of 6 January 1980, plus number of seconds into the
  157. week. GPS time is not leap-second corrected, though satellites also
  158. broadcast a current leap-second correction which may be updated on
  159. three-month boundaries according to rotational bulletins issued by the
  160. International Earth Rotation and Reference Systems Service (IERS).
  161. The leap-second correction is only included in the multiplexed satellite
  162. subframe broadcast, once every 12.5 minutes. While the satellites do
  163. notify GPSes of upcoming leap-seconds, this notification is not
  164. necessarily processed correctly on consumer-grade devices, and may not
  165. be available at all when a GPS receiver has just cold-booted. Thus,
  166. reported UTC time may be slightly inaccurate between a cold boot or leap
  167. second and the following subframe broadcast.
  168. GPS date and time are subject to a rollover problem in the 10-bit week
  169. number counter, which will re-zero every 1024 weeks (roughly every 19.6
  170. years). The first rollover since GPS went live in 1980 was in Aug-1999,
  171. followed by Apr-2019, the next will be in Nov-2038 (the 32-bit and POSIX
  172. issues will probably be more important by then). The new "CNAV" data
  173. format extends the week number to 13 bits, with the first rollover
  174. occurring in Jan-2137, but this is only used with some newly added GPS
  175. signals, and is unlikely to be usable in most consumer-grade receivers
  176. currently.
  177. For accurate time reporting, therefore, a GPS requires a supplemental
  178. time references sufficient to identify the current rollover period,
  179. e.g. accurate to within 512 weeks. Many NMEA GPSes have a wired-in
  180. assumption about the UTC time of the last rollover and will thus report
  181. incorrect times outside the rollover period they were designed in.
  182. For these reasons, NMEA GPSes should not be considered high-quality
  183. references for absolute time. Some do, however, emit pulse-per-second
  184. RS232 signals which can be used to improve the precision of an
  185. external clock. See <<PPS>> for discussion.
  186. == Error status indications
  187. The NMEA sentences in the normal GPS inventory return four kinds of
  188. validity flags: Mode, Status, the Active/Void bit, and in later
  189. versions the FAA indicator mode. The FAA mode field is legally
  190. required and orthogonal to the others. Here's how the first three used
  191. in various sentences:
  192. [frame="topbot",options="header"]
  193. |========================================================
  194. | | GPRMC | GPGLL | GPGGA | GPGSA
  195. |Returns A/V | Yes | Yes | No | No
  196. |Returns mode | No | No | No | Yes
  197. |Returns status | No | Yes | Yes | No
  198. |========================================================
  199. The "Navigation receiver warning" is 'A' for Active and 'V' for Void.
  200. (or warning). You will see it when either there is no satellite lock,
  201. or to indicate a valid fix that has a DOP too high, or which fails an
  202. elevation test. In the latter case the visible sats are below some
  203. fixed elevation of the horizon (usually 15%, but some GPSes make this
  204. adjustable) making position unreliable due to poor geometry and more
  205. variable signal lag induced by lengthened atmosphere transit.
  206. Mode is associated with the GSA sentence associated with the last fix.
  207. It reports whether the fix was no good, sufficient for 2D, or
  208. sufficient for 3D (values 1, 2, and 3).
  209. Status will be 0 when the sample from which the reporting
  210. sentence was generated does not have a valid fix, 1 when it has
  211. a valid (normal-precision) fix, and 2 when the fig is DGPS corrected
  212. (reducing the base error).
  213. In addition, some sentences may use empty fields to signify invalid
  214. data. It is not clear whether NMEA 0183 allows this, but real-world
  215. software must cope.
  216. .FAA Mode Indicator
  217. |================================================================
  218. |A | Autonomous mode
  219. |D | Differential mode
  220. |E | Estimated (dead reckoning) mode
  221. |M | Manual input mode
  222. |S | Simulator mode
  223. |N | Data not valid
  224. |================================================================
  225. == Talker IDs ==
  226. NMEA sentences do not identify the individual device that issued
  227. them; the format was originally designed for shipboard multidrop
  228. networks on which it's possible only to broadcast to all devices, not
  229. address a specific one.
  230. NMEA sentences do, however, include a "talker ID" a two-character
  231. prefix that identifies the type of the transmitting unit. By far the
  232. most common talker ID is "GP", identifying a generic GPS, but all of
  233. the following are well known:
  234. .Common talker IDs
  235. |================================================================
  236. |BD | BeiDou (China)
  237. |CD | Digital Selective Calling (DSC)
  238. |EC | Electronic Chart Display & Information System (ECDIS)
  239. |GA | Galileo Positioning System
  240. |GB | BeiDou (China)
  241. |GL | GLONASS, according to IEIC 61162-1
  242. |GN | Mixed GPS and GLONASS data, according to IEIC 61162-1
  243. |GP | Global Positioning System receiver
  244. |II | Integrated Instrumentation
  245. |IN | Integrated Navigation
  246. |LC | Loran-C receiver (obsolete)
  247. |QZ | QZSS regional GPS augmentation system (Japan)
  248. |================================================================
  249. EC -- ECDIS is a specialized geographical information system intended
  250. to support professional maritime navigation. NMEA talker units
  251. meeting the ECDIS standard use this prefix. Some of these emit GLL.
  252. II -- II is emitted by the NMEA interfaces of several widely-used lines
  253. of marine-navigation electronics. One is the AutoHelm system by
  254. Raymarine; see also <<SEATALK>> for the native protocol of these
  255. devices.
  256. IN -- Some Garmin GPS units use an IN talker ID.
  257. CD -- Modern marine VHF radios use conventions collectively known as
  258. Digital Selective Calling (DSC). These radios typically take data
  259. from a local position indicating device. This data is used in
  260. conjunction with a unique (FCC assigned) ID to cause your radio to
  261. broadcast your position data to others. Conversely, these radios are
  262. capable of recieving position data of other stations and emitting
  263. sentences indicating other station positions. This lets you plot the
  264. position of other vessels on a chart, for instance. There has been at
  265. least one instance of a DSC enabled radio overloading (mis-using) the
  266. LC talker prefix for this purpose. Otherwise they use the CD prefix.
  267. A vessel's nav system is likely to have both CD and some other
  268. position indicating talker on its bus(es).
  269. LC -- Loran-C is a marine navigation system formerly run by many
  270. governments (USA, Canada, Russia, etc.). It was shut down in most
  271. countries by the end of 2010. Norway and France shutdown their's in
  272. 2015. Some non-Loran devices emit GLL but use this talker ID for
  273. backward-compatibility reasons, so it outlasted the actual Loran-C
  274. system.
  275. Until the U.S. Coast Guard terminated the Omega Navigation System in
  276. 1997, another common talker prefix was "OM" for an Omega Navigation
  277. System receiver.
  278. Here is a more complete list of talker ID prefixes. Most are not
  279. relevant to GPS systems.
  280. Note that talker IDs made obsolete by newer revisions of the
  281. standards may still be emitted by older devices. Support
  282. for them may be present in the GPSD project.
  283. .Big list of talker IDs
  284. |================================================================
  285. |AB | Independent AIS Base Station
  286. |AD | Dependent AIS Base Station
  287. |AG | Autopilot - General
  288. |AP | Autopilot - Magnetic
  289. |BD | BeiDou (China)
  290. |BN | Bridge navigational watch alarm system
  291. |CC | Computer - Programmed Calculator (obsolete)
  292. |CD | Communications - Digital Selective Calling (DSC)
  293. |CM | Computer - Memory Data (obsolete)
  294. |CS | Communications - Satellite
  295. |CT | Communications - Radio-Telephone (MF/HF)
  296. |CV | Communications - Radio-Telephone (VHF)
  297. |CX | Communications - Scanning Receiver
  298. |DE | DECCA Navigation (obsolete)
  299. |DF | Direction Finder
  300. |DM | Velocity Sensor, Speed Log, Water, Magnetic
  301. |DU | Duplex repeater station
  302. |EC | Electronic Chart Display & Information System (ECDIS)
  303. |EP | Emergency Position Indicating Beacon (EPIRB)
  304. |ER | Engine Room Monitoring Systems
  305. |GA | Galileo Positioning System
  306. |GB | BeiDou (China)
  307. |GL | GLONASS, according to IEIC 61162-1
  308. |GN | Mixed GPS and GLONASS data, according to IEIC 61162-1
  309. |GP | Global Positioning System (GPS)
  310. |HC | Heading - Magnetic Compass
  311. |HE | Heading - North Seeking Gyro
  312. |HN | Heading - Non North Seeking Gyro
  313. |II | Integrated Instrumentation
  314. |IN | Integrated Navigation
  315. |LA | Loran A (obsolete)
  316. |LC | Loran C (obsolete)
  317. |MP | Microwave Positioning System (obsolete)
  318. |NL | Navigation light controller
  319. |OM | OMEGA Navigation System (obsolete)
  320. |OS | Distress Alarm System (obsolete)
  321. |P | Vendor specific
  322. |QZ | QZSS regional GPS augmentation system (Japan)
  323. |RA | RADAR and/or ARPA
  324. |SD | Depth Sounder
  325. |SN | Electronic Positioning System, other/general
  326. |SS | Scanning Sounder
  327. |ST | Skytraq debug output
  328. |TI | Turn Rate Indicator
  329. |TR | TRANSIT Navigation System
  330. |U# | '#' is a digit 0 ... 9; User Configured
  331. |UP | Microprocessor controller
  332. |VD | Velocity Sensor, Doppler, other/general
  333. |VW | Velocity Sensor, Speed Log, Water, Mechanical
  334. |WI | Weather Instruments
  335. |YC | Transducer - Temperature (obsolete)
  336. |YD | Transducer - Displacement, Angular or Linear (obsolete)
  337. |YF | Transducer - Frequency (obsolete)
  338. |YL | Transducer - Level (obsolete)
  339. |YP | Transducer - Pressure (obsolete)
  340. |YR | Transducer - Flow Rate (obsolete)
  341. |YT | Transducer - Tachometer (obsolete)
  342. |YV | Transducer - Volume (obsolete)
  343. |YX | Transducer
  344. |ZA | Timekeeper - Atomic Clock
  345. |ZC | Timekeeper - Chronometer
  346. |ZQ | Timekeeper - Quartz
  347. |ZV | Timekeeper - Radio Update, WWV or WWVH
  348. |================================================================
  349. == Satellite IDs ==
  350. Satellites may be identified by one of two different numbers in
  351. sentences such as GSV: a PRN number associated with their radio code,
  352. or an NMEA-ID.
  353. For satellites 1-32, the GPS constellation, these numbers are the
  354. same. For satellites associated with WAAS (Wide Area Augmentation
  355. System), EGNOS (European Geostationary Navigation Overlay Service),
  356. and MSAS (Multi-functional Satellite Augmentation System), they are
  357. different.
  358. Here is a table of NMEA-ID allocations above 32 as of March 2010:
  359. [frame="topbot",options="header"]
  360. |====================================================
  361. |System |Satellite |PRN |NMEA-ID
  362. |EGNOS |AOR-E |120 |33
  363. |EGNOS |Artemis |124 |37
  364. |EGNOS |IOR-W |126 |39
  365. |MSAS |MTSAT-1 |129 |42
  366. |EGNOS |IOR-E |131 |44
  367. |WAAS |AMR |133 |46
  368. |WAAS |PanAm |135 |48
  369. |MSAS |MTSAT-2 |137 |50
  370. |WAAS |Anik |138 |51
  371. |====================================================
  372. Theoretically, all NMEA-emitting devices should emit NMEA-IDs. In
  373. practice, some pass through PRNs.
  374. To avoid possible confusion caused by repetition of satellite ID
  375. numbers when using multiple satellite systems, the following
  376. convention has been adopted:
  377. a. GPS satellites are identified by their PRN numbers, which range from 1 to 32.
  378. b. The numbers 33-64 are reserved for WAAS satellites. The WAAS system
  379. PRN numbers are 120-138. The offset from NMEA WAAS SV ID to WAAS PRN
  380. number is 87. A WAAS PRN number of 120 minus 87 yields the SV ID of 33.
  381. The addition of 87 to the SV ID yields the WAAS PRN number.
  382. c. The numbers 65-96 are reserved for GLONASS satellites. GLONASS
  383. satellites are identified by 64+satellite slot number. The slot
  384. numbers are 1 through 24 for the full constellation of 24 satellites,
  385. this gives a range of 65 through 88. The numbers 89 through 96 are
  386. available if slot numbers above 24 are allocated to on-orbit spares.
  387. Other sources such as <<SATSTAT>> confirm that the NMEA standard
  388. assigns NMEA IDs 65-96 to GLONASS. The following
  389. table is our best guess of NMEA usage in 2018:
  390. [frame="topbot",options="header"]
  391. |====================================================
  392. | 1 - 32 | GPS
  393. | 33 - 54 | Various SBAS systems (EGNOS, WAAS, SDCM, GAGAN, MSAS)
  394. | 55 - 64 | not used (might be assigned to further SBAS systems)
  395. | 65 - 88 | GLONASS
  396. | 89 - 96 | GLONASS (future extensions?)
  397. | 97 - 119 | not used
  398. | 120 - 151 | not used (SBAS PRNs occupy this range)
  399. | 152 - 158 | Various SBAS systems (EGNOS, WAAS, SDCM, GAGAN, MSAS)
  400. | 159 - 172 | not used
  401. | 173 - 182 | IMES
  402. | 193 - 197 | QZSS
  403. | 196 - 200 | QZSS (future extensions?)
  404. | 201 - 235 | BeiDou (u-blox, not NMEA)
  405. | 301 - 336 | GALILEO
  406. | 401 - 437 | BeiDou (NMEA)
  407. |====================================================
  408. GLONASS satellite numbers come in two flavors. If a sentence
  409. has a GL talker ID, expect the skyviews to be GLONASS-only and
  410. in the range 1-32; you must add 64 to get a globally-unique
  411. NMEA ID. If the sentence has a GN talker ID, the device emits
  412. a multi-constellation skyview with GLONASS IDs already in
  413. the 65-96 range.
  414. QZSS is a geosynchronous (*not geostationary*) system of three
  415. (possibly four) satellites in highly elliptical, inclined,
  416. orbits. It is designed to provide coverage in Japan's
  417. urban canyons.
  418. BeiDou-1 consists of 4 geostationary satellites operated by China,
  419. operational since 2004. Coverage area is the Chinese mainland.
  420. gpsd does not support this, as this requires special hardware,
  421. and prior arrangements with the operator, who calculates and
  422. returns the position fix.
  423. BeiDou-2 (earlier known as COMPASS) is a system of 35 satellites,
  424. including 5 geostationary for compatibility with BeiDou-1.
  425. As of late 2015, coverage is complete over most of Asia and the
  426. West Pacific. It is expected to be fully operational by 2020, by
  427. when coverage area is expected to be worldwide.
  428. Note that the PRN system is becoming increasingly fragmented and
  429. unworkable. New GPS denote each satellite, and their signals, by their
  430. constellation (gnssID), satellite id in that constellation (svId), and
  431. signal type (sigId). NMEA, as of version 4, has not adapted.
  432. == Obsolete sentences ==
  433. Note that sentences made obsolete by newer revisions of the
  434. standards may still be emitted by devices.
  435. Support for them may be present in the GPSD project.
  436. The following NMEA sentences have been designated "obsolete" in a
  437. publicly available NMEA document dated 2009.
  438. |================================================================
  439. |APA | Autopilot Sentence "A"
  440. |BER | Bearing & Distance to Waypoint, Dead Reckoning, Rhumb Line
  441. |BPI | Bearing & Distance to Point of Interest
  442. |DBK | Depth Below Keel
  443. |DBS | Depth Below Surface
  444. |DRU | Dual Doppler Auxiliary Data
  445. |GDA | Dead Reckoning Positions
  446. |GLA | Loran-C Positions
  447. |GOA | OMEGA Positions
  448. |GXA | TRANSIT Positions
  449. |GTD | Geographical Position, Loran-C TDs
  450. |GXA | TRANSIT Position
  451. |HCC | Compass Heading
  452. |HCD | Heading and Deviation
  453. |HDM | Heading, Magnetic
  454. |HDT | Heading, True
  455. |HVD | Magnetic Variation, Automatic
  456. |HVM | Magnetic Variation, Manually Set
  457. |IMA | Vessel Identification
  458. |MDA | Meteorological Composite
  459. |MHU | Humidity
  460. |MMB | Barometer
  461. |MTA | Air Temperature
  462. |MWH | Wave Height
  463. |MWS | Wind & Sea State
  464. |Rnn | Routes
  465. |SBK | Loran-C Blink Status
  466. |SCY | Loran-C Cycle Lock Status
  467. |SCD | Loran-C ECDs
  468. |SDB | Loran-C Signal Strength
  469. |SGD | Position Accuracy Estimate
  470. |SGR | Loran-C Chain Identifier
  471. |SIU | Loran-C Stations in Use
  472. |SLC | Loran-C Status
  473. |SNC | Navigation Calculation Basis
  474. |SNU | Loran-C SNR Status
  475. |SPS | Loran-C Predicted Signal Strength
  476. |SSF | Position Correction Offset
  477. |STC | Time Constant
  478. |STR | Tracking Reference
  479. |SYS | Hybrid System Configuration
  480. |================================================================
  481. == NMEA-Standard Sentences ==
  482. Here are the NMEA-standard sentences we know about:
  483. === AAM - Waypoint Arrival Alarm ===
  484. This sentence is generated by some units to indicate the status of
  485. arrival (entering the arrival circle, or passing the perpendicular of
  486. the course line) at the destination waypoint.
  487. ------------------------------------------------------------------------------
  488. 1 2 3 4 5 6
  489. | | | | | |
  490. $--AAM,A,A,x.x,N,c--c*hh<CR><LF>
  491. ------------------------------------------------------------------------------
  492. Field Number:
  493. 1. Status, BOOLEAN, A = Arrival circle entered, V = not passed
  494. 2. Status, BOOLEAN, A = perpendicular passed at waypoint, V = not passed
  495. 3. Arrival circle radius
  496. 4. Units of radius, nautical miles
  497. 5. Waypoint ID
  498. 6. Checksum
  499. Example: GPAAM,A,A,0.10,N,WPTNME*43
  500. WPTNME is the waypoint name.
  501. === ALM - GPS Almanac Data ===
  502. This sentence expresses orbital data for a specified GPS satellite.
  503. ------------------------------------------------------------------------------
  504. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
  505. | | | | | | | | | | | | | | | |
  506. $--ALM,x.x,x.x,xx,x.x,hh,hhhh,hh,hhhh,hhhh,hhhhhh,hhhhhh,hhhhhh,hhhhhh,hhh,hhh,*hh<CR><LF>
  507. ------------------------------------------------------------------------------
  508. Field Number:
  509. 1. Total number of messages
  510. 2. Sentence Number
  511. 3. Satellite PRN number (01 to 32)
  512. 4. GPS Week Number
  513. 5. SV health, bits 17-24 of each almanac page
  514. 6. Eccentricity
  515. 7. Almanac Reference Time
  516. 8. Inclination Angle
  517. 9. Rate of Right Ascension
  518. 10. Root of semi-major axis
  519. 11. Argument of perigee
  520. 12. Longitude of ascension node
  521. 13. Mean anomaly
  522. 14. F0 Clock Parameter
  523. 15. F1 Clock Parameter
  524. 16. Checksum
  525. Fields 5 through 15 are dumped as raw hex.
  526. Example:
  527. $GPALM,1,1,15,1159,00,441d,4e,16be,fd5e,a10c9f,4a2da4,686e81,58cbe1,0a4,001*5B
  528. === APA - Autopilot Sentence "A" ===
  529. This sentence is sent by some GPS receivers to allow them to be used
  530. to control an autopilot unit. This sentence is commonly used by
  531. autopilots and contains navigation receiver warning flag status,
  532. cross-track-error, waypoint arrival status, initial bearing from
  533. origin waypoint to the destination, continuous bearing from present
  534. position to destination and recommended heading-to-steer to
  535. destination waypoint for the active navigation leg of the journey.
  536. ------------------------------------------------------------------------------
  537. 1 2 3 4 5 6 7 8 9 10 11
  538. | | | | | | | | | | |
  539. $--APA,A,A,x.xx,L,N,A,A,xxx,M,c---c*hh<CR><LF>
  540. ------------------------------------------------------------------------------
  541. Field Number:
  542. 1. Status
  543. V = Loran-C Blink or SNR warning
  544. V = general warning flag or other navigation systems when a reliable
  545. fix is not available
  546. 2. Status
  547. V = Loran-C Cycle Lock warning flag
  548. A = OK or not used
  549. 3. Cross Track Error Magnitude
  550. 4. Direction to steer, L or R
  551. 5. Cross Track Units (Nautic miles or kilometers)
  552. 6. Status
  553. A = Arrival Circle Entered
  554. 7. Status
  555. A = Perpendicular passed at waypoint
  556. 8. Bearing origin to destination
  557. 9. M = Magnetic, T = True
  558. 10. Destination Waypoint ID
  559. 11. checksum
  560. Example: $GPAPA,A,A,0.10,R,N,V,V,011,M,DEST,011,M*82
  561. === APB - Autopilot Sentence "B" ===
  562. This is a fixed form of the APA sentence with some ambiguities removed.
  563. Note: Some autopilots, Robertson in particular, misinterpret "bearing
  564. from origin to destination" as "bearing from present position to
  565. destination". This is likely due to the difference between the APB
  566. sentence and the APA sentence. for the APA sentence this would be the
  567. correct thing to do for the data in the same field. APA only differs
  568. from APB in this one field and APA leaves off the last two fields
  569. where this distinction is clearly spelled out. This will result in
  570. poor performance if the boat is sufficiently off-course that the two
  571. bearings are different.
  572. 13 15
  573. ------------------------------------------------------------------------------
  574. 1 2 3 4 5 6 7 8 9 10 11 12| 14|
  575. | | | | | | | | | | | | | | |
  576. $--APB,A,A,x.x,a,N,A,A,x.x,a,c--c,x.x,a,x.x,a*hh<CR><LF>
  577. ------------------------------------------------------------------------------
  578. Field Number:
  579. 1. Status
  580. A = DAta valid
  581. V = Loran-C Blink or SNR warning
  582. V = general warning flag or other navigation systems when a reliable
  583. fix is not available
  584. 2. Status
  585. V = Loran-C Cycle Lock warning flag
  586. A = OK or not used
  587. 3. Cross Track Error Magnitude
  588. 4. Direction to steer, L or R
  589. 5. Cross Track Units, N = Nautical Miles
  590. 6. Status
  591. A = Arrival Circle Entered
  592. 7. Status
  593. A = Perpendicular passed at waypoint
  594. 8. Bearing origin to destination
  595. 9. M = Magnetic, T = True
  596. 10. Destination Waypoint ID
  597. 11. Bearing, present position to Destination
  598. 12. M = Magnetic, T = True
  599. 13. Heading to steer to destination waypoint
  600. 14. M = Magnetic, T = True
  601. 15. Checksum
  602. Example: $GPAPB,A,A,0.10,R,N,V,V,011,M,DEST,011,M,011,M*82
  603. === BOD - Bearing - Waypoint to Waypoint ===
  604. ------------------------------------------------------------------------------
  605. 1 2 3 4 5 6 7
  606. | | | | | | |
  607. $--BOD,x.x,T,x.x,M,c--c,c--c*hh<CR><LF>
  608. ------------------------------------------------------------------------------
  609. Field Number:
  610. 1. Bearing Degrees, True
  611. 2. T = True
  612. 3. Bearing Degrees, Magnetic
  613. 4. M = Magnetic
  614. 5. Destination Waypoint
  615. 6. origin Waypoint
  616. 7. Checksum
  617. Example 1: $GPBOD,099.3,T,105.6,M,POINTB,*01
  618. Waypoint ID: "POINTB" Bearing 99.3 True, 105.6 Magnetic This sentence
  619. is transmitted in the GOTO mode, without an active route on your
  620. GPS. WARNING: this is the bearing from the moment you press enter in
  621. the GOTO page to the destination waypoint and is NOT updated
  622. dynamically! To update the information, (current bearing to waypoint),
  623. you will have to press enter in the GOTO page again.
  624. Example 2: $GPBOD,097.0,T,103.2,M,POINTB,POINTA*52
  625. This sentence is transmitted when a route is active. It contains the
  626. active leg information: origin waypoint "POINTA" and destination
  627. waypoint "POINTB", bearing between the two points 97.0 True, 103.2
  628. Magnetic. It does NOT display the bearing from current location to
  629. destination waypoint! WARNING Again this information does not change
  630. until you are on the next leg of the route. (The bearing from POINTA
  631. to POINTB does not change during the time you are on this leg.)
  632. This sentence has been replaced by BWW in NMEA 4.00 (and posssibly
  633. earlier versions) <<ANON>>.
  634. === BWC - Bearing & Distance to Waypoint - Great Circle ===
  635. ------------------------------------------------------------------------------
  636. 12
  637. 1 2 3 4 5 6 7 8 9 10 11| 13 14
  638. | | | | | | | | | | | | | |
  639. $--BWC,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x.x,T,x.x,M,x.x,N,c--c,m,*hh<CR><LF>
  640. ------------------------------------------------------------------------------
  641. Field Number:
  642. 1. UTC Time or observation
  643. 2. Waypoint Latitude
  644. 3. N = North, S = South
  645. 4. Waypoint Longitude
  646. 5. E = East, W = West
  647. 6. Bearing, degrees True
  648. 7. T = True
  649. 8. Bearing, degrees Magnetic
  650. 9. M = Magnetic
  651. 10. Distance, Nautical Miles
  652. 11. N = Nautical Miles
  653. 12. Waypoint ID
  654. 13. FAA mode indicator (NMEA 2.3 and later, optional)
  655. 14. Checksum
  656. Example 1: $GPBWC,081837,,,,,,T,,M,,N,*13
  657. Example 2: GPBWC,220516,5130.02,N,00046.34,W,213.8,T,218.0,M,0004.6,N,EGLM*11
  658. === BWR - Bearing and Distance to Waypoint - Rhumb Line ===
  659. ------------------------------------------------------------------------------
  660. 11 14
  661. 1 2 3 4 5 6 7 8 9 10 | 12 13 |
  662. | | | | | | | | | | | | | |
  663. $--BWR,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x.x,T,x.x,M,x.x,N,c--c,m*hh<CR><LF>
  664. ------------------------------------------------------------------------------
  665. Field Number:
  666. 1. UTC Time of observation
  667. 2. Waypoint Latitude
  668. 3. N = North, S = South
  669. 4. Waypoint Longitude
  670. 5. E = East, W = West
  671. 6. Bearing, degrees True
  672. 7. T = True
  673. 8. Bearing, degrees Magnetic
  674. 9. M = Magnetic
  675. 10. Distance, Nautical Miles
  676. 11. N = Nautical Miles
  677. 12. Waypoint ID
  678. 13. FAA mode indicator (NMEA 2.3 and later, optional)
  679. 14. Checksum
  680. === BWW - Bearing - Waypoint to Waypoint ===
  681. Bearing calculated at the FROM waypoint.
  682. ------------------------------------------------------------------------------
  683. 1 2 3 4 5 6 7
  684. | | | | | | |
  685. $--BWW,x.x,T,x.x,M,c--c,c--c*hh<CR><LF>
  686. ------------------------------------------------------------------------------
  687. Field Number:
  688. 1. Bearing, degrees True
  689. 2. T = True
  690. 3. Bearing Degrees, Magnetic
  691. 4. M = Magnetic
  692. 5. TO Waypoint ID
  693. 6. FROM Waypoint ID
  694. 7. Checksum
  695. === DBK - Depth Below Keel ===
  696. ------------------------------------------------------------------------------
  697. 1 2 3 4 5 6 7
  698. | | | | | | |
  699. $--DBK,x.x,f,x.x,M,x.x,F*hh<CR><LF>
  700. ------------------------------------------------------------------------------
  701. Field Number:
  702. 1. Depth, feet
  703. 2. f = feet
  704. 3. Depth, meters
  705. 4. M = meters
  706. 5. Depth, Fathoms
  707. 6. F = Fathoms
  708. 7. Checksum
  709. === DBS - Depth Below Surface ===
  710. ------------------------------------------------------------------------------
  711. 1 2 3 4 5 6 7
  712. | | | | | | |
  713. $--DBS,x.x,f,x.x,M,x.x,F*hh<CR><LF>
  714. ------------------------------------------------------------------------------
  715. Field Number:
  716. 1. Depth, feet
  717. 2. f = feet
  718. 3. Depth, meters
  719. 4. M = meters
  720. 5. Depth, Fathoms
  721. 6. F = Fathoms
  722. 7. Checksum
  723. === DBT - Depth below transducer ===
  724. ------------------------------------------------------------------------------
  725. 1 2 3 4 5 6 7
  726. | | | | | | |
  727. $--DBT,x.x,f,x.x,M,x.x,F*hh<CR><LF>
  728. ------------------------------------------------------------------------------
  729. Field Number:
  730. 1. Water depth, feet
  731. 2. f = feet
  732. 3. Water depth, meters
  733. 4. M = meters
  734. 5. Water depth, Fathoms
  735. 6. F = Fathoms
  736. 7. Checksum
  737. In real-world sensors, sometimes not all three conversions are reported.
  738. So you might see something like $SDDBT,,f,22.5,M,,F*cs
  739. Example: $SDDBT,7.8,f,2.4,M,1.3,F*0D
  740. === DCN - Decca Position ===
  741. ------------------------------------------------------------------------------
  742. 11 13 16
  743. 1 2 3 4 5 6 7 8 9 10| 12| 14 15| 17
  744. | | | | | | | | | | | | | | | | |
  745. $--DCN,xx,cc,x.x,A,cc,x.x,A,cc,x.x,A,A,A,A,x.x,N,x*hh<CR><LF>
  746. ------------------------------------------------------------------------------
  747. Field Number:
  748. 1. Decca chain identifier
  749. 2. Red Zone Identifier
  750. 3. Red Line Of Position
  751. 4. Red Master Line Status
  752. 5. Green Zone Identifier
  753. 6. Green Line Of Position
  754. 7. Green Master Line Status
  755. 8. Purple Zone Identifier
  756. 9. Purple Line Of Position
  757. 10. Purple Master Line Status
  758. 11. Red Line Navigation Use
  759. 12. Green Line Navigation Use
  760. 13. Purple Line Navigation Use
  761. 14. Position Uncertainity
  762. 15. N = Nautical Miles
  763. 16. Fix Data Basis
  764. - 1 = Normal Pattern
  765. - 2 = Lane Identification Pattern
  766. - 3 = Lane Identification Transmissions
  767. 17. Checksum
  768. (The DCN sentence is obsolete as of 3.01)
  769. === DPT - Depth of Water ===
  770. ------------------------------------------------------------------------------
  771. 1 2 3 4
  772. | | | |
  773. $--DPT,x.x,x.x,x.x*hh<CR><LF>
  774. ------------------------------------------------------------------------------
  775. Field Number:
  776. 1. Water depth relative to transducer, meters
  777. 2. Offset from transducer, meters
  778. positive means distance from tansducer to water line
  779. negative means distance from transducer to keel
  780. 3. Maximum range scale in use (NMEA 3.0 and above)
  781. 4. Checksum
  782. This sentence was incorrectly titled "Heading - Deviation & Variation"
  783. in <<BETKE>>. It's documented at
  784. <http://www.humminbird.com/normal.asp?id=853>
  785. Example: $INDPT,2.3,0.0*46
  786. === DTM - Datum Reference ===
  787. ------------------------------------------------------------------------------
  788. 1 2 3 4 5 6 7 8 9
  789. | | | | | | | | |
  790. $ --DTM,ref,x,llll,c,llll,c,aaa,ref*hh<CR><LF>
  791. ------------------------------------------------------------------------------
  792. Field Number:
  793. 1. Local datum code.
  794. 2. Local datum subcode. May be blank.
  795. 3. Latitude offset (minutes)
  796. 4. N or S
  797. 5. Longitude offset (minutes)
  798. 6. E or W
  799. 7. Altitude offset in meters
  800. 8. Datum name. What's usually seen here is "W84", the standard
  801. WGS84 datum used by GPS.
  802. 9. Checksum.
  803. Example: $GPDTM,W84,C*52
  804. === FSI - Frequency Set Information ===
  805. Set (or report) frequency, mode of operation and transmitter power level of a
  806. radiotelephone.
  807. ------------------------------------------------------------------------------
  808. 1 2 3 4 5
  809. | | | | |
  810. $--FSI,xxxxxx,xxxxxx,c,x*hh<CR><LF>
  811. ------------------------------------------------------------------------------
  812. Field Number:
  813. 1. Transmitting Frequency
  814. 2. Receiving Frequency
  815. 3. Communications Mode (NMEA Syntax 2)
  816. 4. Power Level (0 = standby, 1 = lowest, 9 = highest)
  817. 5. Checksum
  818. === GBS - GPS Satellite Fault Detection ===
  819. ------------------------------------------------------------------------------
  820. 1 2 3 4 5 6 7 8 9
  821. | | | | | | | | |
  822. $--GBS,hhmmss.ss,x.x,x.x,x.x,x.x,x.x,x.x,x.x*hh<CR><LF>
  823. ------------------------------------------------------------------------------
  824. Field Number:
  825. 1. UTC time of the GGA or GNS fix associated with this sentence
  826. 2. Expected 1-sigma error in latitude (meters)
  827. 3. Expected 1-sigma error in longitude (meters)
  828. 4. Expected 1-sigma error in altitude (meters)
  829. 5. ID of most likely failed satellite (1 to 138)
  830. 6. Probability of missed detection for most likely failed satellite
  831. 7. Estimate of bias in meters on most likely failed satellite
  832. 8. Standard deviation of bias estimate
  833. 9. Checksum
  834. Note: Source <<MX521>> describes a proprietary extension of GBS with
  835. a 9th data field. The 8-field version is in NMEA 3.0.
  836. Example: $GPGBS,125027,23.43,M,13.91,M,34.01,M*07
  837. === GGA - Global Positioning System Fix Data ===
  838. This is one of the sentences commonly emitted by GPS units.
  839. Time, Position and fix related data for a GPS receiver.
  840. ------------------------------------------------------------------------------
  841. 11
  842. 1 2 3 4 5 6 7 8 9 10 | 12 13 14 15
  843. | | | | | | | | | | | | | | |
  844. $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>
  845. ------------------------------------------------------------------------------
  846. Field Number:
  847. 1. UTC of this position report
  848. 2. Latitude
  849. 3. N or S (North or South)
  850. 4. Longitude
  851. 5. E or W (East or West)
  852. 6. GPS Quality Indicator (non null)
  853. - 0 - fix not available,
  854. - 1 - GPS fix,
  855. - 2 - Differential GPS fix
  856. (values above 2 are 2.3 features)
  857. - 3 = PPS fix
  858. - 4 = Real Time Kinematic
  859. - 5 = Float RTK
  860. - 6 = estimated (dead reckoning)
  861. - 7 = Manual input mode
  862. - 8 = Simulation mode
  863. 7. Number of satellites in use, 00 - 12
  864. 8. Horizontal Dilution of precision (meters)
  865. 9. Antenna Altitude above/below mean-sea-level (geoid) (in meters)
  866. 10. Units of antenna altitude, meters
  867. 11. Geoidal separation, the difference between the WGS-84 earth
  868. ellipsoid and mean-sea-level (geoid), "-" means mean-sea-level
  869. below ellipsoid
  870. 12. Units of geoidal separation, meters
  871. 13. Age of differential GPS data, time in seconds since last SC104
  872. type 1 or 9 update, null field when DGPS is not used
  873. 14. Differential reference station ID, 0000-1023
  874. 15. Checksum
  875. Example:
  876. $GNGGA,001043.00,4404.14036,N,12118.85961,W,1,12,0.98,1113.0,M,-21.3,M,,*47
  877. === GLC - Geographic Position, Loran-C ===
  878. This sentence is obsolete over most of its former coverage area. The
  879. US/Canadian/Russian Loran-C network was shut down in 2010; it is still
  880. as of 2015 in limited use in Europe. Loran-C operations in Norway
  881. will cease from 1st Jan 2016. <<NORWAY>>
  882. ------------------------------------------------------------------------------
  883. 12 14
  884. 1 2 3 4 5 6 7 8 9 10 11| 13|
  885. | | | | | | | | | | | | | |
  886. $--GLC,xxxx,x.x,a,x.x,a,x.x,a.x,x,a,x.x,a,x.x,a*hh<CR><LF>
  887. ------------------------------------------------------------------------------
  888. Field Number:
  889. 1. GRI Microseconds/10
  890. 2. Master TOA Microseconds
  891. 3. Master TOA Signal Status
  892. 4. Time Difference 1 Microseconds
  893. 5. Time Difference 1 Signal Status
  894. 6. Time Difference 2 Microseconds
  895. 7. Time Difference 2 Signal Status
  896. 8. Time Difference 3 Microseconds
  897. 9. Time Difference 3 Signal Status
  898. 10. Time Difference 4 Microseconds
  899. 11. Time Difference 4 Signal Status
  900. 12. Time Difference 5 Microseconds
  901. 13. Time Difference 5 Signal Status
  902. 14. Checksum
  903. === GLL - Geographic Position - Latitude/Longitude ===
  904. This is one of the sentences commonly emitted by GPS units.
  905. ------------------------------------------------------------------------------
  906. 1 2 3 4 5 6 7 8
  907. | | | | | | | |
  908. $--GLL,llll.ll,a,yyyyy.yy,a,hhmmss.ss,a,m,*hh<CR><LF>
  909. ------------------------------------------------------------------------------
  910. Field Number:
  911. 1. Latitude
  912. 2. N or S (North or South)
  913. 3. Longitude
  914. 4. E or W (East or West)
  915. 5. UTC of this position
  916. 6. Status A - Data Valid, V - Data Invalid
  917. 7. FAA mode indicator (NMEA 2.3 and later)
  918. 8. Checksum
  919. Example: $GNGLL,4404.14012,N,12118.85993,W,001037.00,A,A*67
  920. === GNS - Fix data ===
  921. ------------------------------------------------------------------------------
  922. 1 2 3 4 5 6 7 8 9 10 11 12 13
  923. | | | | | | | | | | | | |
  924. $--GNS,hhmmss.ss,llll.ll,a,yyyyy.yy,a,c--c,xx,x.x,x.x,x.x,x.x,x.x*hh
  925. ------------------------------------------------------------------------------
  926. Field Number:
  927. 1. UTC of position
  928. 2. Latitude
  929. 3. N or S (North or South)
  930. 4. Longitude
  931. 5. E or W (East or West)
  932. 6. Mode indicator (non-null)
  933. 7. Total number of satelites in use, 00-99
  934. 8. Horizontal Dilution of Precision, HDOP
  935. 9. Antenna altitude, meters, re:mean-sea-level(geoid).
  936. 10. Goeidal separation meters
  937. 11. Age of differential data
  938. 12. Differential reference station ID
  939. 13. Navigational status (optional)
  940. S = Safe
  941. C = Caution
  942. U = Unsafe
  943. V = Not valid for navigation
  944. 14. Checksum
  945. The Mode indicator is one to four characters, with the first and second
  946. defined for GPS and GLONASS. Further characters may be defined. For
  947. each system, the character can have a value (table may be incomplete):
  948. * A = Autonomous (non-differential)
  949. * D = Differential mode
  950. * E = Estimated (dead reckoning) Mode
  951. * F = RTK Float
  952. * M = Manual Input Mode
  953. * N = Constellation not in use, or no valid fix
  954. * P = Precise (no degradation, like Selective Availability, and hires)
  955. * R = RTK Integer
  956. * S = Simulator Mode
  957. Example: $GPGNS,112257.00,3844.24011,N,00908.43828,W,AN,03,10.5,,,,*57
  958. === GRS - GPS Range Residuals ===
  959. ------------------------------------------------------------------------------
  960. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  961. | | | | | | | | | | | | | | |
  962. $ --GRS,hhmmss.ss,m,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,xx,*hh<CR><LF>
  963. ------------------------------------------------------------------------------
  964. Field Number:
  965. 1. UTC time of associated GGA fix
  966. 2. 0 = Residuals used in GGA, 1 = residuals calculated after GGA
  967. 3. Satellite 1 residual in meters
  968. 4. Satellite 2 residual in meters
  969. 5. Satellite 3 residual in meters
  970. 6. Satellite 4 residual in meters (blank if unused)
  971. 7. Satellite 5 residual in meters (blank if unused)
  972. 8. Satellite 6 residual in meters (blank if unused)
  973. 9. Satellite 7 residual in meters (blank if unused)
  974. 10. Satellite 8 residual in meters (blank if unused)
  975. 11. Satellite 9 residual in meters (blank if unused)
  976. 12. Satellite 10 residual in meters (blank if unused)
  977. 13. Satellite 11 residual in meters (blank if unused)
  978. 14. Satellite 12 residual in meters (blank if unused)
  979. 15. Checksum
  980. The order of satellites MUST match those in the last GSA.
  981. Example: $GPGRS,024603.00,1,-1.8,-2.7,0.3,,,,,,,,,*6C
  982. Note that the talker ID may be GP, GL, or GN, depending on if the residuals
  983. are for GPS-only, GLONASS-only, or combined solution, respectively.
  984. === GST - GPS Pseudorange Noise Statistics ===
  985. ------------------------------------------------------------------------------
  986. 1 2 3 4 5 6 7 8 9
  987. | | | | | | | | |
  988. $ --GST,hhmmss.ss,x,x,x,x,x,x,x,*hh<CR><LF>
  989. ------------------------------------------------------------------------------
  990. Field Number:
  991. 1. TC time of associated GGA fix
  992. 2. Total RMS standard deviation of ranges inputs to the navigation solution
  993. 3. Standard deviation (meters) of semi-major axis of error ellipse
  994. 4. Standard deviation (meters) of semi-minor axis of error ellipse
  995. 5. Orientation of semi-major axis of error ellipse (true north degrees)
  996. 6. Standard deviation (meters) of latitude error
  997. 7. Standard deviation (meters) of longitude error
  998. 8. Standard deviation (meters) of altitude error
  999. 9. Checksum
  1000. Example: $GPGST,182141.000,15.5,15.3,7.2,21.8,0.9,0.5,0.8*54
  1001. === GSA - GPS DOP and active satellites ===
  1002. This is one of the sentences commonly emitted by GPS units.
  1003. ------------------------------------------------------------------------------
  1004. 1 2 3 14 15 16 17 18
  1005. | | | | | | | |
  1006. $--GSA,a,a,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x.x,x.x,x.x*hh<CR><LF>
  1007. ------------------------------------------------------------------------------
  1008. Field Number:
  1009. 1. Selection mode: M=Manual, forced to operate in 2D or 3D, A=Automatic, 2D/3D
  1010. 2. Mode (1 = no fix, 2 = 2D fix, 3 = 3D fix)
  1011. 3. ID of 1st satellite used for fix
  1012. 4. ID of 2nd satellite used for fix
  1013. 5. ID of 3rd satellite used for fix
  1014. 6. ID of 4th satellite used for fix
  1015. 7. ID of 5th satellite used for fix
  1016. 8. ID of 6th satellite used for fix
  1017. 9. ID of 7th satellite used for fix
  1018. 10. ID of 8th satellite used for fix
  1019. 11. ID of 9th satellite used for fix
  1020. 12. ID of 10th satellite used for fix
  1021. 13. ID of 11th satellite used for fix
  1022. 14. ID of 12th satellite used for fix
  1023. 15. PDOP
  1024. 16. HDOP
  1025. 17. VDOP
  1026. 18. Checksum
  1027. Example: $GNGSA,A,3,80,71,73,79,69,,,,,,,,1.83,1.09,1.47*17
  1028. Note: NMEA 4.1+ systems (in particular u-blox 9) emit an extra field
  1029. just before the checksum.
  1030. -----------------------------------------------
  1031. 1 = GPS L1C/A, L2CL, L2CM
  1032. 2 = GLONASS L1 OF, L2 OF
  1033. 3 = Galileo E1C, E1B, E5 bl, E5 bQ
  1034. 4 = BeiDou B1I D1, B1I D2, B2I D1, B2I D12
  1035. -----------------------------------------------
  1036. === GSV - Satellites in view ===
  1037. This is one of the sentences commonly emitted by GPS units.
  1038. These sentences describe the sky position of a UPS satellite in view.
  1039. Typically they're shipped in a group of 2 or 3.
  1040. ------------------------------------------------------------------------------
  1041. 1 2 3 4 5 6 7 n
  1042. | | | | | | | |
  1043. $--GSV,x,x,x,x,x,x,x,...*hh<CR><LF>
  1044. ------------------------------------------------------------------------------
  1045. Field Number:
  1046. 1. total number of GSV sentences to be transmitted in this group
  1047. 2. Sentence number, 1-9 of this GSV message within current group
  1048. 3. total number of satellites in view (leading zeros sent)
  1049. 4. satellite ID number (leading zeros sent)
  1050. 5. elevation in degrees (-90 to 90) (leading zeros sent)
  1051. 6. azimuth in degrees to true north (000 to 359) (leading zeros sent)
  1052. 7. SNR in dB (00-99) (leading zeros sent)
  1053. more satellite info quadruples like 4-7
  1054. n) checksum
  1055. Example:
  1056. $GPGSV,3,1,11,03,03,111,00,04,15,270,00,06,01,010,00,13,06,292,00*74
  1057. $GPGSV,3,2,11,14,25,170,00,16,57,208,39,18,67,296,40,19,40,246,00*74
  1058. $GPGSV,3,3,11,22,42,067,42,24,14,311,43,27,05,244,00,,,,*4D
  1059. Some GPS receivers may emit more than 12 quadruples (more than three
  1060. GPGSV sentences), even though NMEA-0813 doesn't allow this. (The
  1061. extras might be WAAS satellites, for example.) Receivers may also
  1062. report quads for satellites they aren't tracking, in which case the
  1063. SNR field will be null; we don't know whether this is formally allowed
  1064. or not.
  1065. Example: $GLGSV,3,3,09,88,07,028,*51
  1066. === GTD - Geographic Location in Time Differences ===
  1067. ------------------------------------------------------------------------------
  1068. 1 2 3 4 5 6
  1069. | | | | | |
  1070. $--GTD,x.x,x.x,x.x,x.x,x.x*hh<CR><LF>
  1071. ------------------------------------------------------------------------------
  1072. Field Number:
  1073. 1. time difference
  1074. 2. time difference
  1075. 3. time difference
  1076. 4. time difference
  1077. 5. time difference
  1078. n) checksum
  1079. === GXA - TRANSIT Position - Latitude/Longitude ===
  1080. Location and time of TRANSIT fix at waypoint
  1081. ------------------------------------------------------------------------------
  1082. 1 2 3 4 5 6 7 8
  1083. | | | | | | | |
  1084. $--GXA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,c--c,X*hh<CR><LF>
  1085. ------------------------------------------------------------------------------
  1086. Field Number:
  1087. 1. UTC of position fix
  1088. 2. Latitude
  1089. 3. East or West
  1090. 4. Longitude
  1091. 5. North or South
  1092. 6. Waypoint ID
  1093. 7. Satelite number
  1094. 8. Checksum
  1095. (The GXA sentence is obsolete as of 3.01.)
  1096. === HDG - Heading - Deviation & Variation ===
  1097. ------------------------------------------------------------------------------
  1098. 1 2 3 4 5 6
  1099. | | | | | |
  1100. $--HDG,x.x,x.x,a,x.x,a*hh<CR><LF>
  1101. ------------------------------------------------------------------------------
  1102. Field Number:
  1103. 1. Magnetic Sensor heading in degrees
  1104. 2. Magnetic Deviation, degrees
  1105. 3. Magnetic Deviation direction, E = Easterly, W = Westerly
  1106. 4. Magnetic Variation degrees
  1107. 5. Magnetic Variation direction, E = Easterly, W = Westerly
  1108. 6. Checksum
  1109. === HDM - Heading - Magnetic ===
  1110. Vessel heading in degrees with respect to magnetic north produced by
  1111. any device or system producing magnetic heading.
  1112. ------------------------------------------------------------------------------
  1113. 1 2 3
  1114. | | |
  1115. $--HDM,x.x,M*hh<CR><LF>
  1116. ------------------------------------------------------------------------------
  1117. Field Number:
  1118. 1. Heading Degrees, magnetic
  1119. 2. M = magnetic
  1120. 3. Checksum
  1121. === HDT - Heading - True ===
  1122. Actual vessel heading in degrees true produced by any device or system
  1123. producing true heading.
  1124. ------------------------------------------------------------------------------
  1125. 1 2 3
  1126. | | |
  1127. $--HDT,x.x,T*hh<CR><LF>
  1128. ------------------------------------------------------------------------------
  1129. Field Number:
  1130. 1. Heading, degrees True
  1131. 2. T = True
  1132. 3. Checksum
  1133. Example: $GPHDT,274.07,T*03
  1134. === HFB - Trawl Headrope to Footrope and Bottom ===
  1135. ------------------------------------------------------------------------------
  1136. 1 2 3 4 5
  1137. | | | | |
  1138. $--HFB,x.x,M,y.y,M*hh<CR><LF>
  1139. ------------------------------------------------------------------------------
  1140. Field Number:
  1141. 1. Distance from headrope to footrope
  1142. 2. Meters (0-100)
  1143. 3. Distance from headrope to bottom
  1144. 4. Meters (0-100)
  1145. 5. Checksum
  1146. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1147. === HSC - Heading Steering Command ===
  1148. ------------------------------------------------------------------------------
  1149. 1 2 3 4 5
  1150. | | | | |
  1151. $--HSC,x.x,T,x.x,M,*hh<CR><LF>
  1152. ------------------------------------------------------------------------------
  1153. Field Number:
  1154. 1. Heading Degrees, True
  1155. 2. T = True
  1156. 3. Heading Degrees, Magnetic
  1157. 4. M = Magnetic
  1158. 5. Checksum
  1159. <<GLOBALSAT>> describes a completely different meaning for this
  1160. sentence, having to do with water temperature sensors. It is
  1161. unclear which is correct.
  1162. === ITS - Trawl Door Spread 2 Distance ===
  1163. ------------------------------------------------------------------------------
  1164. 1 2 3
  1165. | | |
  1166. $--ITS,x.x,M*hh<CR><LF>
  1167. ------------------------------------------------------------------------------
  1168. Field Number)
  1169. 1. Second spread distance
  1170. 2. Meters
  1171. 3. Checksum.
  1172. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1173. === LCD - Loran-C Signal Data ===
  1174. Obsolete.
  1175. ------------------------------------------------------------------------------
  1176. 1 2 3 4 5 6 7 8 9 10 11 12 13 14
  1177. | | | | | | | | | | | | | |
  1178. $--LCD,xxxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx,xxx*hh<CR><LF>
  1179. ------------------------------------------------------------------------------
  1180. Field Number:
  1181. 1. GRI Microseconds/10
  1182. 2. Master Relative SNR
  1183. 3. Master Relative ECD
  1184. 4. Time Difference 1 Microseconds
  1185. 5. Time Difference 1 Signal Status
  1186. 6. Time Difference 2 Microseconds
  1187. 7. Time Difference 2 Signal Status
  1188. 8. Time Difference 3 Microseconds
  1189. 9. Time Difference 3 Signal Status
  1190. 10. Time Difference 4 Microseconds
  1191. 11. Time Difference 4 Signal Status
  1192. 12. Time Difference 5 Microseconds
  1193. 13. Time Difference 5 Signal Status
  1194. 14. Checksum
  1195. === MDA - Meteorilogical Composite ===
  1196. ------------------------------------------------------------------------------
  1197. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  1198. | | | | | | | | | | | | | | | | | | | | |
  1199. $--MDA,n.nn,I,n.nnn,B,n.n,C,n.C,n.n,n,n.n,C,n.n,T,n.n,M,n.n,N,n.n,M*hh<CR><LF>
  1200. ------------------------------------------------------------------------------
  1201. Field Number:
  1202. 1. Barometric pressure, inches of mercury, to the nearest 0.01 inch
  1203. 2. I = inches of mercury
  1204. 3. Barometric pressure, bars, to the nearest .001 bar
  1205. 4. B = bars
  1206. 5. Air temperature, degrees C, to the nearest 0.1 degree C
  1207. 6. C = degrees C
  1208. 7. Water temperature, degrees C (this field left blank by WeatherStation)
  1209. 8. C = degrees C
  1210. 9. Relative humidity, percent, to the nearest 0.1 percent
  1211. 10. Absolute humidity, percent
  1212. 11. Dew point, degrees C, to the nearest 0.1 degree C
  1213. 12. C = degrees C
  1214. 13. Wind direction, degrees True, to the nearest 0.1 degree
  1215. 14. T = true
  1216. 15. Wind direction, degrees Magnetic, to the nearest 0.1 degree
  1217. 16. M = magnetic
  1218. 17. Wind speed, knots, to the nearest 0.1 knot
  1219. 18. N = knots
  1220. 19. Wind speed, meters per second, to the nearest 0.1 m/s
  1221. 20. M = meters per second
  1222. 21. Checksum
  1223. Obsolete as of 2009.
  1224. === MSK - Control for a Beacon Receiver ===
  1225. ------------------------------------------------------------------------------
  1226. 1 2 3 4 5 6
  1227. | | | | | |
  1228. $--MSK,nnn,m,nnn,m,nnn*hh<CR><LF>
  1229. ------------------------------------------------------------------------------
  1230. Field Number:
  1231. 1. Beacon frequency to use, 283.5-325.0 kHz
  1232. 2. Frequency mode, A=auto, M=manual
  1233. 3. Beacon bit rate (25, 50, 100, 200)
  1234. 4. Bitrate, A=auto, M=manual
  1235. 5. Interval for MSS message status (null for no status), seconds
  1236. 6. Checksum
  1237. === MSS - Beacon Receiver Status ===
  1238. ------------------------------------------------------------------------------
  1239. 1 2 3 4 5 6
  1240. | | | | | |
  1241. $--MSS,nn,nn,fff,bbb,xxx*hh<CR><LF>
  1242. ------------------------------------------------------------------------------
  1243. Field Number:
  1244. 1. Signal strength (dB 1uV)
  1245. 2. Signal to noise ratio (dB)
  1246. 3. Beacon frequency,283.5-325.0 kHz
  1247. 4. Beacon data rate, 25, 50, 100, 200 bps
  1248. 5. Channel number
  1249. 6. Checksum
  1250. Example: $GPMSS,0,0,0.000000,200,*5A
  1251. === MTW - Mean Temperature of Water ===
  1252. ------------------------------------------------------------------------------
  1253. 1 2 3
  1254. | | |
  1255. $--MTW,x.x,C*hh<CR><LF>
  1256. ------------------------------------------------------------------------------
  1257. Field Number:
  1258. 1. Temperature, degrees
  1259. 2. Unit of Measurement, Celcius
  1260. 3. Checksum
  1261. <<GLOBALSAT>> lists this as "Meteorological Temperature of Water", which
  1262. is probably incorrect.
  1263. Example: $INMTW,17.9,C*1B
  1264. === MWV - Wind Speed and Angle ===
  1265. ------------------------------------------------------------------------------
  1266. 1 2 3 4 5
  1267. | | | | |
  1268. $--MWV,x.x,a,x.x,a*hh<CR><LF>
  1269. ------------------------------------------------------------------------------
  1270. Field Number:
  1271. 1. Wind Angle, 0 to 359 degrees
  1272. 2. Reference, R = Relative, T = True
  1273. 3. Wind Speed
  1274. 4. Wind Speed Units, K/M/
  1275. 5. Status, A = Data Valid, V = Invalid
  1276. 6. Checksum
  1277. === OLN - Omega Lane Numbers ===
  1278. Obsolete.
  1279. ------------------------------------------------------------------------------
  1280. 1 2 3 4
  1281. |--------+ |--------+ |--------+ |
  1282. $--OLN,aa,xxx,xxx,aa,xxx,xxx,aa,xxx,xxx*hh<CR><LF>
  1283. ------------------------------------------------------------------------------
  1284. Field Number:
  1285. 1. Omega Pair 1
  1286. 2. Omega Pair 1
  1287. 3. Omega Pair 1
  1288. 4. Checksum
  1289. (The OLN sentence is obsolete as of 2.30)
  1290. === OSD - Own Ship Data ===
  1291. ------------------------------------------------------------------------------
  1292. 1 2 3 4 5 6 7 8 9 10
  1293. | | | | | | | | | |
  1294. $--OSD,x.x,A,x.x,a,x.x,a,x.x,x.x,a*hh<CR><LF>
  1295. ------------------------------------------------------------------------------
  1296. Field Number:
  1297. 1. Heading, degrees True
  1298. 2. Status, A = Data Valid, V = Invalid
  1299. 3. Vessel Course, degrees True
  1300. 4. Course Reference B/M/W/R/P
  1301. 5. Vessel Speed
  1302. 6. Speed Reference B/M/W/R/P
  1303. 7. Vessel Set, degrees True
  1304. 8. Vessel drift (speed)
  1305. 9. Speed Units K/N
  1306. 10. Checksum
  1307. === R00 - Waypoints in active route ===
  1308. ------------------------------------------------------------------------------
  1309. 1 n
  1310. | |
  1311. $--R00,c---c,c---c,....*hh<CR><LF>
  1312. ------------------------------------------------------------------------------
  1313. Field Number:
  1314. 1. waypoint ID
  1315. ...
  1316. n) checksum
  1317. === RMA - Recommended Minimum Navigation Information ===
  1318. ------------------------------------------------------------------------------
  1319. 12
  1320. 1 2 3 4 5 6 7 8 9 10 11|
  1321. | | | | | | | | | | | |
  1322. $--RMA,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,x.x,x.x,x.x,a*hh<CR><LF>
  1323. ------------------------------------------------------------------------------
  1324. Field Number:
  1325. 1. Status, A = Valid, V = Invalid
  1326. 2. Latitude
  1327. 3. N or S
  1328. 4. Longitude
  1329. 5. E or W
  1330. 6. Time Difference A, uS
  1331. 7. Time Difference B, uS
  1332. 8. Speed Over Ground, Knots
  1333. 9. Track Made Good, degrees True
  1334. 10. Magnetic Variation, degrees
  1335. 11. E or W
  1336. 12. Checksum
  1337. === RMB - Recommended Minimum Navigation Information ===
  1338. To be sent by a navigation receiver when a destination waypoint is active.
  1339. ------------------------------------------------------------------------------
  1340. 14
  1341. 1 2 3 4 5 6 7 8 9 10 11 12 13| 15
  1342. | | | | | | | | | | | | | | |
  1343. $--RMB,A,x.x,a,c--c,c--c,llll.ll,a,yyyyy.yy,a,x.x,x.x,x.x,A,m,*hh<CR><LF>
  1344. ------------------------------------------------------------------------------
  1345. Field Number:
  1346. 1. Status, A = Active, V = Invalid
  1347. 2. Cross Track error - nautical miles
  1348. 3. Direction to Steer, Left or Right
  1349. 4. Origin Waypoint ID
  1350. 5. Destination Waypoint ID
  1351. 6. Destination Waypoint Latitude
  1352. 7. N or S
  1353. 8. Destination Waypoint Longitude
  1354. 9. E or W
  1355. 10. Range to destination in nautical miles
  1356. 11. Bearing to destination in degrees True
  1357. 12. Destination closing velocity in knots
  1358. 13. Arrival Status, A = Arrival Circle Entered. V = not entered/passed
  1359. 14. FAA mode indicator (NMEA 2.3 and later)
  1360. 15. Checksum
  1361. Example: $GPRMB,A,0.66,L,003,004,4917.24,N,12309.57,W,001.3,052.5,000.5,V*0B
  1362. === RMC - Recommended Minimum Navigation Information ===
  1363. This is one of the sentences commonly emitted by GPS units.
  1364. ------------------------------------------------------------------------------
  1365. 12
  1366. 1 2 3 4 5 6 7 8 9 10 11| 13
  1367. | | | | | | | | | | | | |
  1368. $--RMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,xxxx,x.x,a,m,*hh<CR><LF>
  1369. ------------------------------------------------------------------------------
  1370. Field Number:
  1371. 1. UTC Time of postion
  1372. 2. Status, A = Valid, V = Warning
  1373. 3. Latitude
  1374. 4. N or S
  1375. 5. Longitude
  1376. 6. E or W
  1377. 7. Speed over ground, knots
  1378. 8. Track made good, degrees true
  1379. 9. Date, ddmmyy
  1380. 10. Magnetic Variation, degrees
  1381. 11. E or W
  1382. 12. FAA mode indicator (NMEA 2.3 and later)
  1383. 13. Checksum
  1384. A status of V means the GPS has a valid fix that is below an internal
  1385. quality threshold, e.g. because the dilution of precision is too high
  1386. or an elevation mask test failed.
  1387. Example: $GNRMC,001031.00,A,4404.13993,N,12118.86023,W,0.146,,100117,,,A*7B
  1388. === ROT - Rate Of Turn ===
  1389. ------------------------------------------------------------------------------
  1390. 1 2 3
  1391. | | |
  1392. $--ROT,x.x,A*hh<CR><LF>
  1393. ------------------------------------------------------------------------------
  1394. Field Number:
  1395. 1. Rate Of Turn, degrees per minute, "-" means bow turns to port
  1396. 2. Status, A means data is valid
  1397. 3. Checksum
  1398. Example: $HEROT,0.0,A*2B
  1399. === RPM - Revolutions ===
  1400. ------------------------------------------------------------------------------
  1401. 1 2 3 4 5 6
  1402. | | | | | |
  1403. $--RPM,a,x,x.x,x.x,A*hh<CR><LF>
  1404. ------------------------------------------------------------------------------
  1405. Field Number:
  1406. 1. Source, S = Shaft, E = Engine
  1407. 2. Engine or shaft number
  1408. 3. Speed, Revolutions per minute
  1409. 4. Propeller pitch, % of maximum, "-" means astern
  1410. 5. Status, A = Valid, V = Invalid
  1411. 6. Checksum
  1412. === RSA - Rudder Sensor Angle ===
  1413. ------------------------------------------------------------------------------
  1414. 1 2 3 4 5
  1415. | | | | |
  1416. $--RSA,x.x,A,x.x,A*hh<CR><LF>
  1417. ------------------------------------------------------------------------------
  1418. Field Number:
  1419. 1. Starboard (or single) rudder sensor, "-" means Turn To Port
  1420. 2. Status, A = valid, V = Invalid
  1421. 3. Port rudder sensor
  1422. 4. Status, A = valid, V = Invalid
  1423. 5. Checksum
  1424. === RSD - RADAR System Data ===
  1425. ------------------------------------------------------------------------------
  1426. 14
  1427. 1 2 3 4 5 6 7 8 9 10 11 12 13|
  1428. | | | | | | | | | | | | | |
  1429. $--RSD,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,x.x,a,a*hh<CR><LF>
  1430. ------------------------------------------------------------------------------
  1431. (Some fields are missing from this description.)
  1432. Field Number:
  1433. 1. Origin 1 range
  1434. 2. Origin 1 bearing
  1435. 3. Variable Rangs Marker 1
  1436. 4. Bearing Line 1
  1437. 5. Origin 2 range
  1438. 6. Origin 2 bearing
  1439. 7. Variable Range Marker 2
  1440. 8. Bearing Line 2
  1441. 9. Cursor Range From Own Ship
  1442. 10. Cursor Bearing Degrees Clockwise From Zero
  1443. 11. Range Scale
  1444. 12. Range Units
  1445. 13. Display rotation (C = course up, H = heading up, N - North up)
  1446. 14. Checksum
  1447. === RTE - Routes ===
  1448. ------------------------------------------------------------------------------
  1449. 1 2 3 4 5 x n
  1450. | | | | | | |
  1451. $--RTE,x.x,x.x,a,c--c,c--c, ..... c--c*hh<CR><LF>
  1452. ------------------------------------------------------------------------------
  1453. Field Number:
  1454. 1. Total number of RE sentences being transmitted
  1455. 2. Sentence Number
  1456. 3. Sentence mode
  1457. c = complete route, all waypoints
  1458. w = working route, the waypoint you just left, the waypoint
  1459. you're heading to, then all the rest
  1460. 4. Route ID
  1461. 5. Waypoint ID
  1462. 6. Additiobal waypint IDs
  1463. More waypoints follow. Last field is a checksum as usual.
  1464. The Garmin 65 and possibly other units report a $GPR00 in the same format.
  1465. Example: $GPRTE,1,1,c,0*07
  1466. === SFI - Scanning Frequency Information ===
  1467. ------------------------------------------------------------------------------
  1468. 1 2 3 4 x
  1469. | | | | |
  1470. $--SFI,x.x,x.x,xxxxxx,c .......... xxxxxx,c*hh<CR><LF>
  1471. ------------------------------------------------------------------------------
  1472. Field Number:
  1473. 1. Total Number Of sentences
  1474. 2. Sentenence Number
  1475. 3. Frequency 1
  1476. 4. Mode 1
  1477. 5. Additional Frequency, Mode pairs
  1478. x. Checksum
  1479. === STN - Multiple Data ID ===
  1480. This sentence is transmitted before each individual sentence where
  1481. there is a need for the Listener to determine the exact source of data
  1482. in the system. Examples might include dual-frequency depthsounding
  1483. equipment or equipment that integrates data from a number of sources
  1484. and produces a single output.
  1485. ------------------------------------------------------------------------------
  1486. 1 2
  1487. | |
  1488. $--STN,x.x,*hh<CR><LF>
  1489. ------------------------------------------------------------------------------
  1490. Field Number:
  1491. 1. Talker ID Number
  1492. 2. Checksum
  1493. === TDS - Trawl Door Spread Distance ===
  1494. ------------------------------------------------------------------------------
  1495. 1 2 3
  1496. | | |
  1497. $--TDS,x.x,M*hh<CR><LF>
  1498. ------------------------------------------------------------------------------
  1499. Field Number)
  1500. 1. Distance between trawl doors
  1501. 2. Meters (0-300)
  1502. 3. Checksum.
  1503. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1504. === TFI - Trawl Filling Indicator ===
  1505. ------------------------------------------------------------------------------
  1506. 1 2 3 4
  1507. | | | |
  1508. $--TFI,x,y,z*hh<CR><LF>
  1509. ------------------------------------------------------------------------------
  1510. Field number:
  1511. 1. Catch sensor #1 (0 = off, 1 = on, 2 = no answer)
  1512. 2. Catch sensor #2 (0 = off, 1 = on, 2 = no answer)
  1513. 3. Catch sensor #3 (0 = off, 1 = on, 2 = no answer)
  1514. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1515. === TLB - Target Label ===
  1516. ------------------------------------------------------------------------------
  1517. 1 2 (3) (4) 5
  1518. | | | | |
  1519. $--TLB,x.x,c--c,x.x,c--c,...,x.x,c--c*hh<CR><LF>
  1520. ------------------------------------------------------------------------------
  1521. Field Number:
  1522. 1. Target Number (0-99)
  1523. 2. Label assigned to target
  1524. 3. (Target number 2)
  1525. 4. (Label assigned to target number 2)
  1526. 5. Checksum
  1527. Message can contain target number + label pairs up to maximum NMEA message length.
  1528. Target number references to target number in TTM (and/or TLL) messages.
  1529. === TLL - Target Latitude and Longitude ===
  1530. ------------------------------------------------------------------------------
  1531. 1 2 3 4 5 6 7 8 9 10
  1532. | | | | | | | | | |
  1533. $--TLL,xx,llll.ll,a,yyyyy.yy,a,c--c,hhmmss.ss,a,a*hh<CR><LF>
  1534. ------------------------------------------------------------------------------
  1535. Field Number:
  1536. 1. Target Number (0-99)
  1537. 2. Target Latitude
  1538. 3. N=north, S=south
  1539. 4. Target Longitude
  1540. 5. E=east, W=west
  1541. 6. Target name
  1542. 7. UTC of data
  1543. 8. Status (L=lost, Q=acquisition, T=tracking)
  1544. 9. R= reference target; null (,,)= otherwise
  1545. === TPC - Trawl Position Cartesian Coordinates ===
  1546. ------------------------------------------------------------------------------
  1547. 1 2 3 4 5 6 7
  1548. | | | | | | |
  1549. $--TPC,x,M,y,P,z.z,M*hh,<CR><LF>
  1550. ------------------------------------------------------------------------------
  1551. Field Number:
  1552. 1. Horizontal distance from the vessel center line
  1553. 2. Meters
  1554. 3. Horizontal distance from the transducer to the trawl along the
  1555. vessel center line. The value is normally positive assuming the
  1556. trawl is located behind the vessel.
  1557. 4. Meters
  1558. 5. Depth of the trawl below the surface
  1559. 6. Meters
  1560. 7. Checksum
  1561. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1562. This entry actually merges their TPC description with another
  1563. entry labeled (apparently incorrectly) TPT, which differs from the
  1564. TPT shown below.
  1565. === TPR - Trawl Position Relative Vessel ===
  1566. ------------------------------------------------------------------------------
  1567. 1 2 3 4 5 6 7
  1568. | | | | | | |
  1569. $--TPR,x,M,y,P,z.z,M*hh,<CR><LF>
  1570. ------------------------------------------------------------------------------
  1571. Field Number:
  1572. 1. Horizontal range relative to target
  1573. 2. Meters (0-4000)
  1574. 3. Bearing to target relative to vessel heading. Resolution is one degree.
  1575. 4. Separator
  1576. 5. Depth of trawl below the surface
  1577. 6. Meters (0-2000)
  1578. 7. Checksum
  1579. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1580. === TPT - Trawl Position True ===
  1581. ------------------------------------------------------------------------------
  1582. 1 2 3 4 5 6 7
  1583. | | | | | | |
  1584. $--TPT,x,M,y,P,z.z,M*hh,<CR><LF>
  1585. ------------------------------------------------------------------------------
  1586. Field Number:
  1587. 1. Horizontal range relative to target
  1588. 2. Meters (0-4000)
  1589. 3. True bearing to taget (ie. relative north). Resolution is one degree.
  1590. 4. Separator
  1591. 5. Depth of trawl below the surface
  1592. 6. Meters (0-2000)
  1593. 7. Checksum
  1594. From <<GLOBALSAT>>. Shown with a "@II" leader rather than "$GP".
  1595. === TRF - TRANSIT Fix Data ===
  1596. ------------------------------------------------------------------------------
  1597. 13
  1598. 1 2 3 4 5 6 7 8 9 10 11 12|
  1599. | | | | | | | | | | | | |
  1600. $--TRF,hhmmss.ss,xxxxxx,llll.ll,a,yyyyy.yy,a,x.x,x.x,x.x,x.x,xxx,A*hh<CR><LF>
  1601. ------------------------------------------------------------------------------
  1602. Field Number:
  1603. 1. UTC Time
  1604. 2. Date, ddmmyy
  1605. 3. Latitude
  1606. 4. N or S
  1607. 5. Longitude
  1608. 6. E or W
  1609. 7. Elevation Angle
  1610. 8. Number of iterations
  1611. 9. Number of Doppler intervals
  1612. 10. Update distance, nautical miles
  1613. 11. Satellite ID
  1614. 12. Data Validity
  1615. 13. Checksum
  1616. (The TRF sentence is obsolete as of 2.3.0)
  1617. === TTM - Tracked Target Message ===
  1618. ------------------------------------------------------------------------------
  1619. 11 13 16
  1620. 1 2 3 4 5 6 7 8 9 10| 12| 14 15 |
  1621. | | | | | | | | | | | | | | | |
  1622. $--TTM,xx,x.x,x.x,a,x.x,x.x,a,x.x,x.x,a,c--c,a,a,hhmmss.ss,a*hh<CR><LF>
  1623. ------------------------------------------------------------------------------
  1624. Field Number:
  1625. 1. Target Number (0-99)
  1626. 2. Target Distance
  1627. 3. Bearing from own ship
  1628. 4. T = True, R = Relative
  1629. 5. Target Speed
  1630. 6. Target Course
  1631. 7. T = True, R = Relative
  1632. 8. Distance of closest-point-of-approach
  1633. 9. Time until closest-point-of-approach "-" means increasing
  1634. 10. Speed/distance units, K/N
  1635. 11. Target name
  1636. 12. Target Status
  1637. 13. Reference Target
  1638. 14. UTC of data (NMEA 3 and above)
  1639. 15. Type, A = Auto, M = Manual, R = Reported (NMEA 3 and above)
  1640. 16. Checksum
  1641. <<GLOBALSAT>> gives this in a slightly different form, with 14th and
  1642. 15th fields conveying time of observation and whether target
  1643. acquisition was automatic or manual.
  1644. === VBW - Dual Ground/Water Speed ===
  1645. ------------------------------------------------------------------------------
  1646. 1 2 3 4 5 6 7 8 0 10 11
  1647. | | | | | | | | | | |
  1648. $--VBW,x.x,x.x,A,x.x,x.x,A,x.x,A,x.x,A*hh<CR><LF>
  1649. ------------------------------------------------------------------------------
  1650. Field Number:
  1651. 1. Longitudinal water speed, "-" means astern, knots
  1652. 2. Transverse water speed, "-" means port, knots
  1653. 3. Status, A = Data Valid
  1654. 4. Longitudinal ground speed, "-" means astern, knots
  1655. 5. Transverse ground speed, "-" means port, knots
  1656. 6. Status, A = Data Valid
  1657. 7. Stern traverse water speed, knots *NMEA 3 and above)
  1658. 8. Status, stern traverse water speed A = Valid (NMEA 3 and above)
  1659. 9. Stern traverse ground speed, knots *NMEA 3 and above)
  1660. 10. Status, stern ground speed A = Valid (NMEA 3 and above)
  1661. 11. Checksum
  1662. === VDR - Set and Drift ===
  1663. ------------------------------------------------------------------------------
  1664. 1 2 3 4 5 6 7
  1665. | | | | | | |
  1666. $--VDR,x.x,T,x.x,M,x.x,N*hh<CR><LF>
  1667. ------------------------------------------------------------------------------
  1668. Field Number:
  1669. 1. Direction degress, True
  1670. 2. T = True
  1671. 3. Direction degrees Magnetic
  1672. 4. M = Magnetic
  1673. 5. Current speed, knots
  1674. 6. N = Knots
  1675. 7. Checksum
  1676. === VHW - Water speed and heading ===
  1677. ------------------------------------------------------------------------------
  1678. 1 2 3 4 5 6 7 8 9
  1679. | | | | | | | | |
  1680. $--VHW,x.x,T,x.x,M,x.x,N,x.x,K*hh<CR><LF>
  1681. ------------------------------------------------------------------------------
  1682. Field Number:
  1683. 1. Heading degress, True
  1684. 2. T = True
  1685. 3. Heading degrees, Magnetic
  1686. 4. M = Magnetic
  1687. 5. Speed of vessel relative to the water, knots
  1688. 6. N = Knots
  1689. 7. Speed of vessel relative to the water, km/hr
  1690. 8. K = Kilometers
  1691. 9. Checksum
  1692. <<GLOBALSAT>> describes a different format in which the first three
  1693. fields are water-temperature measurements. It's not clear which
  1694. is correct.
  1695. === VLW - Distance Traveled through Water ===
  1696. ------------------------------------------------------------------------------
  1697. 1 2 3 4 5 6 7 8 9
  1698. | | | | | | | | |
  1699. $--VLW,x.x,N,x.x,N,x.x,N,x.x,N*hh<CR><LF>
  1700. ------------------------------------------------------------------------------
  1701. Field Number:
  1702. 1. Total cumulative water distance, nm
  1703. 2. N = Nautical Miles
  1704. 3. Water distance since Reset, nm
  1705. 4. N = Nautical Miles
  1706. 5. Total cumulative ground distance, nm (NMEA 3 and above)
  1707. 6. N = Nautical Miles (NMEA 3 and above)
  1708. 7. Ground distance since reset, nm (NMEA 3 and above)
  1709. 8. N = Nautical Miles (NMEA 3 and above)
  1710. 9. Checksum
  1711. === VPW - Speed - Measured Parallel to Wind ===
  1712. ------------------------------------------------------------------------------
  1713. 1 2 3 4 5
  1714. | | | | |
  1715. $--VPW,x.x,N,x.x,M*hh<CR><LF>
  1716. ------------------------------------------------------------------------------
  1717. Field Number:
  1718. 1. Speed, "-" means downwind, knots
  1719. 2. N = Knots
  1720. 3. Speed, "-" means downwind, m/s
  1721. 4. M = Meters per second
  1722. 5. Checksum
  1723. === VTG - Track made good and Ground speed ===
  1724. This is one of the sentences commonly emitted by GPS units.
  1725. ------------------------------------------------------------------------------
  1726. 1 2 3 4 5 6 7 8 9 10
  1727. | | | | | | | | | |
  1728. $--VTG,x.x,T,x.x,M,x.x,N,x.x,K,m,*hh<CR><LF>
  1729. ------------------------------------------------------------------------------
  1730. Field Number:
  1731. 1. Course over ground, degrees True
  1732. 2. T = True
  1733. 3. Course over ground, degrees Magnetic
  1734. 4. M = Magnetic
  1735. 5. Speed over ground, knots
  1736. 6. N = Knots
  1737. 7. Speed over ground, km/hr
  1738. 8. K = Kilometers Per Hour
  1739. 9. FAA mode indicator (NMEA 2.3 and later)
  1740. 10. Checksum
  1741. Note: in some older versions of NMEA 0183, the sentence looks like this:
  1742. ------------------------------------------------------------------------------
  1743. 1 2 3 4 5
  1744. | | | | |
  1745. $--VTG,x.x,x,x.x,x.x,*hh<CR><LF>
  1746. ------------------------------------------------------------------------------
  1747. Field Number:
  1748. 1. True course over ground (degrees) 000 to 359
  1749. 2. Magnetic course over ground 000 to 359
  1750. 3. Speed over ground (knots) 00.0 to 99.9
  1751. 4. Speed over ground (kilometers) 00.0 to 99.9
  1752. 5. Checksum
  1753. The two forms can be distinguished by field 2, which will be
  1754. the fixed text 'T' in the newer form. The new form appears
  1755. to have been introduced with NMEA 3.01 in 2002.
  1756. Some devices, such as those described in <<GLOBALSAT>>, leave the
  1757. magnetic-bearing fields 3 and 4 empty.
  1758. Example: $GPVTG,220.86,T,,M,2.550,N,4.724,K,A*34
  1759. === VWR - Relative Wind Speed and Angle ===
  1760. ------------------------------------------------------------------------------
  1761. 1 2 3 4 5 6 7 8 9
  1762. | | | | | | | | |
  1763. $--VWR,x.x,a,x.x,N,x.x,M,x.x,K*hh<CR><LF>
  1764. ------------------------------------------------------------------------------
  1765. Field Number:
  1766. 1. Wind direction magnitude in degrees
  1767. 2. Wind direction Left/Right of bow
  1768. 3. Speed
  1769. 4. N = Knots
  1770. 5. Speed
  1771. 6. M = Meters Per Second
  1772. 7. Speed
  1773. 8. K = Kilometers Per Hour
  1774. 9. Checksum
  1775. === WCV - Waypoint Closure Velocity ===
  1776. ------------------------------------------------------------------------------
  1777. 1 2 3 4 5
  1778. | | | | |
  1779. $--WCV,x.x,N,c--c,a*hh<CR><LF>
  1780. ------------------------------------------------------------------------------
  1781. Field Number:
  1782. 1. Velocity, knots
  1783. 2. N = knots
  1784. 3. Waypoint ID
  1785. 4. FAA Mode indicator, not null (NMEA 3 and above)
  1786. 5. Checksum
  1787. === WNC - Distance - Waypoint to Waypoint ===
  1788. ------------------------------------------------------------------------------
  1789. 1 2 3 4 5 6 7
  1790. | | | | | | |
  1791. $--WNC,x.x,N,x.x,K,c--c,c--c*hh<CR><LF>
  1792. ------------------------------------------------------------------------------
  1793. Field Number:
  1794. 1. Distance, Nautical Miles
  1795. 2. N = Nautical Miles
  1796. 3. Distance, Kilometers
  1797. 4. K = Kilometers
  1798. 5. TO Waypoint
  1799. 6. FROM Waypoint
  1800. 7. Checksum
  1801. === WPL - Waypoint Location ===
  1802. ------------------------------------------------------------------------------
  1803. 1 2 3 4 5 6
  1804. | | | | | |
  1805. $--WPL,llll.ll,a,yyyyy.yy,a,c--c*hh<CR><LF>
  1806. ------------------------------------------------------------------------------
  1807. Field Number:
  1808. 1. Latitude
  1809. 2. N or S (North or South)
  1810. 3. Longitude
  1811. 4. E or W (East or West)
  1812. 5. Waypoint name
  1813. 6. Checksum
  1814. === XDR - Transducer Measurement ===
  1815. ------------------------------------------------------------------------------
  1816. 1 2 3 4 n
  1817. | | | | |
  1818. $--XDR,a,x.x,a,c--c, ..... *hh<CR><LF>
  1819. ------------------------------------------------------------------------------
  1820. Field Number:
  1821. 1. Transducer Type
  1822. 2. Measurement Data
  1823. 3. Units of measurement
  1824. 4. Name of transducer
  1825. There may be any number of quadruplets like this, each describing a
  1826. sensor. The last field will be a checksum as usual.
  1827. Example:
  1828. $HCXDR,A,171,D,PITCH,A,-37,D,ROLL,G,367,,MAGX,G,2420,,MAGY,G,-8984,,MAGZ*41
  1829. === XTE - Cross-Track Error, Measured ===
  1830. ------------------------------------------------------------------------------
  1831. 1 2 3 4 5 6 7
  1832. | | | | | | |
  1833. $--XTE,A,A,x.x,a,N,m,*hh<CR><LF>
  1834. ------------------------------------------------------------------------------
  1835. Field Number:
  1836. 1. Status
  1837. - A - Valid
  1838. - V = Loran-C Blink or SNR warning
  1839. - V = general warning flag or other navigation systems when a reliable
  1840. fix is not available
  1841. 2. Status
  1842. - V = Loran-C Cycle Lock warning flag
  1843. - A = Valid
  1844. 3. Cross Track Error Magnitude
  1845. 4. Direction to steer, L or R
  1846. 5. Cross Track Units, N = Nautical Miles
  1847. 6. FAA mode indicator (NMEA 2.3 and later, optional)
  1848. 7. Checksum
  1849. Example: $GPXTE,V,V,,,N,S*43
  1850. === XTR - Cross Track Error - Dead Reckoning ===
  1851. ------------------------------------------------------------------------------
  1852. 1 2 3 4
  1853. | | | |
  1854. $--XTR,x.x,a,N*hh<CR><LF>
  1855. ------------------------------------------------------------------------------
  1856. Field Number:
  1857. 1. Magnitude of cross track error
  1858. 2. Direction to steer, L or R
  1859. 3. Units, N = Nautical Miles
  1860. 4. Checksum
  1861. === ZDA - Time & Date - UTC, day, month, year and local time zone ===
  1862. This is one of the sentences commonly emitted by GPS units.
  1863. ------------------------------------------------------------------------------
  1864. 1 2 3 4 5 6 7
  1865. | | | | | | |
  1866. $--ZDA,hhmmss.ss,xx,xx,xxxx,xx,xx*hh<CR><LF>
  1867. ------------------------------------------------------------------------------
  1868. Field Number:
  1869. 1. UTC time (hours, minutes, seconds, may have fractional subsecond)
  1870. 2. Day, 01 to 31
  1871. 3. Month, 01 to 12
  1872. 4. Year (4 digits)
  1873. 5. Local zone description, 00 to +- 13 hours
  1874. 6. Local zone minutes description, 00 to 59, apply same sign as local hours
  1875. 7. Checksum
  1876. Example: $GPZDA,160012.71,11,03,2004,-1,00*7D
  1877. === ZFO - UTC & Time from origin Waypoint ===
  1878. ------------------------------------------------------------------------------
  1879. 1 2 3 4
  1880. | | | |
  1881. $--ZFO,hhmmss.ss,hhmmss.ss,c--c*hh<CR><LF>
  1882. ------------------------------------------------------------------------------
  1883. Field Number:
  1884. 1. Universal Time Coordinated (UTC)
  1885. 2. Elapsed Time
  1886. 3. Origin Waypoint ID
  1887. 4. Checksum
  1888. === ZTG - UTC & Time to Destination Waypoint ===
  1889. ------------------------------------------------------------------------------
  1890. 1 2 3 4
  1891. | | | |
  1892. $--ZTG,hhmmss.ss,hhmmss.ss,c--c*hh<CR><LF>
  1893. ------------------------------------------------------------------------------
  1894. Field Number:
  1895. 1. UTC of observation
  1896. 2. Time Remaining
  1897. 3. Destination Waypoint ID
  1898. 4. Checksum
  1899. === Other sentences ===
  1900. There is evidence for the existence of the following NMEA sentences
  1901. on the Web:
  1902. |======================================================
  1903. |ACK - Alarm Acknowldgement
  1904. |ADS - Automatic Device Status
  1905. |AKD - Acknowledge Detail Alarm Condition
  1906. |ALA - Set Detail Alarm Condition
  1907. |ASD - Autopilot System Data
  1908. |BEC - Bearing & Distance to Waypoint - Dead Reckoning
  1909. |CEK - Configure Encryption Key Command
  1910. |COP - Configure the Operational Period, Command
  1911. |CUR - Water Current Layer
  1912. |DCR - Device Capability Report
  1913. |DDC - Display Dimming Control
  1914. |DOR - Door Status Detection
  1915. |DSC - Digital Selective Calling Information
  1916. |DSE - Extended DSC
  1917. |DSI - DSC Transponder Initiate
  1918. |DSR - DSC Transponder Response
  1919. |ETL - Engine Telegraph Operation Status
  1920. |EVE - General Event Message
  1921. |FIR - Fire Detection
  1922. |MWD - Wind Direction & Speed
  1923. |WDR - Distance to Waypoint - Rhumb Line
  1924. |WDC - Distance to Waypoint - Great Circle
  1925. |ZDL - Time and Distance to Variable Point
  1926. |======================================================
  1927. $CDDSC is described in <<CDDSC>>.
  1928. == Vendor extensions ==
  1929. This list is very incomplete.
  1930. === PASHR - RT300 proprietary roll and pitch sentence ===
  1931. ------------------------------------------------------------------------------
  1932. 1 2 3 4 5 6 7 8 9 10 11 12
  1933. | | | | | | | | | | | |
  1934. $PASHR,hhmmss.sss,hhh.hh,T,rrr.rr,ppp.pp,xxx.xx,a.aaa,b.bbb,c.ccc,d,e*hh<CR><LF>
  1935. ------------------------------------------------------------------------------
  1936. Field number:
  1937. 1. hhmmss.sss - UTC time
  1938. 2. hhh.hh - Heading in degrees
  1939. 3. T - flag to indicate that the Heading is True Heading (i.e. to True North)
  1940. 4. rrr.rr - Roll Angle in degrees
  1941. 5. ppp.pp - Pitch Angle in degrees
  1942. 6. xxx.xx - Heave
  1943. 7. a.aaa - Roll Angle Accuracy Estimate (Stdev) in degrees
  1944. 8. b.bbb - Pitch Angle Accuracy Estimate (Stdev) in degrees
  1945. 9. c.ccc - Heading Angle Accuracy Estimate (Stdev) in degrees
  1946. 10. d - Aiding Status
  1947. 11. e - IMU Status
  1948. 12. hh - Checksum
  1949. <<PASHR>> describes this sentence as NMEA, though other sources say it
  1950. is Ashtech proprietary and describe a different format.
  1951. Example:
  1952. $PASHR,085335.000,224.19,T,-01.26,+00.83,+00.00,0.101,0.113,0.267,1,0*06
  1953. === PGRME - Garmin Estimated Error ===
  1954. ------------------------------------------------------------------------------
  1955. 1 2 3 4 5 6 7
  1956. | | | | | | |
  1957. $PGRME,hhh,M,vvv,M,ttt,M*hh<CR><LF>
  1958. ------------------------------------------------------------------------------
  1959. Field Number:
  1960. 1. Estimated horizontal position error (HPE),
  1961. 2. M=meters
  1962. 3. Estimated vertical position error (VPE)
  1963. 4. M=meters
  1964. 5. Overall spherical equivalent position error
  1965. 6. M=meters
  1966. 7. Checksum
  1967. Example: $PGRME,15.0,M,45.0,M,25.0,M*22
  1968. === PGRMZ - Garmin Altitude ===
  1969. ------------------------------------------------------------------------------
  1970. 1 2 3 4
  1971. | | | |
  1972. $PGRMZ,hhh,f,M*hh<CR><LF>
  1973. ------------------------------------------------------------------------------
  1974. Field Number:
  1975. 1. Current Altitude Feet
  1976. 2. f=feet
  1977. 3. Mode (1 = no fix, 2 = 2D fix, 3 = 3D fix)
  1978. 4. Checksum
  1979. Example: $PGRMZ,2282,f,3*21
  1980. === PMGNST - Magellan Status ===
  1981. ------------------------------------------------------------------------------
  1982. 1 2 3 4 5 6 7 8
  1983. | | | | | | | |
  1984. $PMGNST,xx.xx,m,t,nnn,xx.xx,nnn,nn,c
  1985. ------------------------------------------------------------------------------
  1986. Field Number:
  1987. 1. Firmware version number?
  1988. 2. Mode (1 = no fix, 2 = 2D fix, 3 = 3D fix)
  1989. 3. T if we have a fix
  1990. 4. numbers change - unknown
  1991. 5. time left on the GPS battery in hours
  1992. 6. numbers change (freq. compensation?)
  1993. 7. PRN number receiving current focus
  1994. 8. nmea_checksum
  1995. Only supported on Magellan GPSes.
  1996. === PRWIZCH - Rockwell Channel Status ===
  1997. ------------------------------------------------------------------------------
  1998. $PRWIZCH,n,s,n,s,n,s,n,s,n,s,n,s,n,s,n,s,n,s,n,s,n,s,n,s,c*hh<CR><LF>
  1999. ------------------------------------------------------------------------------
  2000. Fields consist of 12 pairs of a satellite PRN followed by a
  2001. signal quality number in the range 0-7 (0 worst, 7 best).
  2002. Only emitted by the now-obsolete Zodiac (Rockwell) chipset.
  2003. === PUBX 00 - u-blox Lat/Long Position Data ===
  2004. ------------------------------------------------------------------------------
  2005. $PUBX,00,hhmmss.ss,Latitude,N,Longitude,E,AltRef,NavStat,Hacc,Vacc,SOG,COG,Vvel,+ageC,HDOP,VDOP,TDOP,GU,RU,DR,*hh<CR><LF>
  2006. ------------------------------------------------------------------------------
  2007. Example:
  2008. $PUBX,00,081350.00,4717.113210,N,00833.915187,E,546.589,G3,2.1,2.0,0.007,77.52,0+.007,,0.92,1.19,0.77,9,0,0*5F<CR><LF>
  2009. Only emitted by u-blox Antaris chipset.
  2010. === PUBX 01 - u-blox UTM Position Data ===
  2011. The $PUBX,01 is a UTM (Universal Transverse Mercator projection) version
  2012. of the $PUBX,00 sentence.
  2013. ------------------------------------------------------------------------------
  2014. $PUBX,01,hhmmss.ss,Easting,E,Northing,N,AltMSL,NavStat,Hacc,Vacc,SOG,COG,Vvel,ag+eC,HDOP,VDOP,TDOP,GU,RU,DR,*hh<CR><LF>
  2015. ------------------------------------------------------------------------------
  2016. Example:
  2017. $PUBX,01,075142.00,467125.245,E,5236949.763,N,498.235,G3,2.1,1.9,0.005,85.63,0.0+00,,0.78,0.90,0.52,12,0,0*65
  2018. Only emitted by u-blox Antaris chipset.
  2019. === PUBX 03 - u-blox Satellite Status ===
  2020. ------------------------------------------------------------------------------
  2021. $PUBX,03,GT{,ID,s,AZM,EL,SN,LK},*hh<CR><LF>
  2022. ------------------------------------------------------------------------------
  2023. Example:
  2024. $PUBX,03,11,23,-,,,45,010,29,-,,,46,013,07,-,,,42,015,08,U,067,31,42,025,10,U,19+5,33,46,026,18,U,326,08,39,026,17,-,,,32,015,26,U,306,66,48,025,27,U,073,10,36,+026,28,U,089,61,46,024,15,-,,,39,014*0D
  2025. Only emitted by u-blox Antaris chipset.
  2026. (There's no PUBX 02)
  2027. === PUBX 04 - u-blox Time of Day and Clock Information ===
  2028. ------------------------------------------------------------------------------
  2029. $PUBX,04,hhmmss.ss,ddmmyy,UTC_TOW,week,reserved,Clk_B,Clk_D,PG,*hh<CR><LF>
  2030. ------------------------------------------------------------------------------
  2031. Example:
  2032. $PUBX,04,073731.00,091202,113851.00,1196,113851.00,1930035,-2660.664,43,*3C<CR><+LF>
  2033. Only emitted by u-blox Antaris chipset.
  2034. === TMVTD - Transas VTS / SML tracking system report ===
  2035. ------------------------------------------------------------------------------
  2036. $TMVTD,DDMMYY,hhmmss.ss,a,xxxx,c—c,llll.llll,a,yyyyy.yyyy,a,x.x,a,x.x,a,a*hh<CR><LF>
  2037. ------------------------------------------------------------------------------
  2038. ‘TM’ indicates message generated by SML tracking system. ‘VTD’ is
  2039. name of the message.
  2040. Field Number:
  2041. 1. Day/month/year (two-digit year, unknown base century)
  2042. 2. Hour/minute/second to 0.1 sec precion, UTC.
  2043. 3. ‘R’ indicates that this is an update for a radar track. No other
  2044. values are valid
  2045. 4. Internal unique ID number. Can’t be changed even when target is
  2046. re-identified
  2047. 5. Target alias. Can be changed when the target identification data is
  2048. edited. Symbols “$”, “*” “,” and “.” are not allowed to be used
  2049. within the alias word. This field is variable length, at most 21v
  2050. characters.
  2051. 6. Latitude in degrees (two leading digits) and decimal minutes
  2052. (trailing digits).
  2053. 7. N or S for North or South latitude.
  2054. 8. Longitude in degrees (three leading digits) and decimal minutes
  2055. (trailing digits).
  2056. 9. E or W for East or West longitude.
  2057. 10. Target course in decimal degrees.
  2058. 11. Fixed to T, indicates true course.
  2059. 12. Target speed in decimal knots.
  2060. 13. Fixed to N, indicates decimal speed in knots.
  2061. 14. T or D. T = tracked, D = dropped. Message with status
  2062. “dropped” is sent only once after target is dropped.
  2063. 15. NMEA checksum.
  2064. Transas is a mnanufacturer of proprietary ECDIS systems.
  2065. Described in <<MALTESE>>, actually a Maltese government document.
  2066. == References ==
  2067. [bibliography]
  2068. - [[[BETKE]]]
  2069. "The NMEA 0183 protocol"
  2070. http://www.scribd.com/mcocco/d/6365285-The-NMEA-0183-Protocol
  2071. Probably the ancestor of this document. Compiled by Klaus Betke
  2072. and dated May 2000 with a revision in 2001.
  2073. - [[[CANBUS]]]
  2074. "Wikipedia: CAN bus"
  2075. https://en.wikipedia.org/wiki/CAN_bus
  2076. - [[[NMEA2000]]]
  2077. "Wikipedia: NMEA 2000"
  2078. https://en.wikipedia.org/wiki/NMEA_2000
  2079. - [[[KEVERSOFT]]]
  2080. http://www.keversoft.com/downloads/packetlogger_20120305_explain.txt
  2081. - [[[DEPRIEST]]]
  2082. "NMEA data"
  2083. http://www.gpsinformation.org/dale/nmea.htm
  2084. Used for PMGNST and the FAA mode code.
  2085. - [[[MX521]]]
  2086. "MX521 GPS/DGPS Sensor Installation Manual"
  2087. http://www.mx-marine.com/downloads/MX521_Install_manual_051804.pdf
  2088. Used for GBS, GRS.
  2089. - [[[MX535]]]
  2090. "MX535 UAIS Ship Borne Class A Transponder Unit Techical & Installation Manual"
  2091. http://www.mx-marine.com/downloads/mx535/MX535_Tech_Manual_Rev_E.pdf
  2092. Used for GNS.
  2093. - [[[ZODIAC]]]
  2094. "Zodiac Serial Data Interface Specification"
  2095. http://users.rcn.com/mardor/serial.pdf
  2096. Used for PRWIZCH.
  2097. - [[[GH79L4N]]]
  2098. "Specifications for GPS Receiver GH-79L4-N"
  2099. http://www.tecsys.de/db/gps/gh79l1an_intant.pdf
  2100. Used for GPDTM.
  2101. - [[[GIDS]]]
  2102. "GPS - NMEA sentence information"
  2103. http://aprs.gids.nl/nmea/
  2104. Used for BWC, MSK, MSS.
  2105. - [[[NMEAFAQ]]]
  2106. "The NMEA FAQ"
  2107. http://vancouver-webpages.com/peter/nmeafaq.txt
  2108. Used for R00.
  2109. - [[[UNMEA]]]
  2110. "Understanding NMEA 0183"
  2111. http://pcptpp030.psychologie.uni-regensburg.de/trafficresearch/NMEA0183/
  2112. Source for the claim that NMEA requires undefined data fields to
  2113. be empty.
  2114. - [[[NTUM]]]
  2115. "NemaTalker User Manual"
  2116. http://www.sailsoft.nl/NemaTalker/UserManual/InstrGPS.htm
  2117. Source for the claim that Mode Indicator dominates Status.
  2118. - [[[IEC61162-1]]]
  2119. "International Standard IEC 61162-1" (preview)
  2120. http://domino.iec.ch/preview/info_iec61162-1%7Bed2.0%7Den.pdf
  2121. - [[[SEATALK]]]
  2122. "SeaTalk Technical Reference"
  2123. http://www.thomasknauf.de/seatalk.htm
  2124. - [[[SATSTAT]]] "NMEA IDs" https://github.com/mvglasow/satstat/wiki/NMEA-IDs
  2125. - [[[PASHR]]]
  2126. "News - NMEA PASHR Output Format Added"
  2127. http://www.oxts.com/default.asp?pageRef=76&newsID=69
  2128. - [[[WAAS]]]
  2129. "WAAS Information"
  2130. http://gpsinformation.net/exe/waas.html
  2131. - [[[PPS]]]
  2132. "Pulse per second"
  2133. https://en.wikipedia.org/wiki/Pulse_per_second
  2134. - [[[MALTESE]]]
  2135. "Procurement of a Fixed-Wing Maritime Patrol Aircraft"
  2136. https://secure2.gov.mt/eprocurement/Tenders/file.ashx?f=9832DB05E65C774258580284031EC72CC315D954A7108B5E.
  2137. - [[NMEA-ADVANCE]]
  2138. "NMEA 0183 Advancements" (describes 'P' value of FAA mode)
  2139. http://www.nmea.org/Assets/0183_advancements_nmea_oct_1_2010%20(2).pdf
  2140. - [[CDDSC]]
  2141. "Data Interface in Digital Selective Calling Class-D Radios"
  2142. http://continuouswave.com/whaler/reference/DSC_Datagrams.html
  2143. - [[ANON]]
  2144. Anonymous commentator(s) are persons who have volunteered information
  2145. about the NMEA standard(s) but do not wish to be identified.
  2146. - [[[NORWAY]]]
  2147. "Etterretninger for sjøfarende" Notoces for Mariners, see p26
  2148. https://kartverket.no/efs-documents/editions/2015/efs01-2015.pdf