From b9bcc74cf1945360dcd8dac12e2718c8f8971562 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 15 May 2021 11:24:36 -0700 Subject: Fix temperature decoding --- src/main/java/org/traccar/protocol/StartekProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java index 21b888dc8..d7a1c932f 100644 --- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java @@ -156,7 +156,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder { if (BitUtil.check(value, 15)) { convertedValue = -convertedValue; } - position.set(Position.PREFIX_TEMP + index, convertedValue * 0.01); + position.set(Position.PREFIX_TEMP + index, convertedValue * 0.1); } } -- cgit v1.2.3