zephyr/subsys/bluetooth/host
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
..
audio Bluetooth: L2CAP: Enable L2CAP dynamic channels without Enhanced CBFC 2020-11-09 11:25:10 +01:00
a2dp.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
a2dp_internal.h Bluetooth: A2DP: Stream End Point Structure 2017-01-28 08:43:41 +02:00
aes_ccm.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
at.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
at.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
att.c Bluetooth: ATT: Handle encrypt change event unrelated to current req 2020-10-29 14:28:40 +02:00
att_internal.h Bluetooth: host: Don't use struct with zero size 2020-10-07 14:51:30 +02:00
avdtp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
avdtp_internal.h Bluetooth: host: Use CONFIG_BT_L2CAP_RX_MTU always to set L2CAP RX MTU 2020-08-06 11:46:48 +02:00
CMakeLists.txt Bluetooth: Audio: Initial ISO channel support 2020-09-04 21:03:13 +02:00
conn.c Bluetooth: host: Fix application conn param update not started 2020-10-26 16:16:35 +02:00
conn_internal.h Bluetooth: host: Rename update_work to deferred_work 2020-10-26 16:16:35 +02:00
crypto.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
crypto.h Bluetooth: Make LE Encrypt helpers public 2017-03-21 17:05:42 -07:00
ecc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gatt.c Bluetooth: indication callback signature update 2020-11-10 11:21:46 +01:00
gatt_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hci_common.c Bluetooth: Move implementation of hci_driver.h exposed functions 2020-07-27 13:27:05 +02:00
hci_core.c Bluetooth: host: Handle PA sync cancel event 2020-11-03 11:04:07 +01:00
hci_core.h Bluetooth: host: PA sync receive enable/disable 2020-10-22 13:28:41 +02:00
hci_ecc.c bluetooth: use kernel stacks 2020-08-05 21:30:32 -04:00
hci_ecc.h Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
hci_raw.c Bluetooth: hci_raw: Add support for ISO packets 2020-09-04 21:03:13 +02:00
hci_raw_internal.h Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
hfp_hf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hfp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig Bluetooth: host: Allow conn param update delay of 0 milliseconds 2020-10-26 16:16:35 +02:00
Kconfig.gatt Bluetooth: L2CAP: Enable L2CAP dynamic channels without Enhanced CBFC 2020-11-09 11:25:10 +01:00
Kconfig.l2cap Bluetooth: L2CAP: Enable L2CAP dynamic channels without Enhanced CBFC 2020-11-09 11:25:10 +01:00
keys.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
keys.h Bluetooth: br/edr: store link key 2020-07-02 16:32:41 +03:00
keys_br.c Bluetooth: br/edr: store link key 2020-07-02 16:32:41 +03:00
l2cap.c Bluetooth: L2CAP: Enable L2CAP dynamic channels without Enhanced CBFC 2020-11-09 11:25:10 +01:00
l2cap_br.c Bluetooth: host: Use CONFIG_BT_L2CAP_RX_MTU always to set L2CAP RX MTU 2020-08-06 11:46:48 +02:00
l2cap_internal.h Bluetooth: Host: Notify L2CAP that security change failed 2020-08-06 11:47:03 +02:00
monitor.c Bluetooth: remove unused extern z_prf 2020-10-15 11:50:14 -05:00
monitor.h Bluetooth: monitor: Add support for ISO packets 2020-09-04 21:03:13 +02:00
rfcomm.c guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00
rfcomm_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sdp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sdp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
settings.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
settings.h Bluetooth: Setting: Make bt_settings_encode_key take a const address 2020-02-14 14:15:11 +02:00
smp.c Bluetooth: host: Fix stuck OOB get local functions SC is not supported 2020-09-22 19:37:31 +02:00
smp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
smp_null.c Bluetooth: L2CAP: Add destroy callback to fixed L2CAP channels 2020-01-28 17:55:38 +02:00
ssp.c guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00
ssp.h Bluetooth: host: Split SSP to it's own module 2020-08-11 19:32:35 +02:00
testing.c Bluetooth: Mesh: Move Replay Protect to seperate module 2020-10-01 16:20:24 +03:00
testing.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uuid.c bluetooth: host: Fix endianness issue in bt_uuid_to_str 2020-10-21 12:16:17 +03:00