Set out-of-band (OOB) pairing data for a remote Bluetooth-enabled device.
#include <btapi/btdevice.h>
int bt_rdev_set_oob_data(const bt_remote_device_t *remote_device, const char *hashC, const char *randR, const int psi, const int role)
BlackBerry 10.1.0
A pointer to a remote device structure.
A printable character array containing the Hash-C value from the remote device.
A printable character array containing the Randomizer-R value from the remote device.
The page scan information (PSI) clock offset value (optional, use -1 if unspecified).
The OOB pairing role that this side is taking (optional, see BT_OOB_ROLE_*).
Use this function to save OOB authentication (pairing) data. To initiate the OOB pairing, simply call bt_rdev_pair() after calling bt_rdev_set_oob_data().