From f8fcf51478cb4794208c8a0e0c3b2dee496f02d2 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 9 May 2017 01:20:08 +1200 Subject: Fix MiniFinder GSM signal decoding --- src/org/traccar/protocol/MiniFinderProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); } -- cgit v1.2.3