diff options
author | Anton Tananaev <anton@traccar.org> | 2023-05-15 07:40:15 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-05-15 07:40:15 -0700 |
commit | 553527d9fbe689be243acbf219bed432f15c25e3 (patch) | |
tree | a51260c835f6fd154a92da1c3ef3427a30918fc2 /src/test/java/org/traccar/protocol | |
parent | b9b2c5c111a56acfab6ac6b5c314f6f0dcb9baec (diff) | |
download | trackermap-server-553527d9fbe689be243acbf219bed432f15c25e3.tar.gz trackermap-server-553527d9fbe689be243acbf219bed432f15c25e3.tar.bz2 trackermap-server-553527d9fbe689be243acbf219bed432f15c25e3.zip |
Decode HHDLink power
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java | 4 |
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 32c632353..2f317d049 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( + "7e0200006476806111898300710000000000100046005d3156065f7128000000000000230511165956660b01fe000001031a5d1a8101670831333231343332326902018b6a01166b01006c0f323034303830393230373533363735711438393434343738383030303030323131303030464b7e"), + Position.KEY_BATTERY, 3.95); + + verifyAttribute(decoder, binary( "7e02000071768060874297002d0000000000208022015a30b006c869f8000000000000230505062034600b0004003930303235343939660b01cc0000000c40f89f27b067083133323134333232690201936a01116b01006c0f34363030383138353937303632343071143839383630343938313032313930353835373430607e"), Position.KEY_EVENT, 4); |