Google is committed to advancing racial equity for Black communities. See how.

BleSignal

public interface BleSignal

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().

Constant Value: -2147483648

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.