diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-08-29 20:32:10 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-08-29 20:32:10 +1200 |
commit | 3f8c59f633f430e477d27301f2358499906fb21a (patch) | |
tree | e5fae28b1c9ff5f6c1bc1de8170036652be7684f /test/org/traccar/protocol | |
parent | 6223aaf9c397ffa930fddbd7b5e42fc6c94ad63d (diff) | |
download | trackermap-server-3f8c59f633f430e477d27301f2358499906fb21a.tar.gz trackermap-server-3f8c59f633f430e477d27301f2358499906fb21a.tar.bz2 trackermap-server-3f8c59f633f430e477d27301f2358499906fb21a.zip |
Fix GPS103 decoder (fix #371)
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index 42f79b26a..46f79cacd 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -20,6 +20,9 @@ public class Gps103ProtocolDecoderTest { // No GPS signal assertNull(decoder.decode(null, null, "imei:359586015829802,tracker,000000000,13554900601,L,;")); + + assertNotNull(decoder.decode(null, null, + "imei:869039001186913,tracker,1308282156,0,F,215630.000,A,5602.11015,N,9246.30767,E,1.4,,175.9,")); assertNotNull(decoder.decode(null, null, "imei:359710040656622,tracker,13/02/27 23:40,,F,125952.000,A,3450.9430,S,13828.6753,E,0.00,0")); |