diff options
author | Anton Tananaev <anton@traccar.org> | 2023-08-04 17:12:49 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-08-04 17:12:49 -0700 |
commit | d979ab718ff043c6ec6b815e9833621b9fe0e566 (patch) | |
tree | 0b6b9d6b3679b067c0d0b8c88bc3ea9bbdc50566 /src/test/java/org/traccar | |
parent | 95fdfd770130b774e6201ddc88bba9241c95e3cc (diff) | |
download | trackermap-server-d979ab718ff043c6ec6b815e9833621b9fe0e566.tar.gz trackermap-server-d979ab718ff043c6ec6b815e9833621b9fe0e566.tar.bz2 trackermap-server-d979ab718ff043c6ec6b815e9833621b9fe0e566.zip |
Support JC400 alarm messages
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 |
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); |