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_UNICAST
32	def_bool BT_CAP_INITIATOR && BT_BAP_UNICAST_CLIENT
33
34config BT_CAP_INITIATOR
35	bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]"
36	depends on (BT_BAP_UNICAST_CLIENT && BT_CSIP_SET_COORDINATOR) || BT_BAP_BROADCAST_SOURCE
37	depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE >= 4
38	select EXPERIMENTAL
39	help
40	  Enabling this will enable the CAP Initiator role.
41
42
43config BT_CAP_COMMANDER
44	bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]"
45	depends on (BT_BAP_BROADCAST_ASSISTANT && BT_BAP_SCAN_DELEGATOR && BT_CSIP_SET_COORDINATOR) || \
46		   (BT_BAP_SCAN_DELEGATOR && BT_CSIP_SET_COORDINATOR) || \
47		   (BT_VCP_VOL_CTLR && BT_CSIP_SET_COORDINATOR) || \
48		   (BT_MICP_MIC_CTLR && BT_CSIP_SET_COORDINATOR) || \
49		   BT_TBS_CLIENT || \
50		   BT_MCC
51	select EXPERIMENTAL
52	help
53	  Enabling this will enable the CAP Initiator role.
54