From 15166105306f22873c942b5f0bed08302e82dcd1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 12 Dec 2020 11:54:11 -0800 Subject: Split temperature values --- src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java index 0ea02b157..692e737be 100644 --- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -240,7 +240,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { case 72: case 73: case 74: - position.set(Position.PREFIX_TEMP + (id - 71), readValue(buf, length, true) * 0.1); + position.set(Position.PREFIX_TEMP + (id - 71 + 4), readValue(buf, length, true) * 0.1); break; case 78: long driverUniqueId = readValue(buf, length, false); -- cgit v1.2.3