diff options
author | Anton Tananaev <anton@traccar.org> | 2022-09-09 17:35:56 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-09-09 17:35:56 -0700 |
commit | 725195a271f4313255b80c99278b3a91cff799e1 (patch) | |
tree | b6d0cbbb4c6966929e92ac07a2ce4003dc641ef9 /src/test/java | |
parent | ff95c7dc0adf17710438f7dd2168d6ad1dd31415 (diff) | |
download | trackermap-server-725195a271f4313255b80c99278b3a91cff799e1.tar.gz trackermap-server-725195a271f4313255b80c99278b3a91cff799e1.tar.bz2 trackermap-server-725195a271f4313255b80c99278b3a91cff799e1.zip |
Add DT700 bluetooth temperature
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 7322185d5..4ef2e25ea 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( + "7e0200003d012291302256004800000000000c012300d2648805ff31db000e0000000022090708255503020000a70400000000ac04000002bce5020000e60b01dd34020754fe1bce3efc357e"), + Position.PREFIX_TEMP + 1, 29.06); + + verifyAttribute(decoder, binary( "7E0200008201215233475100030000000000000003015A7F6106CF8CEC003D0000000021071311481901040000005630011931011AE10200755D3D0601CC0024990A7dA0032301CC002499099B2941FC01CC002499099B29430B01CC0024990A7dA0290601CC0024990A7dA015FD01CC0026220994506BFFFE157C010400000001F10C000000000000000000000000997E"), Position.KEY_ALARM, Position.ALARM_ACCELERATION); |