bt_gatt_srv_disconnected_cb

The callback prototype to indicate a device has disconnected from the GATT server.

Synopsis:

#include <btapi/btgattsrv.h>
 
typedef void(* bt_gatt_srv_disconnected_cb)(int instance, const char *bdaddr, uint8_t type, void *userData);

Arguments:

instance

The identifier used to reference the service.

bdaddr

The address of the remote Bluetooth device.

type

The device type identifier. Refer to constants prefixed with BT_DEVICE_TYPE_.

userData

Pointer to user data passed in during the connection request.

Since:

BlackBerry 10.2.0

Library:

libbtapi (For the qcc command, use the -l btapi option to link against this library)

Description: