aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-02-06 15:51:09 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-02-06 15:51:09 +1300
commit92fa1cd409393a10978a391c0a27f1eb37a0b74c (patch)
tree109dc1f61d865aa8416e2fe4bd9103d66bbc2745 /test
parentdd0fe191acd245b6a66240bd5daa736e873d043e (diff)
downloadtrackermap-server-92fa1cd409393a10978a391c0a27f1eb37a0b74c.tar.gz
trackermap-server-92fa1cd409393a10978a391c0a27f1eb37a0b74c.tar.bz2
trackermap-server-92fa1cd409393a10978a391c0a27f1eb37a0b74c.zip
Decode Aquila sensor data
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/AquilaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
index 8844dafd2..1148896c1 100644
--- a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class AquilaProtocolDecoderTest extends ProtocolTest {
AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(new AquilaProtocol());
verifyPosition(decoder, text(
+ "$$CLIENT_1ZF,170215089,20,18.462809,73.824188,170613182744,A,01,123456,*37"));
+
+ verifyPosition(decoder, text(
"$$CLIENT_1ZF,170215089,1,18.462809,73.824188,170613182744,A,19,0,0,256,4,4.860000,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,259,3731,*37"));
verifyPosition(decoder, text(