aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-12-30 17:03:04 -0800
committerAnton Tananaev <anton@traccar.org>2022-12-30 17:03:04 -0800
commit32d276ee8d3595a9f3290b96ca0b6bdd6140b7b4 (patch)
treee38726a0883161df7900b1145d6294ebe085bf5e /src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
parent6c8fdbbf5f44db7eb88bc75dbaf89c679aa25cd5 (diff)
downloadtrackermap-server-32d276ee8d3595a9f3290b96ca0b6bdd6140b7b4.tar.gz
trackermap-server-32d276ee8d3595a9f3290b96ca0b6bdd6140b7b4.tar.bz2
trackermap-server-32d276ee8d3595a9f3290b96ca0b6bdd6140b7b4.zip
Improve JM-LL301 support
Diffstat (limited to 'src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-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 d1789bb16..9d0716c7d 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(
+ "787819a5012ed0000075df000000000098661502050413000019a12b0d0a"),
+ Position.KEY_ALARM, Position.ALARM_TAMPERING);
+
+ verifyAttribute(decoder, binary(
"7878131302801900002e42016f000000003a0177ef180d0a"),
Position.KEY_POWER, 3.67);