aboutsummaryrefslogtreecommitdiff
path: root/src
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
parentf35567956593f78f3f9630add815710b9df47634 (diff)
downloadtraccar-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.tar.gz
traccar-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.tar.bz2
traccar-server-f8fcf51478cb4794208c8a0e0c3b2dee496f02d2.zip
Fix MiniFinder GSM signal decoding
Diffstat (limited to 'src')
-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));
}