summaryrefslogtreecommitdiff
path: root/test/daemon/rgm3800.log.chk
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-04 12:42:36 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-04 12:42:36 +0000
commit52d151db798013bc5218afb9b71ee3aa398d336d (patch)
tree689d21a536bcae33a3e35d7af2b9c11a594e3b63 /test/daemon/rgm3800.log.chk
parentac3c3cacf32adf72dd8d46cbbccd8296e9fd62c2 (diff)
downloadgpsd-52d151db798013bc5218afb9b71ee3aa398d336d.tar.gz
This commit resolves the time overflows in the rgm3800 and mkt3301.
These were causing port problems on systems with 32-bit time. It turns out the problem was with the assumption that these devices always deliver a valid time in $GPRMC. They don't when the navigation warning bit (second field 'V') is on! The NMEA driver now knows. Also, the code now contains a sanity check - it will log a complaint if it sees a date moere than a year in the future. This invariably indicates some driver-level problem with time extraction.
Diffstat (limited to 'test/daemon/rgm3800.log.chk')
-rw-r--r--test/daemon/rgm3800.log.chk8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/daemon/rgm3800.log.chk b/test/daemon/rgm3800.log.chk
index d8b5fdc6..2e6b88f3 100644
--- a/test/daemon/rgm3800.log.chk
+++ b/test/daemon/rgm3800.log.chk
@@ -7,20 +7,20 @@ $GPGSV,3,3,12,16,00,000,,28,00,000,,26,00,000,,29,00,000,*78
$GPRMC,235951.952,V,0000.0000,N,00000.0000,E,,0.00,050180,,,N*63
$GPGGA,235952.953,0000.0000,N,00000.0000,E,0,00,,0.0,M,0.0,M,,0000*46
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
-{"class":"TPV","tag":"GSA","time":3471724791.952,"ept":0.005,"mode":1}
+{"class":"TPV","tag":"GSA","mode":1}
$GPGSV,3,1,12,20,00,000,,10,00,000,,31,00,000,,27,00,000,*7C
$GPGSV,3,2,12,19,00,000,,07,00,000,,04,00,000,,24,00,000,*76
$GPGSV,3,3,12,16,00,000,,28,00,000,,26,00,000,,29,00,000,*78
$GPRMC,235952.953,V,0000.0000,N,00000.0000,E,,0.00,050180,,,N*61
-{"class":"TPV","tag":"RMC","time":3471724792.953,"ept":0.005}
$GPGGA,102523.342,4815.6883,N,01140.3675,E,1,03,4.1,-47.5,M,47.5,M,,0000*4B
+{"class":"TPV","tag":"GGA","lat":48.261471667,"lon":11.672791667,"alt":-47.500,"epv":0.000,"mode":3}
$GPGSA,A,2,09,18,15,,,,,,,,,,4.2,4.1,1.0*35
$GPGSV,3,1,11,15,78,236,41,09,30,277,44,18,26,303,36,22,04,332,34*73
$GPGSV,3,2,11,26,64,298,,29,53,146,,28,45,057,25,17,28,119,22*78
$GPGSV,3,3,11,08,13,081,27,12,06,219,22,10,05,190,21*4F
{"class":"SKY","tag":"GSV","vdop":1.00,"hdop":4.10,"pdop":4.20,"satellites":[{"PRN":15,"el":78,"az":236,"ss":41,"used":true},{"PRN":9,"el":30,"az":277,"ss":44,"used":true},{"PRN":18,"el":26,"az":303,"ss":36,"used":true},{"PRN":22,"el":4,"az":332,"ss":34,"used":false},{"PRN":26,"el":64,"az":298,"ss":0,"used":false},{"PRN":29,"el":53,"az":146,"ss":0,"used":false},{"PRN":28,"el":45,"az":57,"ss":25,"used":false},{"PRN":17,"el":28,"az":119,"ss":22,"used":false},{"PRN":8,"el":13,"az":81,"ss":27,"used":false},{"PRN":12,"el":6,"az":219,"ss":22,"used":false},{"PRN":10,"el":5,"az":190,"ss":21,"used":false}]}
$GPRMC,102523.342,A,4815.6883,N,01140.3675,E,0.00,0.00,210808,,,A*61
-{"class":"TPV","tag":"RMC","time":3491461523.342,"ept":0.005,"lat":48.261471667,"lon":11.672791667,"alt":-47.500,"epv":0.000,"track":0.0000,"speed":0.000,"climb":0.000,"mode":3}
+{"class":"TPV","tag":"RMC","time":1219314323.342,"ept":0.005,"lat":48.261471667,"lon":11.672791667,"alt":-47.500,"epv":0.000,"track":0.0000,"speed":0.000,"mode":3}
$GPGGA,102524.342,4815.6880,N,01140.3673,E,1,03,4.1,-47.5,M,47.5,M,,0000*49
$GPGSA,A,2,09,18,15,,,,,,,,,,4.2,4.1,1.0*35
$GPGSV,3,1,11,15,78,236,41,09,30,277,44,18,26,303,36,22,04,332,34*73
@@ -28,4 +28,4 @@ $GPGSV,3,2,11,26,64,298,,29,53,146,,28,45,057,25,17,28,119,22*78
$GPGSV,3,3,11,08,13,081,28,12,06,219,22,10,05,190,21*40
{"class":"SKY","tag":"GSV","vdop":1.00,"hdop":4.10,"pdop":4.20,"satellites":[{"PRN":15,"el":78,"az":236,"ss":41,"used":true},{"PRN":9,"el":30,"az":277,"ss":44,"used":true},{"PRN":18,"el":26,"az":303,"ss":36,"used":true},{"PRN":22,"el":4,"az":332,"ss":34,"used":false},{"PRN":26,"el":64,"az":298,"ss":0,"used":false},{"PRN":29,"el":53,"az":146,"ss":0,"used":false},{"PRN":28,"el":45,"az":57,"ss":25,"used":false},{"PRN":17,"el":28,"az":119,"ss":22,"used":false},{"PRN":8,"el":13,"az":81,"ss":28,"used":false},{"PRN":12,"el":6,"az":219,"ss":22,"used":false},{"PRN":10,"el":5,"az":190,"ss":21,"used":false}]}
$GPRMC,102524.342,A,4815.6880,N,01140.3673,E,0.00,0.00,210808,,,A*63
-{"class":"TPV","tag":"RMC","time":3491461524.342,"ept":0.005,"lat":48.261466667,"lon":11.672788333,"alt":-47.500,"epv":23.000,"track":0.0000,"speed":0.000,"climb":0.000,"mode":3}
+{"class":"TPV","tag":"RMC","time":1219314324.342,"ept":0.005,"lat":48.261466667,"lon":11.672788333,"alt":-47.500,"epv":23.000,"track":0.0000,"speed":0.000,"climb":0.000,"mode":3}