From 6dfd599ef69fac9ea0851e3c07873c6368231610 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 14 Jul 2016 16:42:27 +1200 Subject: Support new eelink protocol messages --- test/org/traccar/protocol/EelinkProtocolDecoderTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/org/traccar/protocol') 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 @@ -10,6 +10,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")); -- cgit v1.2.3