zephyr/include/bluetooth
Rubin Gerritsen 98321c61fb bluetooth: host: Allow concurrent advertising with multiple ids
The HCI specification creates additional complexity to allow this
configuration:
 - When a connection gets established, we need to know which
   identity the HCI_LE_Connection_Complete event corresponds to.
 - The identity is a property of the advertising set.
   Therefore we need the advertising handle.
 - The advertising handle is part of the
   HCI_LE_Advertising_Set_Terminated event and is not part of
   the HCI_LE_Connection_Complete event. Therefore
   the information of both events needs to be combined.

By spec the LE_Connection_Complete comes first. Therefore we cache
this event until the identity is available.
The event is only cached when a connection gets established as
that is the only case where we need to resolve the identity.

As the caching requires more resources, it is only enabled if the
application requires multiple advertising sets and multiple
identities.

The host maps the HCI_LE_Advertising_Set_Terminated event with
the HCI_LE_Connection_Complete event by comparing the connection
handles.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2021-05-07 12:15:20 +03:00
..
audio Bluetooth: Audio: VOCS: Move callback structure to register function 2021-04-26 13:42:50 +02:00
mesh Bluetooth: Mesh: Rework publication timer 2021-04-15 20:31:44 +02:00
services Bluetooth: services: Adds OTS name length checks 2021-04-22 11:32:25 +02:00
a2dp-codec.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
a2dp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
addr.h Bluetooth: host: Fix doxygen in addr header 2021-02-02 08:46:17 -05:00
att.h Bluetooth: ATT: Add ATT first/last handle defines 2021-04-08 16:35:57 +02:00
avdtp.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
bluetooth.h bluetooth: host: Allow concurrent advertising with multiple ids 2021-05-07 12:15:20 +03:00
buf.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
conn.h Bluetooth: host: Document default behavior of le_param_req with no cb 2021-04-19 10:59:43 -04:00
controller.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
crypto.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
direction.h Bluetooth: host: Add handl HCI_LE_Connectionless_IQ_Report 2021-05-06 16:27:16 +02:00
gap.h Bluetooth: Host: Adds periodic advertising min/max interval macros 2021-04-23 15:01:32 +02:00
gatt.h Bluetooth: GATT: Add documentation for empty notifications in callback 2021-04-23 15:01:40 +02:00
hci_err.h Bluetooth: host: Remove deprecated security defines 2021-01-29 12:53:10 -05:00
hci_raw.h Bluetooth: Refactor bluetooth buffer configuration for simplification 2021-05-06 14:56:18 +02:00
hci_vs.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hci.h Bluetooth: HCI: Rename LE Read Buffer Size v2 struct members 2021-05-06 13:22:02 -04:00
hfp_hf.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
iso.h Bluetooth: ISO: Improved text for setting ISO data paths 2021-05-03 11:59:25 +02:00
l2cap.h Bluetooth: host: Document L2CAP channel send buffer sizes 2021-05-06 14:56:18 +02:00
mesh.h Bluetooth: Mesh: Introduce acknowledged message API 2021-04-08 13:44:24 +02:00
rfcomm.h Bluetooth: host: Update RFCOMM to new delayable work API 2021-05-05 19:44:09 -04:00
sdp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
testing.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uuid.h Bluetooth: Audio: Audio Input Control Service and client 2021-04-12 11:47:00 -04:00