NMEA data is sent as comma-delimited “sentences” which contain information based
on the first word of the sentence. There are over fifty kinds of sentences, yet
an interpreter really only needs to handle a few to get the job done. The most
common NMEA sentence of all is the “Recommended Minimum” sentence, which begins
with “$GPRMC”. Here is an example:
$GPRMC,040302.663,A,3939.7,N,10506.6,W,0.27,358.86,200804,,*1A
This one sentence contains nearly everything a GPS application needs: latitude,
longitude, speed, bearing, satellite-derived time, fix status and magnetic
variation.