From 409995a6ec0fe83ead8701f938fcac9e795d084a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 22 Mar 2019 09:02:19 -0700 Subject: Decode GSM signal strength --- src/org/traccar/protocol/T800xProtocolDecoder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/traccar/protocol/T800xProtocolDecoder.java b/src/org/traccar/protocol/T800xProtocolDecoder.java index 5a8ba0751..dfd66693a 100644 --- a/src/org/traccar/protocol/T800xProtocolDecoder.java +++ b/src/org/traccar/protocol/T800xProtocolDecoder.java @@ -107,7 +107,8 @@ public class T800xProtocolDecoder extends BaseProtocolDecoder { buf.readUnsignedShort(); // acc off interval buf.readUnsignedByte(); // angle compensation buf.readUnsignedShort(); // distance compensation - buf.readUnsignedShort(); // speed alarm + + position.set(Position.KEY_RSSI, BitUtil.to(buf.readUnsignedShort(), 7)); int status = buf.readUnsignedByte(); position.set(Position.KEY_SATELLITES, BitUtil.to(status, 5)); -- cgit v1.2.3