zephyr/subsys
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
..
bluetooth Bluetooth: indication callback signature update 2020-11-10 11:21:46 +01:00
canbus subsys: canopen: Add a wrapper to avoid passing device to CO_init 2020-09-02 13:48:13 +02:00
console device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
cpp
debug debug: gdbstub: Send an error code when accessing invalid memory 2020-09-02 20:54:57 -04:00
dfu storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
disk disk: Fix nxp usdhc driver optional gpio properties 2020-11-03 10:35:49 -06:00
emul emul: spi: bmi160: Add support for I2C 2020-10-27 16:41:30 +01:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs tests/fs/fatfs: Add tests for FS_MOUNT_FLAG_* 2020-11-06 13:10:13 -05:00
jwt Kconfig: cleanup subsystems 2020-08-24 10:24:30 +02:00
logging logging: fix cmd_log_self_disable argc checker 2020-11-06 13:16:39 -05:00
lorawan lorawan: Cleanup error handling code 2020-10-08 12:15:38 +02:00
mgmt mgmt/osdp: Fix build issue 2020-11-03 13:00:11 -06:00
net net: dns: enable dns service discovery for mdns responder 2020-11-09 16:15:02 -08:00
power power: fix Kconfig help message 2020-09-14 21:27:23 -04:00
random random: Warning when using test config 2020-10-02 11:30:03 +02:00
settings settings_fcb: initialize rc variable 2020-10-02 12:07:06 -04:00
shell shell: fix declarations for external device arrays 2020-11-04 12:14:45 +01:00
stats misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
testsuite kernel: move kernel object APIs to own header 2020-10-12 12:21:46 -04:00
timing timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00
tracing tracing: add feature for analysing post-mortem 2020-10-07 10:10:48 -04:00
usb usb/class/usb_dfu: signal dfuMANIFEST_SYNCH after flashing is done 2020-10-30 15:58:01 +01:00
CMakeLists.txt lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00
Kconfig lorawan: Add initial support for LoRaWAN 2020-10-08 12:15:38 +02:00