diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-14 06:47:32 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-14 06:47:32 -0700 |
commit | d16c01cbefd634e285354bc4a097736644332eba (patch) | |
tree | 55fa3795d5747f2cd806c2f758c72c31c9214ede /src/main/java/org | |
parent | 812994893d2bdd3e873b1ba27844b713f59e5449 (diff) | |
download | trackermap-server-d16c01cbefd634e285354bc4a097736644332eba.tar.gz trackermap-server-d16c01cbefd634e285354bc4a097736644332eba.tar.bz2 trackermap-server-d16c01cbefd634e285354bc4a097736644332eba.zip |
Fix FM11 FM12 FM36 decoding
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 4 |
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); }); |