diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-27 19:31:44 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-27 19:31:44 -0800 |
commit | 3331593759a21a1fa36cb64332e14828f7e522f0 (patch) | |
tree | 937ed7683d5a631835740626523fa3a8d853d0fa /src/main/java/org/traccar/protocol | |
parent | 5284faae8ce9ed077035167063c8d2977d06a8fd (diff) | |
download | trackermap-server-3331593759a21a1fa36cb64332e14828f7e522f0.tar.gz trackermap-server-3331593759a21a1fa36cb64332e14828f7e522f0.tar.bz2 trackermap-server-3331593759a21a1fa36cb64332e14828f7e522f0.zip |
Fix alarm and driving behavior
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java index d0bbeebb5..f79641bcf 100644 --- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java @@ -847,7 +847,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { case 0x03: count = buf.readUnsignedByte(); for (int i = 0; i < count; i++) { - int id = buf.readUnsignedShort(); + int id = buf.readUnsignedByte(); int length = buf.readUnsignedByte(); switch (id) { case 0x1A: |