diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-12 11:54:11 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-12 11:54:11 -0800 |
commit | 15166105306f22873c942b5f0bed08302e82dcd1 (patch) | |
tree | ccfcf11f20ea5c832ce25d688e56dff051bd1d0a /src/main | |
parent | eaa6dfb100fac8e2b46075b94a55ebadb7cab530 (diff) | |
download | trackermap-server-15166105306f22873c942b5f0bed08302e82dcd1.tar.gz trackermap-server-15166105306f22873c942b5f0bed08302e82dcd1.tar.bz2 trackermap-server-15166105306f22873c942b5f0bed08302e82dcd1.zip |
Split temperature values
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |