Represents properties of the BLE signal associated with a Message
.
Constant Summary
int | UNKNOWN_TX_POWER | Unknown transmission power level. |
Public Method Summary
abstract int |
getRssi()
Returns the received signal strength indicator (RSSI) in dBm.
|
abstract int |
getTxPower()
Returns the transmission power level at 1 meter, in dBm.
|
Constants
public static final int UNKNOWN_TX_POWER
Unknown transmission power level. See
getTxPower()
.
Public Methods
public abstract int getRssi ()
Returns the received signal strength indicator (RSSI) in dBm. The valid range is [-127, 127], inclusive.
This is a weighted average of sightings, with later sightings having more weight.
public abstract int getTxPower ()
Returns the transmission power level at 1 meter, in dBm. Returns
UNKNOWN_TX_POWER
if the advertiser did not report its transmission
power.