05.03.2013 Views

Data Hacking

Data Hacking

Data Hacking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

198 Part III — <strong>Data</strong> <strong>Hacking</strong><br />

String Type Description<br />

$GPSTN Multiple <strong>Data</strong> ID<br />

$GPTRF Transit Fix <strong>Data</strong><br />

$GPVBW Dual Ground/Water Speed<br />

$GPVDR Set and Drift<br />

$GPVLW Distance Traveled through the Water<br />

$GPVPW Speed, Measured Parallel to Wind<br />

$GPVTG *Track Made Good and Ground Speed ( Course over ground and ground speed )<br />

$GPWCV Waypoint Closure Velocity<br />

$GPWNC Distance, Waypoint to Waypoint<br />

$GPWPL Waypoint Location<br />

$GPXTE Cross-Track Error, Measured<br />

$GPXTR Cross-Track Error, Dead Reckoning<br />

$GPZDA UTC Date/Time and Local Time Zone Offset<br />

$GPZFO UTC & Time from Origin Waypoint<br />

$GPZTG UTC & Time to Destination Waypoint<br />

NMEA consists of sentences; and for each of these sentences. the first word, called a data type,<br />

defines how the rest of the sentence is interpreted. Each data has its own unique interpretation,<br />

as defined by the NMEA standard.<br />

For example, take the GGA sentence shown here:<br />

$GPGGA,180432.00,4027.027912,N,08704.857070, W,2,07,1.0,212.15,M,-<br />

33.81,M,4.2,0555*73<br />

This NMEA sentence shows an example that provides fix data information.<br />

Sentences vary in the information they contain. Some sentences will repeat some of the information<br />

already provided, while others provide new data. Devices attached to the GPS can look<br />

for the NMEA sentence they want and choose to ignore others.<br />

Normally, there are very few ways to control which NMEA sentences are sent from a GPS and<br />

which aren’t. The usual state of affairs is that each GPS receiver simply transmits all of the data<br />

and lets the attached device pick and choose what to read and what to ignore. Some receivers<br />

can be set to send only certain types of sentences, but there is little benefit to doing this. There<br />

is no way for the receiving device to acknowledge receipt of the data or to request that the data<br />

be retransmitted because it was lost or garbled — if the receiving unit checks the checksum on<br />

a sentence and finds it is corrupted, the receiver must wait until the next time a similar NMEA<br />

sentence is transmitted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!