diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-20 19:47:07 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-20 19:47:07 -0500 |
commit | 21d8146fc216df827c156b446221c2bc01f05a6f (patch) | |
tree | 63972b4df6d5d9180c5c65610bb8ea375d01b984 /src/org/traccar/protocol/BceProtocolDecoder.java | |
parent | b67f1e828ce5bc8fe215d377cd2ae81f23152abd (diff) | |
download | trackermap-server-21d8146fc216df827c156b446221c2bc01f05a6f.tar.gz trackermap-server-21d8146fc216df827c156b446221c2bc01f05a6f.tar.bz2 trackermap-server-21d8146fc216df827c156b446221c2bc01f05a6f.zip |
Updated protocols to record CellTower information where appropriate; Removed KEY_RSSI when reported in CellTower;
Diffstat (limited to 'src/org/traccar/protocol/BceProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/BceProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/BceProtocolDecoder.java b/src/org/traccar/protocol/BceProtocolDecoder.java index 06290d50d..b472ac6c9 100644 --- a/src/org/traccar/protocol/BceProtocolDecoder.java +++ b/src/org/traccar/protocol/BceProtocolDecoder.java @@ -132,8 +132,8 @@ public class BceProtocolDecoder extends BaseProtocolDecoder { if (BitUtil.check(mask, 14)) { position.setNetwork(new Network(CellTower.from( buf.readUnsignedShort(), buf.readUnsignedByte(), - buf.readUnsignedShort(), buf.readUnsignedShort()))); - position.set(Position.KEY_RSSI, buf.readUnsignedByte()); + buf.readUnsignedShort(), buf.readUnsignedShort(), + buf.readUnsignedByte()))); buf.readUnsignedByte(); } |