aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAaron Donnelly <aaron.donnelly@complexus.uk>2023-04-20 12:06:41 +0100
committerAaron Donnelly <aaron.donnelly@complexus.uk>2023-04-20 12:06:41 +0100
commitbeb43ba371de5862a7ca6579daef20c8ffd83f2d (patch)
treefde2d682bfe51da825be54c25f26d132124e6ed7 /src/main/java/org/traccar/protocol
parent1d31ebe88f2674252fc2ab043349b900db5e5e2d (diff)
downloadtrackermap-server-beb43ba371de5862a7ca6579daef20c8ffd83f2d.tar.gz
trackermap-server-beb43ba371de5862a7ca6579daef20c8ffd83f2d.tar.bz2
trackermap-server-beb43ba371de5862a7ca6579daef20c8ffd83f2d.zip
Teltonika io30 addition
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));