From c8e5c5e3da63646fd7c84d4f522bc8d7e5109982 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 25 Jul 2017 04:31:13 +1200 Subject: Implement missing XT2400 parameters --- test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java b/test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java index 3cc0c22ec..35ca282b2 100644 --- a/test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java @@ -10,6 +10,11 @@ public class Xt2400ProtocolDecoderTest extends ProtocolTest { Xt2400ProtocolDecoder decoder = new Xt2400ProtocolDecoder(new Xt2400Protocol()); + decoder.setConfig("\n:wycfg pcr[0] 001001030406070809570a13121714100565\n"); + + verifyPosition(decoder, binary( + "000a344f1f0259766ae002074289f8f1c4b200e80000026712068000130000029300883559464255524845364650323433343235")); + decoder.setConfig("\n:wycfg pcr[0] 000f01030406070809570a131217141005\n"); verifyPosition(decoder, binary( -- cgit v1.2.3