aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-27 22:56:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-27 22:56:22 +1300
commitb149a7b71283f1a8481c9e3954d636afcff6169e (patch)
treec0682f9493518cb096bfe2e7f609513566c523ff /test
parent4f772b76b08d7515cf27c7bfda819612aeea26f9 (diff)
downloadtraccar-server-b149a7b71283f1a8481c9e3954d636afcff6169e.tar.gz
traccar-server-b149a7b71283f1a8481c9e3954d636afcff6169e.tar.bz2
traccar-server-b149a7b71283f1a8481c9e3954d636afcff6169e.zip
Support eeLink UDP format
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/EelinkProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
index 115eef1a3..83ca85c96 100644
--- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class EelinkProtocolDecoderTest extends ProtocolTest {
EelinkProtocolDecoder decoder = new EelinkProtocolDecoder(new EelinkProtocol());
verifyNull(decoder, binary(
+ "454C0027E753035254407167747167670100180002035254407167747100200205020500010432000086BD"));
+
+ verifyPosition(decoder, binary(
+ "454C0050EAE2035254407167747167671200410021590BD93803026B940D0C3952AD0021000000000501CC0001A53F0170F0AB1305890F11000000000000C2D0001C001600000000000000000000000000000000"));
+
+ verifyNull(decoder, binary(
"676701000c007b03525440717505180104"));
verifyPosition(decoder, binary(