aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-09 01:20:08 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-09 01:20:08 +1200
commitf8fcf51478cb4794208c8a0e0c3b2dee496f02d2 (patch)
treeba431a272f4b025496a4a0c83da9cc6b0186e72a /src/org/traccar
parentf35567956593f78f3f9630add815710b9df47634 (diff)
downloadtrackermap-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.tar.gz
trackermap-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.tar.bz2
trackermap-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.zip
Fix MiniFinder GSM signal decoding
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/MiniFinderProtocolDecoder.java2
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));
}