The callback prototype to indicate that the service connection parameters have changed.
Synopsis:
#include <btapi/btgatt.h>
typedef void(* bt_gatt_service_updated_cb)(const char *bdaddr, int instance, uint16_t connInt, uint16_t latency, uint16_t superTimeout, void *userData);
Library:
libbtapi (For the qcc command, use the -l btapi option to link against this library)
Description:
The prototype is only valid for low-energy devices.
The arguments for the prototype are as follows:
- bdaddr
- The address of the Bluetooth-enabled device.
- instance
- An identifier used to reference the service connection.
- connInt
- The negotiated connection interval for the service.
- latency
- The negotiated latency for the service.
- superTimeout
- The negotiated supervisor timeout for the connection.
- userData
- Pointer to user data passed in during the connection request.