diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2023-05-09 06:54:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 06:54:41 -0700 |
commit | b80e3d974ef438b781e9a12464b0cf7823d3e227 (patch) | |
tree | e6dea433f4b995e733b93c682c68debb6f7d3a1f /src | |
parent | 3dad196b882c031e4ed36536c3b2deeb1b3bbff6 (diff) | |
parent | 5b208d6b3d0a8c46c0efa7f5969c152902eced47 (diff) | |
download | trackermap-server-b80e3d974ef438b781e9a12464b0cf7823d3e227.tar.gz trackermap-server-b80e3d974ef438b781e9a12464b0cf7823d3e227.tar.bz2 trackermap-server-b80e3d974ef438b781e9a12464b0cf7823d3e227.zip |
Merge pull request #5077 from Complexus-Limited/5.7.1
Teltonika IO30 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)); |