aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Jt600FrameDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-30 02:58:57 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-30 02:58:57 +1300
commit7d8f4290bbd4400152660923f4e8024d016b27ec (patch)
tree00d4675384a6ebd177dfd36e6ba4899c02f1382e /test/org/traccar/protocol/Jt600FrameDecoderTest.java
parent2484aa3465994e7281cd98427cdc338f5cbdbce1 (diff)
downloadtrackermap-server-7d8f4290bbd4400152660923f4e8024d016b27ec.tar.gz
trackermap-server-7d8f4290bbd4400152660923f4e8024d016b27ec.tar.bz2
trackermap-server-7d8f4290bbd4400152660923f4e8024d016b27ec.zip
Implement JT701 device support
Diffstat (limited to 'test/org/traccar/protocol/Jt600FrameDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Jt600FrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Jt600FrameDecoderTest.java b/test/org/traccar/protocol/Jt600FrameDecoderTest.java
index ccfbcf0d0..43f7461d0 100644
--- a/test/org/traccar/protocol/Jt600FrameDecoderTest.java
+++ b/test/org/traccar/protocol/Jt600FrameDecoderTest.java
@@ -12,6 +12,10 @@ public class Jt600FrameDecoderTest extends ProtocolTest {
Jt600FrameDecoder decoder = new Jt600FrameDecoder();
Assert.assertEquals(
+ binary("2475605035891613002328091601152806086750106533350c00000000000a000000000000e1ff4f97007f1607"),
+ decoder.decode(null, null, binary("2475605035891613002328091601152806086750106533350c00000000000a000000000000e1ff4f97007f1607")));
+
+ Assert.assertEquals(
binary("28333132303832303032392C5730312C30323535332E333535352C452C323433382E303939372C532C412C3137313031322C3035333333392C302C382C32302C362C33312C352C32302C323029"),
decoder.decode(null, null, binary("28333132303832303032392C5730312C30323535332E333535352C452C323433382E303939372C532C412C3137313031322C3035333333392C302C382C32302C362C33312C352C32302C323029")));