bt_rdev_get_current_rssi()

Retrieve the current received signal strength indicator (RSSI) of the connected remote Bluetooth-enabled device.

Synopsis:

#include <btapi/btdevice.h>
 
int bt_rdev_get_current_rssi(const bt_remote_device_t *remote_device, int *rssi)

Since:

BlackBerry 10.0.0

Arguments:

remote_device

A pointer to a remote device structure.

rssi

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)

Description:

The current RSSI value is only valid for a remote device which is currently connected to the BlackBerry. This function requests an updated RSSI value for the current connection.

Returns:

0 is returned upon success, -1 with the errno set otherwise. Possible errno values include:
  • EINVAL: An invalid parameter was passed in.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus