aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK-J-Dod24 <kieran.dodson@complexus.uk>2023-05-16 08:48:19 +0100
committerK-J-Dod24 <kieran.dodson@complexus.uk>2023-05-16 08:48:19 +0100
commit30f09160d226fbe0133f96cdbf6f25c72e191a06 (patch)
tree482998a453367411c83ab825ed9203f18784bea4
parentb81025ee361467848ec2a1771499a3b959fd7535 (diff)
downloadtrackermap-server-30f09160d226fbe0133f96cdbf6f25c72e191a06.tar.gz
trackermap-server-30f09160d226fbe0133f96cdbf6f25c72e191a06.tar.bz2
trackermap-server-30f09160d226fbe0133f96cdbf6f25c72e191a06.zip
removed Engine temp (115)
-rw-r--r--src/main/java/org/traccar/model/Position.java1
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/model/Position.java b/src/main/java/org/traccar/model/Position.java
index c48e34e03..3ed340703 100644
--- a/src/main/java/org/traccar/model/Position.java
+++ b/src/main/java/org/traccar/model/Position.java
@@ -81,7 +81,6 @@ public class Position extends Message {
public static final String KEY_ACCELERATION = "acceleration";
public static final String KEY_DEVICE_TEMP = "deviceTemp"; // celsius
public static final String KEY_COOLANT_TEMP = "coolantTemp"; // celsius
- public static final String KEY_ENGINE_TEMP = "engineTemp"; // celsius
public static final String KEY_ENGINE_LOAD = "engineLoad";
public static final String KEY_OPERATOR = "operator";
public static final String KEY_COMMAND = "command";
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index d60107d7a..2f378f30a 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -248,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_ENGINE_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));