aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-08-04 17:12:49 -0700
committerAnton Tananaev <anton@traccar.org>2023-08-04 17:12:49 -0700
commitd979ab718ff043c6ec6b815e9833621b9fe0e566 (patch)
tree0b6b9d6b3679b067c0d0b8c88bc3ea9bbdc50566 /src/test
parent95fdfd770130b774e6201ddc88bba9241c95e3cc (diff)
downloadtrackermap-server-d979ab718ff043c6ec6b815e9833621b9fe0e566.tar.gz
trackermap-server-d979ab718ff043c6ec6b815e9833621b9fe0e566.tar.bz2
trackermap-server-d979ab718ff043c6ec6b815e9833621b9fe0e566.zip
Support JC400 alarm messages
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 40f268a9d..9b196e501 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -18,6 +18,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
"78780D01086471700328358100093F040D0A"));
verifyAttribute(decoder, binary(
+ "78785995ffff01170719152013df0163d45f041ee52018be002f00876900004556454e545f3836323739383035303137353131325f30303030303030305f323032335f30375f32355f31385f33325f30355f31342e6d70340119d15a0d0a"),
+ Position.KEY_EVENT, 0x69);
+
+ verifyAttribute(decoder, binary(
"787829a01707150f2d0ecd01635100041e96d000087c02d4020000912e000000000718798d000e0006ed3ce50d0a"),
Position.KEY_IGNITION, false);