diff options
author | Anton Tananaev <anton@traccar.org> | 2022-04-21 17:36:51 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-04-21 17:36:51 -0700 |
commit | ffc1b33d5d15068294aecc64dbeae20dd77d972d (patch) | |
tree | 1bd369ad8b839cb310499a2d75d5ff30613cd24a /src/test/java | |
parent | 259c6fe4aa0132ae8d6ca6eb63c82e8ef64d8a6a (diff) | |
download | trackermap-server-ffc1b33d5d15068294aecc64dbeae20dd77d972d.tar.gz trackermap-server-ffc1b33d5d15068294aecc64dbeae20dd77d972d.tar.bz2 trackermap-server-ffc1b33d5d15068294aecc64dbeae20dd77d972d.zip |
Huabao speeding alarm
Diffstat (limited to 'src/test/java')
-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 7aaec33e7..8ba6fcaf1 100644 --- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java @@ -18,6 +18,10 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest { "7E01000021013345678906000F002C012F373031313142534A2D4D3742203030303030303001D4C1423838383838B47E")); verifyAttribute(decoder, binary( + "7E020000480123456789010013000000800000000301597BC506CBFF6600EB00000155210726203531010400000000EB24000C00B28986047701207027150200060089FFFFEFFF0004002D0E10000600C5FFFFFFEF697E"), + Position.KEY_ALARM, Position.ALARM_LOW_BATTERY); + + verifyAttribute(decoder, binary( "7e0200008e01917159043700b300000000800000030158990606ca0fd7000400000000211129111705010400000000cc14383938363037423831303230393031363239363830010d8001aa81021388820200858301148401aa8502189b8601338702007e8801338901148a0200998b1131323334353637383941424344454647488c04000200a88d0200828e0114a00b50353338662c5530323966037e"), Position.KEY_DTCS, "P538f U029f"); |