aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-24 16:23:12 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-24 16:23:12 -0700
commitd4efbfa2a7d9d8410540fd2b6409c4086da9cec5 (patch)
tree5630fcaac94f01ae394277dd3ca6ae42d7243792 /src/test
parentb083371beb7b5d32b8ce91da60e10dd3cf8b4c6b (diff)
downloadtrackermap-server-d4efbfa2a7d9d8410540fd2b6409c4086da9cec5.tar.gz
trackermap-server-d4efbfa2a7d9d8410540fd2b6409c4086da9cec5.tar.bz2
trackermap-server-d4efbfa2a7d9d8410540fd2b6409c4086da9cec5.zip
Add JT808 driver information
Diffstat (limited to 'src/test')
-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 1737593e4..4541185f4 100644
--- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
@@ -15,6 +15,10 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest {
"7e010200204f07788ef67601824f4459344f544d314d4459774d4441314d444977626d5633553235536457786cba7e"));
verifyAttribute(decoder, binary(
+ "7E02000079013653183645009E00000000000C0C030158BF0006C926670000004000CE22120904274201040000005DBC3244524956494E47204C4943454E53452454455354244D522E0000000000000000000000000000000000000000000000000000BD0F323431393939393935383030313030E3060000050500007102000C30011F310108987E"),
+ "driver", "DRIVING LICENSE$TEST$MR.");
+
+ verifyAttribute(decoder, binary(
"7e55019c3b8571110003399a07032310302029538631031015370500001a0c000000265700440001233703080000001001020202000a0a04028f000af401040c06ff98ffa8007e707e"),
"tilt", "[-104,-88,126]");