zephyr/tests/bluetooth
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
..
adv tests: Bluetooth: Update AD Data as fast as possible 2020-08-31 13:49:13 +02:00
at sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
bluetooth sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
bsim_bt Bluetooth: indication callback signature update 2020-11-10 11:21:46 +01:00
ctrl_sw_privacy sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ctrl_sw_privacy_unit sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ctrl_user_ext sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
gatt Bluetooth: GATT: Rework bt_gatt_attr_func_t 2020-09-05 11:06:21 +02:00
hci_prop_evt sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
init tests: Bluetooth: init: Asserts disabled build 2020-10-29 14:31:38 +02:00
l2cap sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ll_settings tests/bluetooth/ll_settings: Prevent switch-unreachable warning 2020-08-31 12:40:47 +02:00
mesh Bluetooth: Mesh: Encapsulate feature config 2020-11-09 11:23:34 +02:00
mesh_shell sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
shell Bluetooth: L2CAP: Enable L2CAP dynamic channels without Enhanced CBFC 2020-11-09 11:25:10 +01:00
tester Bluetooth: indication callback signature update 2020-11-10 11:21:46 +01:00
uuid sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00