diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-25 04:31:13 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-25 04:31:13 +1200 |
commit | c8e5c5e3da63646fd7c84d4f522bc8d7e5109982 (patch) | |
tree | 47e428d3cd786ca19689cfe795578ed87e82ec0d /test/org | |
parent | 027256c9524cace22f9718f3fa2d929e845de479 (diff) | |
download | traccar-server-c8e5c5e3da63646fd7c84d4f522bc8d7e5109982.tar.gz traccar-server-c8e5c5e3da63646fd7c84d4f522bc8d7e5109982.tar.bz2 traccar-server-c8e5c5e3da63646fd7c84d4f522bc8d7e5109982.zip |
Implement missing XT2400 parameters
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
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( |