1# Bluetooth Audio - Common Audio Profile (CAP) options
2#
3# Copyright (c) 2022 Nordic Semiconductor ASA
4#
5# SPDX-License-Identifier: Apache-2.0
6#
7
8config BT_CAP
9	def_bool BT_CAP_ACCEPTOR || BT_CAP_INITIATOR
10
11config BT_CAP_ACCEPTOR
12	bool "Common Audio Profile Acceptor Role Support [EXPERIMENTAL]"
13	depends on BT_BAP_UNICAST_SERVER || (BT_BAP_BROADCAST_SINK && BT_BAP_SCAN_DELEGATOR)
14	depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE >= 4
15	select EXPERIMENTAL
16	help
17	  Enabling this will enable the CAP Acceptor role. This instantiates the
18	  common audio service (CAS).
19
20config BT_CAP_ACCEPTOR_SET_MEMBER
21	bool "Common Audio Profile Acceptor Role Set Member support"
22	depends on BT_CAP_ACCEPTOR
23	depends on BT_CSIP_SET_MEMBER
24	select BT_GATT_DYNAMIC_DB
25	help
26	  Enabling this will allow a CAP acceptor to be a set member.
27	  Enabling this will require a manual register of the CAS service.
28	  Enabling will take one of the allocated CSIS instances
29	  (BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT).
30
31config BT_CAP_INITIATOR
32	bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]"
33	depends on (BT_BAP_UNICAST_CLIENT && BT_CSIP_SET_COORDINATOR) || BT_BAP_BROADCAST_SOURCE
34	depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE >= 4
35	select EXPERIMENTAL
36	help
37	  Enabling this will enable the CAP Initiator role.
38