diff options
author | K-J-Dod24 <kieran.dodson@complexus.uk> | 2023-05-09 14:01:44 +0100 |
---|---|---|
committer | K-J-Dod24 <kieran.dodson@complexus.uk> | 2023-05-09 14:01:44 +0100 |
commit | 7b935f715761120a4149e6aaced7641314c53c47 (patch) | |
tree | e6dea433f4b995e733b93c682c68debb6f7d3a1f /src | |
parent | 1e992e5f83cf97b13803098edec64d68f1843e91 (diff) | |
download | trackermap-server-7b935f715761120a4149e6aaced7641314c53c47.tar.gz trackermap-server-7b935f715761120a4149e6aaced7641314c53c47.tar.bz2 trackermap-server-7b935f715761120a4149e6aaced7641314c53c47.zip |
io30 teltonika fault count
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 1 |
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)); |