summaryrefslogtreecommitdiff
path: root/test/daemon/iTrek.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/iTrek.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/iTrek.log.chk')
-rw-r--r--test/daemon/iTrek.log.chk7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/daemon/iTrek.log.chk b/test/daemon/iTrek.log.chk
index 63dc160c..3e2f3d4b 100644
--- a/test/daemon/iTrek.log.chk
+++ b/test/daemon/iTrek.log.chk
@@ -1,15 +1,20 @@
$GPRMC,151605.053,V,,,,,,,260705,,*29
$GPRMC,151606.055,V,,,,,,,260705,,*2C
-{"class":"TPV","tag":"RMC","time":1122390966.055,"ept":0.005}
$GPGSA,A,1,,,,*32
$GPGSA,A,3,09,05,14,26,,,,,,,,,2.9,2.2,1.9*3C
+{"class":"TPV","tag":"GSA","epv":43.700,"mode":3}
$GPGSA,A,3,09,05,14,26,,,,,,,,,2.9,2.2,1.9*3C
+{"class":"TPV","tag":"GSA","epv":43.700,"mode":3}
$GPGSA,A,3,09,05,14,26,,,,,,,,,2.9,2.2,1.9*3C
+{"class":"TPV","tag":"GSA","epv":43.700,"mode":3}
$GPGSA,A,3,09,05,14,26,,,,,,,,,2.9,2.2,1.9*3C
+{"class":"TPV","tag":"GSA","epv":43.700,"mode":3}
$GPGSA,A,3,09,05,14,26,,,,,,,,,2.9,2.2,1.9*3C
+{"class":"TPV","tag":"GSA","epv":43.700,"mode":3}
$GPRMC,045849.000,A,3519.9048,N,13640.2631,E,0.10,92.17,270705,,*31
{"class":"TPV","tag":"RMC","time":1122440329.000,"ept":0.005,"lat":35.331746667,"lon":136.671051667,"track":92.1700,"speed":0.051,"mode":2}
$GPGSA,A,3,09,05,14,26,,,,,,,,,2.9,2.2,1.9*3C
+{"class":"TPV","tag":"GSA","time":1122440329.000,"ept":0.005,"lat":35.331746667,"lon":136.671051667,"epv":43.700,"track":92.1700,"speed":0.051,"mode":3}
$GPRMC,045850.000,A,3519.9047,N,13640.2631,E,0.11,99.12,270705,,*39
{"class":"TPV","tag":"RMC","time":1122440330.000,"ept":0.005,"lat":35.331745000,"lon":136.671051667,"track":99.1200,"speed":0.057,"mode":2}
$GPGGA,045851.000,3519.9046,N,13640.2631,E,1,04,2.2,80.4,M,,,,0000*39