目录

CLASS info
public interface BleSignal
Represents the BLE signal.

Constant Summary

TypeNameDesc
intBLE_UNKNOWN_TX_POWERUnknown transmit power level.

Public Method Summary

Return typeMethod name
abstract int
getRssi
()
Returns the received signal strength in dBm. The value range is [–127,127].
abstract intgetTxPower()
Returns the transmit power from 1 m away, in dBm.

Constant

Constant
public static final int BLE_UNKNOWN_TX_POWER
Unknown transmit power level.
Constant value: 0x80000000

Public Methods

Method
public abstract int getRssi()
Returns the received signal strength in dBm. The value range is [–127,127]. This value is a weighted value. The shorter the distance is, the higher the weight is.
Method
public abstract int getTxPower()
Returns the transmit power from 1 m away, in dBm. If the broadcaster does not want to return the transmit power, UNKNOWN_TX_POWER is returned.