aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-09-09 16:59:54 -0700
committerAnton Tananaev <anton@traccar.org>2022-09-09 16:59:54 -0700
commitff95c7dc0adf17710438f7dd2168d6ad1dd31415 (patch)
treea8d4fbec2dce809bbffae9742ae821b21423dca8 /src/test
parent9b5654e253ed3dedfb43125a0611896dfa8fc863 (diff)
downloadtrackermap-server-ff95c7dc0adf17710438f7dd2168d6ad1dd31415.tar.gz
trackermap-server-ff95c7dc0adf17710438f7dd2168d6ad1dd31415.tar.bz2
trackermap-server-ff95c7dc0adf17710438f7dd2168d6ad1dd31415.zip
Decode G18 light sensor
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index f3f47a104..6ab78260c 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -17,6 +17,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyAttribute(decoder, binary(
+ "78782516160908063736c0006e70110442fc800000000800000000000000000300002512000473fb0d0a"),
+ Position.KEY_ALARM, Position.ALARM_TAMPERING);
+
verifyPosition(decoder, binary(
"78782e2416061a103600c80275298404a0a24000184602d4023a49006f060104ed01940000086508004139765000be7d640d0a"));