summaryrefslogtreecommitdiff
path: root/test/daemon/motorola-t805.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/motorola-t805.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/motorola-t805.log.chk')
-rw-r--r--test/daemon/motorola-t805.log.chk11
1 files changed, 2 insertions, 9 deletions
diff --git a/test/daemon/motorola-t805.log.chk b/test/daemon/motorola-t805.log.chk
index 22acf071..e225e49f 100644
--- a/test/daemon/motorola-t805.log.chk
+++ b/test/daemon/motorola-t805.log.chk
@@ -2,25 +2,20 @@ $GPGGA,212607.891,,,,,0,00,,,M,0.0,M,,0000*56
$GPRMC,212607.891,V,,,,,,,181207,0,N*5C
$GPGGA,212608.879,,,,,0,00,,,M,0.0,M,,0000*5F
$GPRMC,212608.879,V,,,,,,,181207,0,N*55
-{"class":"TPV","tag":"RMC","time":1198013168.879,"ept":0.005}
$GPGGA,212609.879,,,,,0,00,,,M,0.0,M,,0000*5E
$GPRMC,212609.879,V,,,,,,,181207,0,N*54
-{"class":"TPV","tag":"RMC","time":1198013169.879,"ept":0.005}
$GPGGA,212610.879,,,,,0,00,,,M,0.0,M,,0000*56
$GPRMC,212610.879,V,,,,,,,181207,0,N*5C
-{"class":"TPV","tag":"RMC","time":1198013170.879,"ept":0.005}
$GPGGA,212611.879,,,,,0,00,,,M,0.0,M,,0000*57
$GPRMC,212611.879,V,,,,,,,181207,0,N*5D
-{"class":"TPV","tag":"RMC","time":1198013171.879,"ept":0.005}
$GPGGA,212612.879,,,,,0,00,,,M,0.0,M,,0000*54
$GPRMC,212612.879,V,,,,,,,181207,0,N*5E
-{"class":"TPV","tag":"RMC","time":1198013172.879,"ept":0.005}
$GPGGA,212613.879,,,,,0,00,,,M,0.0,M,,0000*55
$GPRMC,212613.879,V,,,,,,,181207,0,N*5F
-{"class":"TPV","tag":"RMC","time":1198013173.879,"ept":0.005}
$GPGGA,212614.879,4839.9488,N,00214.8863,E,1,04,2.2,133.1,M,47.3,M,,0000*55
+{"class":"TPV","tag":"GGA","lat":48.665813333,"lon":2.248105000,"alt":133.100,"mode":3}
$GPRMC,212614.879,A,4839.9488,N,00214.8863,E,0.56,344.41,181207,0,A*77
-{"class":"TPV","tag":"RMC","time":1198013174.879,"ept":0.005,"lat":48.665813333,"lon":2.248105000,"alt":133.100,"track":344.4100,"speed":0.288,"climb":0.000,"mode":3}
+{"class":"TPV","tag":"RMC","time":1198013174.879,"ept":0.005,"lat":48.665813333,"lon":2.248105000,"alt":133.100,"track":344.4100,"speed":0.288,"mode":3}
$GPGGA,212615.879,4839.9396,N,00214.8909,E,1,04,2.2,140.3,M,47.3,M,,0000*57
$GPRMC,212615.879,A,4839.9396,N,00214.8909,E,0.78,237.93,181207,0,A*75
{"class":"TPV","tag":"RMC","time":1198013175.879,"ept":0.005,"lat":48.665660000,"lon":2.248181667,"alt":140.300,"track":237.9300,"speed":0.401,"climb":7.200,"mode":3}
@@ -32,10 +27,8 @@ $GPRMC,212618.000,A,4839.9411,N,00214.9065,E,0.00,,181207,0,A*69
{"class":"TPV","tag":"RMC","time":1198013178.000,"ept":0.005,"lat":48.665685000,"lon":2.248441667,"alt":168.000,"track":0.0000,"speed":0.000,"climb":9.600,"mode":3}
$GPGGA,212619.000,,,,,0,00,50.0,,M,0.0,M,,0000*42
$GPRMC,212619.000,V,,,,,,,181207,0,N*53
-{"class":"TPV","tag":"RMC","time":1198013179.000,"ept":0.005}
$GPGGA,212620.000,,,,,0,00,50.0,,M,0.0,M,,0000*48
$GPRMC,212620.000,V,,,,,,,181207,0,N*59
-{"class":"TPV","tag":"RMC","time":1198013180.000,"ept":0.005}
$GPGGA,212621.000,4839.9411,N,00214.9065,E,1,04,2.2,168.0,M,47.3,M,,0000*55
$GPRMC,212621.000,A,4839.9411,N,00214.9065,E,0.00,,181207,0,A*63
{"class":"TPV","tag":"RMC","time":1198013181.000,"ept":0.005,"lat":48.665685000,"lon":2.248441667,"alt":168.000,"track":0.0000,"speed":0.000,"climb":0.000,"mode":3}