aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-10 18:08:40 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-10 18:08:40 -0700
commit7d9eb1d2993ddc33523645ed4cce29729b0163ff (patch)
tree9e8424066dbf9d928e568f84f012533c6811d391 /src/test/java/org/traccar
parent18fa5d9b7a234638183cd773dcb49987d51cc381 (diff)
downloadtrackermap-server-7d9eb1d2993ddc33523645ed4cce29729b0163ff.tar.gz
trackermap-server-7d9eb1d2993ddc33523645ed4cce29729b0163ff.tar.bz2
trackermap-server-7d9eb1d2993ddc33523645ed4cce29729b0163ff.zip
GoSafe G1A additional data
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
index 0b36b8f4d..49622745f 100644
--- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new HuabaoProtocolDecoder(null));
+ verifyAttribute(decoder, binary(
+ "7e020000340551231425560568000000000400000201618a9706c320e100410000002722060816261501040000015d300115310105eb0a000300e164000300e301957e"),
+ Position.KEY_BATTERY_LEVEL, 100);
+
verifyNull(decoder, buffer(
"(794104004140,1,001,BASE,2,TIME)"));