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.

Examining the <strong>Data</strong><br />

When you connect a GPS to another device (such as a PC or an<br />

iPAQ) or to a software application, it is quite probable that the<br />

communication protocol used by this connection will be based<br />

on a standard known as NMEA. NMEA is crucial to this communication,<br />

and by understanding the format that NMEA takes and how the data is<br />

structured, you are in a position to directly examine the data stream. If you<br />

can read NMEA, you can troubleshoot GPS problems, directly examine the<br />

data retrieved, and also check for corrupted data.<br />

In this chapter, we are going to take a close look at the NMEA protocol and<br />

the format in which the data is output by a GPS receiver. By the end of this<br />

chapter, you will be familiar with the following topics:<br />

Communicating with other devices<br />

Software applications that enable you to capture and store NMEA<br />

data<br />

Troubleshooting<br />

The more you know about and understand the data, the more you can do<br />

with it.<br />

NMEA<br />

NMEA is the protocol most used by GPS receivers to communicate with<br />

other devices — either for data transfer to and from the unit, or for communication<br />

with other devices. The fact that this standard is used for GPS<br />

betrays its marine roots.<br />

NMEA stands for National Marine Electronics Association, which is the<br />

body that sets and defines the standard. The full name of the standard most<br />

commonly used by GPS receivers is NMEA 0183. This standard covers not<br />

only GPS receivers but a variety of other electronic devices.<br />

Most computer programs that provide real-time position information are<br />

capable of understanding the NMEA format. Some can only understand<br />

the NMEA plaintext format, while others use a variety of different data<br />

formats.<br />

NMEA data sent from a GPS contains full PVT (Position, Velocity, and<br />

Time) data calculated by the GPS unit.<br />

chapter<br />

in this chapter<br />

˛ Introduction to<br />

NMEA<br />

˛ NMEA sentence<br />

structure<br />

˛ A tour through<br />

common NMEA<br />

sentences<br />

˛ A different<br />

standard: SiRF<br />

˛ NMEA tools<br />

˛ Recording real<br />

and simulated<br />

NMEA data<br />

˛ Troubleshooting<br />

with NMEA

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

Saved successfully!

Ooh no, something went wrong!