aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-14 16:42:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-14 16:42:27 +1200
commit6dfd599ef69fac9ea0851e3c07873c6368231610 (patch)
tree70e6b64e9b97e4f1082e9fa3bbcbdd0fb284c910 /test
parent82fd4d09aa7ac37bf2eb1857b12efbd3bc773a94 (diff)
downloadtraccar-server-6dfd599ef69fac9ea0851e3c07873c6368231610.tar.gz
traccar-server-6dfd599ef69fac9ea0851e3c07873c6368231610.tar.bz2
traccar-server-6dfd599ef69fac9ea0851e3c07873c6368231610.zip
Support new eelink protocol messages
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/EelinkProtocolDecoderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
index d7a6c5e86..925e90dd6 100644
--- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
@@ -11,6 +11,15 @@ public class EelinkProtocolDecoderTest extends ProtocolTest {
EelinkProtocolDecoder decoder = new EelinkProtocolDecoder(new EelinkProtocol());
verifyNothing(decoder, binary(
+ "676701000c007b03525440717505180104"));
+
+ verifyPosition(decoder, binary(
+ "676712003400505784cc0b130246479b07d05a06001800000000070195039f046100002cc52e6466b391604a4900890e7c00000000000006ca"));
+
+ verifyPosition(decoder, binary(
+ "676714002b00515784cc24130246479b07d05a06001800010000060195039f046100002cc52f6466b391604a49020089"));
+
+ verifyNothing(decoder, binary(
"676701000c002603541880486128290120"));
verifyPosition(decoder, binary(