aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-01 16:13:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-01 16:13:46 +1300
commit6a294a6f574c610e6577224c0eea0e65ce8993f2 (patch)
tree6736fc4c90b0bb651bce5a5720b0030d4c556bdf /test/org/traccar
parent571078422b3e1162870d777124a3844da56583b0 (diff)
downloadtrackermap-server-6a294a6f574c610e6577224c0eea0e65ce8993f2.tar.gz
trackermap-server-6a294a6f574c610e6577224c0eea0e65ce8993f2.tar.bz2
trackermap-server-6a294a6f574c610e6577224c0eea0e65ce8993f2.zip
Add new Aquila protocol format
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/AquilaProtocolDecoderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
index 3e823d74d..de50176ae 100644
--- a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
@@ -11,6 +11,15 @@ public class AquilaProtocolDecoderTest extends ProtocolTest {
AquilaProtocolDecoder decoder = new AquilaProtocolDecoder(new AquilaProtocol());
verifyPosition(decoder, text(
+ "$$CLIENT_1ZF,170222318,101,22.846016,75.949104,170321103506,A,0,0,244991,0,10,0.860000,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,12483,294,*3D"));
+
+ verifyNothing(decoder, text(
+ "$$CLIENT_1ZF,170222318,15,2_00AP,70.35.195.185,5089,internet,T1:10 S,T2:1 M,Ad1:9164061023,Ad2:9164061023,TOF:0 S,,OSC:75 KM,OST:0 S,GPS:YES,Ignition:ON,*75"));
+
+ verifyPosition(decoder, text(
+ "$$CLIENT_1ZF,170222318,1,22.836912,75.942215,170321110736,A,11,12,247196,103,10,0.810000,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,13325,306,*36"));
+
+ verifyPosition(decoder, text(
"$$CLIENT_1ZF,130329214,1,12.962985,77.576484,140127165433,A,22,0,0,140,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1253,420,1,0,1,0,0,1,P(01:410104000102|05:410521|0C:410C0000|0D:410D65|21:4121161C),D(P0121|B2105),-895,745,-145,300,*26"));
verifyPosition(decoder, text(