aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Jt600ProtocolDecoderTest.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/Jt600ProtocolDecoderTest.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/Jt600ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Jt600ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java b/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java
index 706987164..64db2a124 100644
--- a/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class Jt600ProtocolDecoderTest extends ProtocolTest {
Jt600ProtocolDecoder decoder = new Jt600ProtocolDecoder(new Jt600Protocol());
+ verifyPosition(decoder, binary(
+ "2475201509260111002313101503464722331560113555309F00000000002D0500CB206800F064109326381A03"));
+
+ verifyPosition(decoder, binary(
+ "2475605035891613002328091601152806086750106533350c00000000000a000000000000e1ff4f97007f1607"));
+
verifyPosition(decoder, buffer(
"(3301210003,U01,040812,185302,T,22.564025,N,113.242329,E,5.21,152,9,32%,00000000000011,10133,5173,22,100,1)"));