aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Dodson <128472473+K-J-Dod24@users.noreply.github.com>2023-05-09 14:07:57 +0100
committerGitHub <noreply@github.com>2023-05-09 14:07:57 +0100
commit5b208d6b3d0a8c46c0efa7f5969c152902eced47 (patch)
treee6dea433f4b995e733b93c682c68debb6f7d3a1f
parentcfc1c841c11becbcaff4796d4eed43e9f6a1a07a (diff)
parent7b935f715761120a4149e6aaced7641314c53c47 (diff)
downloadtrackermap-server-5b208d6b3d0a8c46c0efa7f5969c152902eced47.tar.gz
trackermap-server-5b208d6b3d0a8c46c0efa7f5969c152902eced47.tar.bz2
trackermap-server-5b208d6b3d0a8c46c0efa7f5969c152902eced47.zip
Merge pull request #5 from Complexus-Limited/Teltonika-io30-faultCount
io30 teltonika fault count
-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..fc18424df 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("faultCount", 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));