Bluetooth: BAP: Modify range of BT_BAP_BROADCAST_SNK_SUBGROUP_COUNT
The range of BT_BAP_BROADCAST_SNK_SUBGROUP_COUNT should be relative to BT_BAP_BASS_MAX_SUBGROUPS. The broadcast sink depends on the scan delegator, and thus it does not make sense for the broadcast sink to support more subgroups than what the scan delegator supports. Since this no longer relates to the number of streams, there may be new runtime errors if applications attempt to sync to more subgroups than the number of ISO channels supported. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
01e8d0e3e0
commit
2b197aff02
2 changed files with 3 additions and 3 deletions
|
|
@ -171,9 +171,8 @@ if BT_BAP_BROADCAST_SINK
|
|||
|
||||
config BT_BAP_BROADCAST_SNK_SUBGROUP_COUNT
|
||||
int "Basic Audio Profile Broadcast Sink subgroup count"
|
||||
default 1
|
||||
range 1 BT_ISO_MAX_CHAN if BT_ISO_MAX_CHAN < 31
|
||||
range 1 31
|
||||
default BT_BAP_BASS_MAX_SUBGROUPS
|
||||
range 1 BT_BAP_BASS_MAX_SUBGROUPS
|
||||
help
|
||||
This option sets the maximum number of subgroups per broadcast sink
|
||||
to support.
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT=2
|
|||
CONFIG_BT_BAP_BROADCAST_SNK_SUBGROUP_COUNT=2
|
||||
|
||||
# BASS
|
||||
CONFIG_BT_BAP_BASS_MAX_SUBGROUPS=2
|
||||
CONFIG_BT_PER_ADV_SYNC_TRANSFER_SENDER=y
|
||||
CONFIG_BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE=255
|
||||
CONFIG_BT_PER_ADV_SYNC_TRANSFER_RECEIVER=y
|
||||
|
|
|
|||
Loading…
Reference in a new issue