diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2023-05-16 06:51:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 06:51:49 -0700 |
commit | b606268baa36185a180f9e8d7a096bceebcf4d4a (patch) | |
tree | 7417d81836f533a0e389937112d331c24f3d4b4f /src/main/java/org/traccar/protocol | |
parent | f7382adfc212750d8863bb93d84317294cdf0da8 (diff) | |
parent | 30f09160d226fbe0133f96cdbf6f25c72e191a06 (diff) | |
download | trackermap-server-b606268baa36185a180f9e8d7a096bceebcf4d4a.tar.gz trackermap-server-b606268baa36185a180f9e8d7a096bceebcf4d4a.tar.bz2 trackermap-server-b606268baa36185a180f9e8d7a096bceebcf4d4a.zip |
Merge pull request #5082 from Complexus-Limited/Teltonika-io32-coolantTemp
Teltonika io32 coolant temp
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-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 fc18424df..2f378f30a 100644 --- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -232,6 +232,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { register(27, null, (p, b) -> p.set("bleTemp3", b.readShort() * 0.01)); register(28, null, (p, b) -> p.set("bleTemp4", b.readShort() * 0.01)); register(30, fmbXXX, (p, b) -> p.set("faultCount", b.readUnsignedByte())); + register(32, fmbXXX, (p, b) -> p.set(Position.KEY_COOLANT_TEMP, b.readByte())); register(66, null, (p, b) -> p.set(Position.KEY_POWER, b.readUnsignedShort() * 0.001)); register(67, null, (p, b) -> p.set(Position.KEY_BATTERY, b.readUnsignedShort() * 0.001)); register(68, fmbXXX, (p, b) -> p.set("batteryCurrent", b.readUnsignedShort() * 0.001)); @@ -247,7 +248,6 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { }); register(80, fmbXXX, (p, b) -> p.set("dataMode", b.readUnsignedByte())); register(90, null, (p, b) -> p.set(Position.KEY_DOOR, b.readUnsignedShort())); - register(115, fmbXXX, (p, b) -> p.set(Position.KEY_COOLANT_TEMP, b.readShort() * 0.1)); register(179, null, (p, b) -> p.set(Position.PREFIX_OUT + 1, b.readUnsignedByte() > 0)); register(180, null, (p, b) -> p.set(Position.PREFIX_OUT + 2, b.readUnsignedByte() > 0)); register(181, null, (p, b) -> p.set(Position.KEY_PDOP, b.readUnsignedShort() * 0.1)); |