aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-25 07:09:17 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-25 07:09:17 +1200
commit3c492dc734d79d13ce0ea9d5a8c7667fc82b9377 (patch)
tree0ec1622e2b9fa73991a0e52b4124c53c2aa278e1 /test/org
parent05139e49bce1d7b5bf90f3ecbe78739450e3c0bf (diff)
downloadtraccar-server-3c492dc734d79d13ce0ea9d5a8c7667fc82b9377.tar.gz
traccar-server-3c492dc734d79d13ce0ea9d5a8c7667fc82b9377.tar.bz2
traccar-server-3c492dc734d79d13ce0ea9d5a8c7667fc82b9377.zip
Support Huabao batched locations
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/HuabaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
index 9ce1c6caa..95e183460 100644
--- a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest {
HuabaoProtocolDecoder decoder = new HuabaoProtocolDecoder(new HuabaoProtocol());
+ verifyPositions(decoder, binary(
+ "7E070400F30303000002450064000401003A000000000000000301618AC606C31F20000000000029180514202847010400000000EB16000C00B28986061708003732585700060089FFFFFFFE003A000000000000000301618AE806C31EB800000000009F180514202917010400000000EB16000C00B28986061708003732585700060089FFFFFFFE003A000000000000000301618AE806C31EB800000000009F180514202947010400000000EB16000C00B28986061708003732585700060089FFFFFFFE003A000001000000080301618AE806C31EB800000000009F180514203006010400000000EB16000C00B28986061708003732585700060089FFFFFFFED77E"));
+
verifyPosition(decoder, binary(
"7e02000054093037612710000700000000000000010223aca000dc9dd800000000000017121417122133362a4d30302c34352c31313336393042383030313233303026303030303030303030303030263132333435363738393031323334353623897e"));