Skip to content

Commit

Permalink
Bluetooth: CAP: Add minimum metadata len req for CAP
Browse files Browse the repository at this point in the history
CAP requires setting the streaming context in the metadata,
which requires 4 octets of metadata, so the metadata for
CAP must be greater than or equal to 4.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
  • Loading branch information
Thalley committed Jul 6, 2023
1 parent 1434296 commit 59980f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/bluetooth/audio/Kconfig.cap
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ config BT_CAP
config BT_CAP_ACCEPTOR
bool "Common Audio Profile Acceptor Role Support [EXPERIMENTAL]"
depends on BT_BAP_UNICAST_SERVER || (BT_BAP_BROADCAST_SINK && BT_BAP_SCAN_DELEGATOR)
depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_COUNT >= 4
select EXPERIMENTAL
help
Enabling this will enable the CAP Acceptor role. This instantiates the
Expand All @@ -30,6 +31,7 @@ config BT_CAP_ACCEPTOR_SET_MEMBER
config BT_CAP_INITIATOR
bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]"
depends on (BT_BAP_UNICAST_CLIENT && BT_CSIP_SET_COORDINATOR) || BT_BAP_BROADCAST_SOURCE
depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_COUNT >= 4
select EXPERIMENTAL
help
Enabling this will enable the CAP Initiator role.

0 comments on commit 59980f8

Please sign in to comment.