aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-12 07:44:58 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-12 07:44:58 -0700
commit2be2a4558ace9825a69aecf6329305490eb5fe5e (patch)
tree4ad3ff12e9b51d50117046cc69ae505f46f7d151 /src/test
parent7325030436e5fc42b6998240a0c5696a1d4fed5a (diff)
downloadtrackermap-server-2be2a4558ace9825a69aecf6329305490eb5fe5e.tar.gz
trackermap-server-2be2a4558ace9825a69aecf6329305490eb5fe5e.tar.bz2
trackermap-server-2be2a4558ace9825a69aecf6329305490eb5fe5e.zip
Support JM-VL03 messages
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 26f300554..cc71eb9bd 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -17,9 +17,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
- /*verifyAttribute(decoder, binary(
+ verifyNotNull(decoder, binary(
+ "787829a0170704112226cf0163fe7c0420f6f000091302d402000091290000000007186b8f01030001460d010d0a"));
+
+ verifyAttribute(decoder, binary(
"797900109b0344373532304136320d0a000f87f00d0a"),
- Position.KEY_DRIVER_UNIQUE_ID, "44373532304136320d0a");*/
+ Position.KEY_RESULT, "D7520A62");
verifyAttribute(decoder, binary(
"7878241617070a150e24ca01fba0040780e177005c0001720253360027db6204e40400004bf1e90d0a"),