aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-16 07:54:54 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-16 07:54:54 -0700
commit74a6ec5ff14e4871a0f61d05aa4cec89d0950038 (patch)
tree0796899d2e495aed6252983eb786f64182b14190 /src/main/java/org/traccar
parentd16c01cbefd634e285354bc4a097736644332eba (diff)
downloadtrackermap-server-74a6ec5ff14e4871a0f61d05aa4cec89d0950038.tar.gz
trackermap-server-74a6ec5ff14e4871a0f61d05aa4cec89d0950038.tar.bz2
trackermap-server-74a6ec5ff14e4871a0f61d05aa4cec89d0950038.zip
Fix FM6320 decoding
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 2476fd384..89124cb22 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -244,7 +244,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
p.set(Position.KEY_DRIVER_UNIQUE_ID, String.format("%016X", driverUniqueId));
}
});
- register(80, null, (p, b) -> p.set("dataMode", b.readUnsignedByte()));
+ register(80, fmbXXX, (p, b) -> p.set("dataMode", b.readUnsignedByte()));
register(90, null, (p, b) -> p.set(Position.KEY_DOOR, b.readUnsignedShort()));
register(115, fmbXXX, (p, b) -> p.set(Position.KEY_COOLANT_TEMP, b.readShort() * 0.1));
register(179, null, (p, b) -> p.set(Position.PREFIX_OUT + 1, b.readUnsignedByte() > 0));