bt_gatt_srv_updated_cb

The callback prototype to indicate that link parameters have been updated for the specific connection to the GATT server.

Synopsis:

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

Since:

BlackBerry 10.2.0

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_.

connInt

The new negotiated connection interval for the service.

latency

The new negotiated latency for the service.

superTimeout

The new negotiated supervisor timeout for the connection.

userData

Pointer to user data passed in during the connection request.

Library:

libbtapi

Description:

This callback will only occur on low-energy links.