aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorKieran Dodson <128472473+K-J-Dod24@users.noreply.github.com>2023-05-09 10:26:27 +0100
committerGitHub <noreply@github.com>2023-05-09 10:26:27 +0100
commitcfc1c841c11becbcaff4796d4eed43e9f6a1a07a (patch)
tree57dbfd54f3bd8c51fa93a46322166b92e1ccaf69 /src/main/java/org
parent33672568b997474834336e89aa73957d3b49534d (diff)
parent1e992e5f83cf97b13803098edec64d68f1843e91 (diff)
downloadtrackermap-server-cfc1c841c11becbcaff4796d4eed43e9f6a1a07a.tar.gz
trackermap-server-cfc1c841c11becbcaff4796d4eed43e9f6a1a07a.tar.bz2
trackermap-server-cfc1c841c11becbcaff4796d4eed43e9f6a1a07a.zip
Merge pull request #4 from Complexus-Limited/revert-2-Teltonika-io30-faultCount
Revert "Teltonika io30 fault count"
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/model/Position.java3
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/model/Position.java b/src/main/java/org/traccar/model/Position.java
index be995ca2a..3ed340703 100644
--- a/src/main/java/org/traccar/model/Position.java
+++ b/src/main/java/org/traccar/model/Position.java
@@ -25,8 +25,7 @@ import org.traccar.storage.StorageName;
@StorageName("tc_positions")
public class Position extends Message {
-
- public static final String KEY_FAULT_COUNT = "faultCount";
+
public static final String KEY_ORIGINAL = "raw";
public static final String KEY_INDEX = "index";
public static final String KEY_HDOP = "hdop";
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 7f692a30a..969b24297 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -231,7 +231,6 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
register(26, null, (p, b) -> p.set("bleTemp2", b.readShort() * 0.01));
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(Position.KEY_FAULT_COUNT, b.readUnsignedByte()));
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));