aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-15 02:23:14 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-15 02:23:14 +1200
commitbb0d6eef1870454673cffbcd9b27d0381aaf21ff (patch)
tree79278278e486cde4845d07db233ce6995f7857ad /test/org
parent849cfa52a907666241b58d988c9a3b324ac67ba0 (diff)
downloadtrackermap-server-bb0d6eef1870454673cffbcd9b27d0381aaf21ff.tar.gz
trackermap-server-bb0d6eef1870454673cffbcd9b27d0381aaf21ff.tar.bz2
trackermap-server-bb0d6eef1870454673cffbcd9b27d0381aaf21ff.zip
Decode additional GPS103 data
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index 17ed8da56..cf111f687 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest {
Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol());
+ verifyPosition(decoder, text(
+ "imei:353451044508750,001,0809231929,13554900601,F,055403.000,A,2233.1870,N,11354.3067,E,0.00,30.1,65.43,1,0,10.5%,0.0%,28;"));
+
+ verifyPosition(decoder, text(
+ "imei:864180036029895,acc on,180508145653,,F,065645.000,A,4729.1497,N,01904.2342,E,0.00,0,,1,,0.00%,,;"));
+
verifyNotNull(decoder, text(
"imei:864895030279986,ac alarm,180404174252,,L,,,296a,,51f7,,,"));