aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-03-31 19:35:46 -0700
committerAnton Tananaev <anton@traccar.org>2022-03-31 19:35:46 -0700
commit307c4dd690c5826e076657fa83f2ddd41cec1126 (patch)
tree15c8ab53243edc1d208a94d637d558f8512171ad /src/test/java
parentb98bf59312c136aa4324e9e7bdbef0086067e5e7 (diff)
downloadtrackermap-server-307c4dd690c5826e076657fa83f2ddd41cec1126.tar.gz
trackermap-server-307c4dd690c5826e076657fa83f2ddd41cec1126.tar.bz2
trackermap-server-307c4dd690c5826e076657fa83f2ddd41cec1126.zip
Decode JT701 RFID value
Diffstat (limited to 'src/test/java')
-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 3c681ec58..3bf01c1ae 100644
--- a/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Jt600ProtocolDecoderTest extends ProtocolTest {
var decoder = new Jt600ProtocolDecoder(null);
+ verifyPosition(decoder, buffer(
+ "(8000632862,P45,290322,132412,25.28217,S,57.54683,W,A,0,0,5,0,0000000000,0,0,9,0)"));
+
verifyPositions(decoder, binary(
"2480413009781914003406102107544354193631006213423b00000000006c070000000020e064f91ea0671d00020f0f0f0f0f0f0f0f0f0f07f100ea0f6e"));