diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-29 08:11:57 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-29 08:11:57 -0700 |
commit | 36d5da225b4c9e986a8cae1af4133204b148c885 (patch) | |
tree | 84ffcd066f991f4dfbe463d4b127b7cd3fa484c7 /src/main/java/org/traccar | |
parent | 3753db61c84279ddb36c1a2b23b83a523770d90b (diff) | |
download | traccar-server-36d5da225b4c9e986a8cae1af4133204b148c885.tar.gz traccar-server-36d5da225b4c9e986a8cae1af4133204b148c885.tar.bz2 traccar-server-36d5da225b4c9e986a8cae1af4133204b148c885.zip |
Revert Teltonika attributes
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java index 698f2d84a..0ea02b157 100644 --- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -208,7 +208,6 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { position.set(Position.PREFIX_ADC + 2, readValue(buf, length, false)); break; case 16: - case 87: position.set(Position.KEY_ODOMETER, readValue(buf, length, false)); break; case 17: @@ -255,16 +254,6 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { case 90: position.set(Position.KEY_DOOR, readValue(buf, length, false)); break; - case 110: - position.set(Position.KEY_FUEL_CONSUMPTION, readValue(buf, length, true) * 0.1); - break; - case 113: - if (length == 1) { - position.set(Position.KEY_BATTERY_LEVEL, readValue(buf, length, true)); - } else { - position.set(Position.PREFIX_IO + id, readValue(buf, length, false)); - } - break; case 115: position.set(Position.KEY_COOLANT_TEMP, readValue(buf, length, true) * 0.1); break; @@ -293,9 +282,6 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { case 199: position.set(Position.KEY_ODOMETER_TRIP, readValue(buf, length, false)); break; - case 235: - position.set("oilLevel", readValue(buf, length, false)); - break; case 236: if (readValue(buf, length, false) == 1) { position.set(Position.KEY_ALARM, Position.ALARM_OVERSPEED); |