aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-12-04 08:28:19 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-12-04 08:28:19 -0800
commitd7aabe103f4a560353d9ed16d541540b834c5e19 (patch)
tree70da79da9fb51773ca5aa9cbfc7e8ece9f06853a /src/test/java/org
parentbff2f2d61878390827ed452bd8a6c4e48f89083b (diff)
downloadtrackermap-server-d7aabe103f4a560353d9ed16d541540b834c5e19.tar.gz
trackermap-server-d7aabe103f4a560353d9ed16d541540b834c5e19.tar.bz2
trackermap-server-d7aabe103f4a560353d9ed16d541540b834c5e19.zip
Additional alarm field
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java
index 331be974c..e8da93006 100644
--- a/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TopinProtocolDecoderTest.java
@@ -18,6 +18,10 @@ public class TopinProtocolDecoderTest extends ProtocolTest {
"78780d0103593390754169634d0d0a"));
verifyAttribute(decoder, binary(
+ "7878006921120412565802010601071e4a9764071e4a9864010d0a"),
+ Position.KEY_ALARM, Position.ALARM_VIBRATION);
+
+ verifyAttribute(decoder, binary(
"787801940D0A"),
Position.KEY_ALARM, Position.ALARM_VIBRATION);