your position is our focus
Figure 72: NMEA Protocol Framing
NMEA Parser
TheNMEAspecificationisfairlyopenandallowsminorvariationsintheimplementation(e.g.numberofposition
afterdecimalpoint,etc.)butitalwaysrequestscommasbetweenasaseparatorbetweenNMEAdatafields.One
is
leto
thehandlethevalidflagscorrectly.
Dataareonlyvalidifthevalidflagisset
tovalid.Ifit’ssettoinvalid,theNMEAparsershouldrejectdataoutput
bythereceiver.Bynomeansshoulditforwardittotheapplication.
NMEA messages supported by the ANTARIS
®
4 GPS Technology
TheANTARIS
®
4GPSTechnologysupportsNMEA-0183,version2.3.ThisisupwardcompatiblewithNMEA-0183
version3.0.TheNMEAprotocoldoesnottakeadvantageofallthefeaturesoftheANTARIS
®
4GPSTechnology,
duetobandwidthlimitationsoftheASCII-protocol.
• StandardNMEA
• DTM-DatumReference
• GBS-GNSSSatelliteFaultDetection
• GGA-Globalpositioningsystemfixdata
• GLL-Geographicposition-latitude/longitude
activesatellites
• GSV-GNSSsatellitesinview
mumspecificGNSSdata
andgroundspeed
TXT–Textmessages
should therefore write a parser that searches for commas and extractseverything between two commas.
Th
way,theparseris independentofthenumberofdigitsfortheindividualmessage fields.Itwillevenbeab
handleemptyfields",,".Besidethecommas,agoodparsershouldbeable
• GSA-GNSSDOPand
• RMC-Recommendedmini
• VTG-Courseoverground
• GRS-GNSSrangeresiduals
• GST-GNSSpseudorangeerrorstatistics
•
• ZDA-Timeanddate
GPSModules-SystemIntegrationManual(SIM)(incl.ReferenceDesign) ReceiverDescription
GPS.G4-MS4-05007-A1
Page 86