Initialize the Bluetooth device and allocate the required resources for the library.
#include <btapi/btdevice.h>
int bt_device_init(bt_device_cb callback)
BlackBerry 10.0.0
A callback function that is invoked when Bluetooth-specific events arrive. Bluetooth events are prefixed with BT_EVT_.
This function also starts a new thread. The callback is invoked in the new thread and is thread safe. This function must be called before you call any other functions in this file. A corresponding call to the bt_device_deinit() function must be made when you have completed using functionality from this file.