aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAaron Donnelly <126603683+Aaron-Donnelly@users.noreply.github.com>2023-05-05 09:32:32 +0100
committerGitHub <noreply@github.com>2023-05-05 09:32:32 +0100
commit33672568b997474834336e89aa73957d3b49534d (patch)
treed48b6bf6e4c0266c35ba484e64f31f379bb1e0db /src/main/java/org/traccar/protocol
parent3dad196b882c031e4ed36536c3b2deeb1b3bbff6 (diff)
parent4178fd23d49be268633a4ba933af72a28685280c (diff)
downloadtrackermap-server-33672568b997474834336e89aa73957d3b49534d.tar.gz
trackermap-server-33672568b997474834336e89aa73957d3b49534d.tar.bz2
trackermap-server-33672568b997474834336e89aa73957d3b49534d.zip
Merge pull request #2 from Complexus-Limited/Teltonika-io30-faultCount
Teltonika io30 fault count
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 969b24297..7f692a30a 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -231,6 +231,7 @@ 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));