aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-14 06:47:32 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-14 06:47:32 -0700
commitd16c01cbefd634e285354bc4a097736644332eba (patch)
tree55fa3795d5747f2cd806c2f758c72c31c9214ede /src/main/java
parent812994893d2bdd3e873b1ba27844b713f59e5449 (diff)
downloadtrackermap-server-d16c01cbefd634e285354bc4a097736644332eba.tar.gz
trackermap-server-d16c01cbefd634e285354bc4a097736644332eba.tar.bz2
trackermap-server-d16c01cbefd634e285354bc4a097736644332eba.zip
Fix FM11 FM12 FM36 decoding
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 2b1196d55..2476fd384 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -253,8 +253,8 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
register(182, null, (p, b) -> p.set(Position.KEY_HDOP, b.readUnsignedShort() * 0.1));
register(199, null, (p, b) -> p.set(Position.KEY_ODOMETER_TRIP, b.readUnsignedInt()));
register(200, fmbXXX, (p, b) -> p.set("sleepMode", b.readUnsignedByte()));
- register(205, null, (p, b) -> p.set("cid", b.readUnsignedShort()));
- register(206, null, (p, b) -> p.set("lac", b.readUnsignedShort()));
+ register(205, fmbXXX, (p, b) -> p.set("cid", b.readUnsignedShort()));
+ register(206, fmbXXX, (p, b) -> p.set("lac", b.readUnsignedShort()));
register(236, null, (p, b) -> {
p.set(Position.KEY_ALARM, b.readUnsignedByte() > 0 ? Position.ALARM_GENERAL : null);
});