aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorNikolay Vlahovski <nvlahovski@gmail.com>2023-05-18 09:35:27 +0300
committerGitHub <noreply@github.com>2023-05-18 09:35:27 +0300
commitadbe25e9daa125e989c853068bc600c61234c342 (patch)
treebcba9f4c91ed6dbb5dc29a275fe24c063c1c145b /src/test/java/org/traccar
parent074dc016d21f9848140d125c2812d8abf25e8d53 (diff)
parentfbd3ee0d77673d94766a87aa67c05885e44aa7e5 (diff)
downloadtrackermap-server-adbe25e9daa125e989c853068bc600c61234c342.tar.gz
trackermap-server-adbe25e9daa125e989c853068bc600c61234c342.tar.bz2
trackermap-server-adbe25e9daa125e989c853068bc600c61234c342.zip
Merge branch 'traccar:master' into master
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 2f317d049..5fd9ed894 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(
+ "7e090000344f07788ef87d0138f02305151230460102020001ffffffff000100001457000000020006503134353700000c000a029dc63004b99a98230515132726787e"),
+ Position.KEY_DTCS, "P1457");
+
+ verifyAttribute(decoder, binary(
"7e0200006476806111898300710000000000100046005d3156065f7128000000000000230511165956660b01fe000001031a5d1a8101670831333231343332326902018b6a01166b01006c0f323034303830393230373533363735711438393434343738383030303030323131303030464b7e"),
Position.KEY_BATTERY, 3.95);