bt_gatt_disconnect_instance()
Disconnect an active service.
Synopsis:
#include <btapi/btgatt.h>
int bt_gatt_disconnect_instance(int instance)
Since:
BlackBerry 10.0.0
Arguments:
- instance
-
The identifier used to reference the active connection.
Library:
libbtapi (For the qcc command, use the -l btapi option to link against this library)Description:
Returns:
- EDEADLK: A potential deadlock has been avoided.
- EINVAL: The passed arguments are invalid.
- ENODEV: A connection to the specified device could not be found.
- ENOMEM: Insufficient memory to perform the request.
- ESRVRFAULT: An internal error has occurred.
Last modified: 2014-05-14