Bluetooth Framework C++ Edition

◆ GetRemoteRssi()

int GetRemoteRssi ( const __int64  Address,
char &  Rssi 
)

Reads RSSI value from a remote device.

Parameters
AddressThe remote Bluetooth device's MAC address.
RssiOn output contains the RSSI value in dBm.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Some devices require active connection to measure RSSI. If the method returns error an application can try to enumerate a device's services and immediately after that query RSSI once again.