aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-06-09 23:11:21 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-06-09 23:11:21 -0700
commita796c0317dc8c0598adb757eb6a77358c90767c3 (patch)
tree5ec7dd93cc7ecca0ce591d5f791ea4dd3dde053a /src/test
parent7dc90b43ee9ca04d317e7d8f45beab915550adfb (diff)
downloadtrackermap-server-a796c0317dc8c0598adb757eb6a77358c90767c3.tar.gz
trackermap-server-a796c0317dc8c0598adb757eb6a77358c90767c3.tar.bz2
trackermap-server-a796c0317dc8c0598adb757eb6a77358c90767c3.zip
Support JT600 protocol for JT701
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
index 1ffa2a429..718000a44 100644
--- a/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class Jt600ProtocolDecoderTest extends ProtocolTest {
Jt600ProtocolDecoder decoder = new Jt600ProtocolDecoder(null);
verifyPositions(decoder, binary(
+ "2475810297431713003401010000030100000000000000000e000000000001000000000020e0641aba1b6f1b00000f0f0f0f0f0f0f0f0f0f000001942803"));
+
+ verifyPositions(decoder, binary(
"2440811188882400A209060908045322564025113242329F0598000001003F0000002D0009060908050322564025113242329F0598000001003F0000002D0009060908051322564025113242329F0598000001003F0000002D0009060908052322564025113242329F0598000001003F0000002D0009060908053322564025113242329F0598000001003F0000002D0009060908054322564025113242329F0598000001003F0000002D001F"));
verifyPositions(decoder, binary(