Set the local Bluetooth-enabled device to discoverable mode.
#include <btapi/btdevice.h>
int bt_ldev_set_discoverable(const bt_discoverable_t new_mode)
BlackBerry 10.0.0
The new Bluetooth discoverable mode being requested.
After you set the discoverable mode, you can monitor for the BT_EVT_ACCESS_CHANGED event to confirm that the mode has been changed. The return code for this function indicates that the function has run successfully, not that the discoverable mode has changed.