aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-10-11 22:54:11 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-10-11 22:54:11 -0700
commitd6d8a33bd28a5e9c2e712f0a2f7041cb681a28d7 (patch)
tree252f53c9a33a8810c4211f6be77d837f3be08615 /src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
parentaeb560b9eb988960e2964c4e329899723dd70891 (diff)
downloadtrackermap-server-d6d8a33bd28a5e9c2e712f0a2f7041cb681a28d7.tar.gz
trackermap-server-d6d8a33bd28a5e9c2e712f0a2f7041cb681a28d7.tar.bz2
trackermap-server-d6d8a33bd28a5e9c2e712f0a2f7041cb681a28d7.zip
Support JT701 devices
Diffstat (limited to 'src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
index cd2d5b102..eda97ba2d 100644
--- a/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
@@ -11,6 +11,10 @@ public class Jt600FrameDecoderTest extends ProtocolTest {
var decoder = new Jt600FrameDecoder();
verifyFrame(
+ binary("2480413009781914003406102107544354193631006213423b00000000006c070000000020e064f91ea0671d00020f0f0f0f0f0f0f0f0f0f07f100ea0f6e"),
+ decoder.decode(null, null, binary("2480413009781914003406102107544354193631006213423b00000000006c070000000020e064f91ea0671d00020f0f0f0f0f0f0f0f0f0f07f100ea0f6e")));
+
+ verifyFrame(
binary("2478905197081711003405101917164812492365028134847d0a1c000002640c0000000020c032759600731000000f0f0f0f0f0f0f0f0f0f000702850274"),
decoder.decode(null, null, binary("2478905197081711003405101917164812492365028134847d0a1c000002640c0000000020c032759600731000000f0f0f0f0f0f0f0f0f0f000702850274")));