Retrieve a structure representing a remote Bluetooth-enabled device.
#include <btapi/btdevice.h>
bt_remote_device_t* bt_rdev_get_device(const char *bt_addr)
BlackBerry 10.0.0
The Bluetooth MAC address of the remote device, including the terminating NULL character. For example, 00:00:00:00:00:00\0.
This function allocates a bt_remote_device_t structure and fills the address field with the one MAC address provided by the bt_addr. All other fields in the structure are filled with values if the specified device is either paired or cached on the system. NOTE: See bt_rdev_get_type() to determine whether the other fields in the structure are filled with valid, discovered data.