aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-18 01:46:14 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-18 01:46:14 +1200
commitb8d998875277a59a7d18f71fc725ba32ac61eda3 (patch)
tree9d5e926939debbfff367fe9fc7dde3635b002af5 /test/org/traccar/protocol
parent2850cd63c6f89304e4c038c82e5b320067c1a2c9 (diff)
downloadtrackermap-server-b8d998875277a59a7d18f71fc725ba32ac61eda3.tar.gz
trackermap-server-b8d998875277a59a7d18f71fc725ba32ac61eda3.tar.bz2
trackermap-server-b8d998875277a59a7d18f71fc725ba32ac61eda3.zip
Decode eeLink new format alarms
Diffstat (limited to 'test/org/traccar/protocol')
-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 aaf58b438..b6145c183 100644
--- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
@@ -14,6 +14,12 @@ public class EelinkProtocolDecoderTest extends ProtocolTest {
"454C0027E753035254407167747167670100180002035254407167747100200205020500010432000086BD"));
verifyPosition(decoder, binary(
+ "676714002414B05AD43A7D03026B92B10C395499FFD7000000000701CC00002495000014203604067B"));
+
+ verifyNotNull(decoder, binary(
+ "676714004F14B0E68CAFE58AA8E68AA5E8ADA621E5B9BFE4B89CE79C81E6B7B1E59CB3E5B882E58D97E5B1B1E58CBAE696B0E8A5BFE8B7AF3138EFBC88E8B79DE5AE87E998B3E5A4A7E58EA63230E7B1B3EFBC89"));
+
+ verifyPosition(decoder, binary(
"676780005a000001000000004c61743a4e33312e38333935352c4c6f6e3a5738322e36313334362c436f757273653a302e30302c53706565643a302e30306b6d2f682c4461746554696d653a323031372d31322d30322031313a32393a3433"));
verifyPosition(decoder, binary(