bt_gatt_srv_service_cb

A structure that contains the list of callbacks to be used for service read/write operations.

Synopsis:

typedef struct  {
    bt_gatt_srv_connected_cb connected ;
    bt_gatt_srv_updated_cb updated ;
    bt_gatt_srv_disconnected_cb disconnected ;
    bt_gatt_srv_write_alert_cb write_alert ;
    bt_gatt_srv_write_req_cb write_req ;
    bt_gatt_srv_read_alert_cb read_alert ;
    bt_gatt_srv_read_req_cb read_req ;
    bt_gatt_srv_write_request_cb write_request ;
    bt_gatt_srv_read_request_cb read_request ;
}bt_gatt_srv_service_cb;

Since:

BlackBerry 10.2.0

Data:

bt_gatt_srv_connected_cb connected
The callback that indicates that a remote device has connected to the server.
bt_gatt_srv_updated_cb updated
The callback that indicates that the link parameters of the remote device have been updated to the server.
bt_gatt_srv_disconnected_cb disconnected
The callback that indicates that a remote device has disconnected from the server.
bt_gatt_srv_write_alert_cb write_alert
The callback that indicates that a remote device has written to an attribute.
bt_gatt_srv_write_req_cb write_req

Deprecated:

BlackBerry 10.3.0.

Use write_request instead.
bt_gatt_srv_read_alert_cb read_alert
The callback that indicates that a remote device has read an attribute.
bt_gatt_srv_read_req_cb read_req

Deprecated:

BlackBerry 10.3.0.

Use read_request instead.
bt_gatt_srv_write_request_cb write_request
The callback that indicates that a remote device is requesting to write to an attribute.
bt_gatt_srv_read_request_cb read_request
The callback that indicates that a remote device is requesting to read an attribute.

Library:

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

Description: