diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-09 01:20:08 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-09 01:20:08 +1200 |
commit | f8fcf51478cb4794208c8a0e0c3b2dee496f02d2 (patch) | |
tree | ba431a272f4b025496a4a0c83da9cc6b0186e72a /src/org/traccar/protocol/MiniFinderProtocolDecoder.java | |
parent | f35567956593f78f3f9630add815710b9df47634 (diff) | |
download | trackermap-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.tar.gz trackermap-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.tar.bz2 trackermap-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.zip |
Fix MiniFinder GSM signal decoding
Diffstat (limited to 'src/org/traccar/protocol/MiniFinderProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MiniFinderProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java b/src/org/traccar/protocol/MiniFinderProtocolDecoder.java index 9b4372c5b..c3279da43 100644 --- a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java +++ b/src/org/traccar/protocol/MiniFinderProtocolDecoder.java @@ -103,7 +103,7 @@ public class MiniFinderProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_ALARM, Position.ALARM_MOVEMENT); } - position.set(Position.KEY_RSSI, BitUtil.between(flags, 16, 20)); + position.set(Position.KEY_RSSI, BitUtil.between(flags, 16, 21)); position.set(Position.KEY_CHARGE, BitUtil.check(flags, 22)); } |