aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/At2000ProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-18 23:33:23 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-02-18 23:33:23 -0500
commita709867c15dc3752af487ac1c053d4ee982bc8cd (patch)
tree65020402b490dd7bdee8e175c62da32fe057d9d1 /src/org/traccar/protocol/At2000ProtocolDecoder.java
parenteaf45eeb3b43bfc6c7838352b12d3c14ec33ccdd (diff)
downloadtrackermap-server-a709867c15dc3752af487ac1c053d4ee982bc8cd.tar.gz
trackermap-server-a709867c15dc3752af487ac1c053d4ee982bc8cd.tar.bz2
trackermap-server-a709867c15dc3752af487ac1c053d4ee982bc8cd.zip
Added KEY_RSSI for protocols that had yet to record them;
Diffstat (limited to 'src/org/traccar/protocol/At2000ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/At2000ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/At2000ProtocolDecoder.java b/src/org/traccar/protocol/At2000ProtocolDecoder.java
index 00973f2aa..dc799054d 100644
--- a/src/org/traccar/protocol/At2000ProtocolDecoder.java
+++ b/src/org/traccar/protocol/At2000ProtocolDecoder.java
@@ -139,7 +139,7 @@ public class At2000ProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_POWER, buf.readUnsignedShort() + "mV");
buf.readUnsignedShort(); // cid
- buf.readUnsignedByte(); // rssi
+ position.set(Position.KEY_RSSI, buf.readUnsignedByte());
buf.readUnsignedByte(); // current profile
position.set(Position.KEY_BATTERY, buf.readUnsignedByte());