zephyr/subsys/bluetooth/services
Jordan Yates 170f17e0e7 Bluetooth: indication callback signature update
Update the signature of the `bt_gatt_indicate_func_t` callback type by
replacing the attr pointer with a pointer to the
`bt_gatt_indicate_params` struct that was used to start the indication.

This allows the callback to free the `bt_gatt_indicate_params` instance
if it was allocated from storage, while still allowing the
`bt_gatt_attr` value to be accessed through `params->attr`.

Allocating the `bt_gatt_indicate_params` instance from storage is
desirable as multiple indications can be queued, however each instance
must be valid until the callback is run.

Implements API update from #29357

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2020-11-10 11:21:46 +01:00
..
ots Bluetooth: indication callback signature update 2020-11-10 11:21:46 +01:00
bas.c
CMakeLists.txt bluetooth: services: add Object Transfer service 2020-09-04 17:06:17 +02:00
dis.c Bluetooth: Remove _gatt_ infix for Device Information Service (DIS) 2020-09-04 15:38:44 +02:00
hrs.c
Kconfig bluetooth: services: add Object Transfer service 2020-09-04 17:06:17 +02:00
Kconfig.bas
Kconfig.dis Bluetooth: Remove _gatt_ infix for Device Information Service (DIS) 2020-09-04 15:38:44 +02:00
Kconfig.hrs