aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-05-16 09:57:27 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-05-16 09:57:27 -0700
commitbac4f925cc7d00f4ba0225d8b3391b6b382a588e (patch)
tree9a04ef6ca10f6659fe278045b89fccdfff4910c6 /src/test/java/org
parent1ebea9d3765ac5658b0513f3f8a3934d5b0d50d3 (diff)
downloadtraccar-server-bac4f925cc7d00f4ba0225d8b3391b6b382a588e.tar.gz
traccar-server-bac4f925cc7d00f4ba0225d8b3391b6b382a588e.tar.bz2
traccar-server-bac4f925cc7d00f4ba0225d8b3391b6b382a588e.zip
Decode Cellocator ADC and inputs
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java
index 523ad1d5c..dcc4b267d 100644
--- a/src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class CellocatorProtocolDecoderTest extends ProtocolTest {
CellocatorProtocolDecoder decoder = new CellocatorProtocolDecoder(null);
verifyPosition(decoder, binary(
+ "4D43475000856308000004B2DE1F04009E00200100000000696CF7AB002F1A00000000000000325C000402069BFDE70857E22502F41C000036000000DF0B0932100B09DC0719"));
+
+ verifyPosition(decoder, binary(
"4d4347500bde66220048165400cb0000000000080600000124161400061300050402095501aaf8218787fcac390100010000070700013133150f07131905001e000100000293001e00697e6f24148240040000000083400400000000844004000000008540040000000086400400000000874004000000008840040000000089400400000000814004000000008c4004000000008d4004000000008e4004000000009140040000000090400400000000804004000000008a400400000000974004000000008b4004000000009d4004000000009b400400000000da"));
verifyPosition(decoder, binary(