seconds (10seconds fromthe initialUTCoffsetwhen UTCwas introducedin 1972+ 27leap seconds
announced in the intervening years). Therefore, setting nmea_leap_seconds to 37 in February of 2019
wouldmakethetimestamps matchthe TAIstandard.
nmea_in_polarity bydefault isACTIVE_HIGH. Thismeans thata UART startbit will occurdirectly aftera
fallingedge. If usingRS-232,theUARTsignalmay beinverted(whereastartbit occursdirectly after
arising edge). Inthis case,nmea_in_polarity shouldbeset toACTIVE_LOW.
Example1 Message:
$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A
→
Field Description
$GPRMC RecommendedMinimum sentenceC
123519 Fixtakenat 12:35:19 UTC
A Status A=activeor V=Void
4807.038 Latitude48 deg07.038’
N Latitudecardinal reference
01131.000 Longitude11 deg31.000’
E Longitudecardinalreference
022.4 Speed overtheground in knots
084.4 Trackangle indegrees True
230394 Date- 23rdof March 1994
003.1 MagneticVariation
W Magneticcardinalreference
A [Optional]A=autonomous,D=differential,E=Estimated,N=notvalid, S=Simulator
*6A Thechecksumdata,alwaysbegins with*
Example2 Message:
$GPRMC,042901.00,A,3745.871698,N,12224.825960,W,0.874,327.72,130219,13.39,E,A,V*60
→
86