Bluetooth: ISO: Split ISO broadcast config

Splitt he ISO broadcast config into broadcaster and
sync receiver. This will allow a device that only
wants to one of the roles to have a much more optimized
configuration.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2021-10-14 20:36:53 +02:00 committed by Carles Cufí
commit a56cbed603
11 changed files with 80 additions and 34 deletions

View file

@ -7,6 +7,7 @@
config BT_ISO
bool
# TODO: Split between client (central) and server (peripheral)
config BT_ISO_UNICAST
bool "Bluetooth Isochronous Channel Unicast Support [EXPERIMENTAL]"
depends on BT_CONN
@ -15,16 +16,27 @@ config BT_ISO_UNICAST
This option enables support for Bluetooth Broadcast
Isochronous channels.
# TODO: Split between broadcaster and observer for optimization
config BT_ISO_BROADCAST
bool "Bluetooth Isochronous Channel Broadcast Support [EXPERIMENTAL]"
bool
select BT_ISO
select BT_EXT_ADV
config BT_ISO_BROADCASTER
bool "Bluetooth Isochronous Broadcaster Support [EXPERIMENTAL]"
select BT_ISO_BROADCAST
select BT_BROADCASTER
select BT_PER_ADV
help
This option enables support for the Bluetooth Isochronous Broadcaster.
config BT_ISO_SYNC_RECEIVER
bool "Bluetooth Isochronous Synchronized Receiver Support [EXPERIMENTAL]"
select BT_ISO_BROADCAST
select BT_OBSERVER
select BT_PER_ADV_SYNC
help
This option enables support for Bluetooth Broadcast
Isochronous channels.
This option enables support for the Bluetooth Isochronous
Synchronized Receiver.
if BT_ISO