aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/BceProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol/BceProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/BceProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/BceProtocolDecoder.java b/src/main/java/org/traccar/protocol/BceProtocolDecoder.java
index 6292334a2..60d705db8 100644
--- a/src/main/java/org/traccar/protocol/BceProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/BceProtocolDecoder.java
@@ -171,7 +171,7 @@ public class BceProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_DRIVER_UNIQUE_ID, String.valueOf(buf.readLongLE()));
}
if (BitUtil.check(mask, 7)) {
- buf.readUnsignedShortLE(); // dallas temperature
+ position.set(Position.PREFIX_TEMP + 1, buf.readUnsignedShortLE() * 0.1 - 273);
}
if (BitUtil.check(mask, 8)) {
buf.readUnsignedShortLE(); // dallas humidity