aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-05-06 17:37:27 -0700
committerAnton Tananaev <anton@traccar.org>2024-05-06 17:37:27 -0700
commita8a8036fc87076c910196c290b8ea551c7be9a52 (patch)
tree9b2158d9d4803041bdf90667cf4910f2879be380 /src/test/java
parent49483e0420ca8c7ff1afb31dacc7a427f93c7a3a (diff)
downloadtrackermap-server-a8a8036fc87076c910196c290b8ea551c7be9a52.tar.gz
trackermap-server-a8a8036fc87076c910196c290b8ea551c7be9a52.tar.bz2
trackermap-server-a8a8036fc87076c910196c290b8ea551c7be9a52.zip
Add G1C 5W ICCID support
Diffstat (limited to 'src/test/java')
-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 7fd7cc599..425c88785 100644
--- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
@@ -12,6 +12,10 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new HuabaoProtocolDecoder(null));
verifyAttribute(decoder, binary(
+ "7e020000460100503769640002000001000000001a01b9eaf804d8ee86001800000000240507035152010400000000300100310107eb1c00060089fffffffe000400ce0000000c00b28942310221007544309f5f7e"),
+ Position.KEY_ICCID, "8942310221007544309");
+
+ verifyAttribute(decoder, binary(
"7E0200005300959000194400080000000000000003015DA64806CCB4A8001100000000230816014137010400005B3F30011F310112EB29000C00B28986049910219020787400060089FFFFFFFF000600C5FFFFFFEF0004002D0F4E000300A84CE07E"),
Position.KEY_BATTERY_LEVEL, 76);