This function enables the invoking of a service application when a registered Bluetooth event occurs.
#include <btapi/btdevice.h>
int bt_ldev_enable_invoke(const char *target)
BlackBerry 10.3.0
The target key that is defined in the application manifest.
The application is invoked when the first event is received that meets the filtering parameters defined with bt_ldev_set_filters() and the application has been deregistered (exited) or placed in the stop partition. When invoked, the invoke action is bb.action.bluetooth.EVENT. The application can use bt_ldev_invoke_decode_event() to retrieve the event data.
If the application is deregistered or terminated, the invoke setup will remain until the first invoke event is sent or until the application restarts and calls bt_le_init() prior to any invoke event.