diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-08-23 21:12:33 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-08-23 21:12:33 -0700 |
commit | e7b402ee1166a9c0610b45976da7a9528788628a (patch) | |
tree | 50b41fa72e15963b528e52836e17788ceff92dc5 | |
parent | 2744b305b48d1d1215e326b3858a18f32d485eef (diff) | |
download | trackermap-server-e7b402ee1166a9c0610b45976da7a9528788628a.tar.gz trackermap-server-e7b402ee1166a9c0610b45976da7a9528788628a.tar.bz2 trackermap-server-e7b402ee1166a9c0610b45976da7a9528788628a.zip |
Remove Teltonika attributes
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java index 6ba183f9b..0cc2319a4 100644 --- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -258,16 +258,6 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { case 115: position.set(Position.KEY_COOLANT_TEMP, readValue(buf, length, true) * 0.1); break; - case 129: - case 130: - case 131: - case 132: - case 133: - case 134: - String driver = id == 129 || id == 132 ? "" : position.getString("driver1"); - position.set("driver" + (id >= 132 ? 2 : 1), - driver + buf.readSlice(length).toString(StandardCharsets.US_ASCII).trim()); - break; case 179: position.set(Position.PREFIX_OUT + 1, readValue(buf, length, false) == 1); break; |