Skip to content

Instantly share code, notes, and snippets.

@tomfanning
Last active March 4, 2023 03:00
Show Gist options
  • Save tomfanning/60f94e547c979907e32030c9df7f1272 to your computer and use it in GitHub Desktop.
Save tomfanning/60f94e547c979907e32030c9df7f1272 to your computer and use it in GitHub Desktop.
$GPRMC GPS NMEA sentence breakdown
$GPRMC,170047.00,A,4121.23302,N,00201.31654,W,2.703, ,200417, , ,A*64
$GPRMC,hhmmss.ss,A,llll.ll, a,yyyyy.yy, a,x.x, x.x,ddmmyy,x.x,a,m*hh
| | | | | | | | | | | | \- 13 Checksum
| | | | | | | | | | | \--- 12 Mode indicator, (A=Autonomous, D=Differential, E=Estimated, N=Data not valid)
| | | | | | | | | | \----- 11 E or W of magnetic variation
| | | | | | | | | \--------- 10 Magnetic variation degrees (Easterly var. subtracts from true course)
| | | | | | | | \---------------- 9 UTC date of fix
| | | | | | | \-------------------- 8 Track made good in degrees True
| | | | | | \-------------------------- 7 Speed over ground in knots
| | | | | \---------------------------- 6 E or W of longitude
| | | | \---------------------------------------- 5 Longitude of fix
| | | \------------------------------------------ 4 N or S of longitude
| | \----------------------------------------------------- 3 Latitude of fix
| \------------------------------------------------------- 2 Data status (A=Valid position, V=navigation receiver warning)
\----------------------------------------------------------------- 1 UTC time of fix
@tdenewiler
Copy link

Line 4 should be latitude instead of longitude. This link showed up close to the top when I was searching for "nmea gprmc".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment