Retrieve the received signal strength indicator (RSSI) of the remote Bluetooth-enabled device.
int bt_rdev_get_rssi(const bt_remote_device_t *remote_device, int *rssi)
A pointer to a remote device structure.
A pointer to a buffer where the RSSI value is to be written.
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
The RSSI value is only valid when the device was found by using the bt_disc_retrieve_devices() function with BT_DISCOVERY_CACHED as an argument.
The RSSI value for paired devices is always 0.
- EINVAL: An invalid parameter was passed in.
Last modified: 2014-05-14