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" 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 help 16 Enabling this will enable the CAP Acceptor role. This instantiates the 17 common audio service (CAS). 18 19config BT_CAP_ACCEPTOR_SET_MEMBER 20 bool "Common Audio Profile Acceptor Role Set Member support" 21 depends on BT_CAP_ACCEPTOR 22 depends on BT_CSIP_SET_MEMBER 23 depends on BT_GATT_DYNAMIC_DB 24 help 25 Enabling this will allow a CAP acceptor to be a set member. 26 Enabling this will require a manual register of the CAS service. 27 Enabling will take one of the allocated CSIS instances 28 (BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT). 29 30config BT_CAP_INITIATOR_UNICAST 31 def_bool BT_CAP_INITIATOR && BT_BAP_UNICAST_CLIENT 32 33config BT_CAP_INITIATOR 34 bool "Common Audio Profile Initiator Role Support" 35 depends on (BT_BAP_UNICAST_CLIENT && BT_CSIP_SET_COORDINATOR) || BT_BAP_BROADCAST_SOURCE 36 depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE >= 4 37 help 38 Enabling this will enable the CAP Initiator role. 39 40 41config BT_CAP_COMMANDER 42 bool "Common Audio Profile Initiator Role Support" 43 depends on (BT_BAP_BROADCAST_ASSISTANT && BT_BAP_SCAN_DELEGATOR && BT_CSIP_SET_COORDINATOR) || \ 44 (BT_BAP_SCAN_DELEGATOR && BT_CSIP_SET_COORDINATOR) || \ 45 (BT_VCP_VOL_CTLR && BT_CSIP_SET_COORDINATOR) || \ 46 (BT_MICP_MIC_CTLR && BT_CSIP_SET_COORDINATOR) || \ 47 BT_TBS_CLIENT || \ 48 BT_MCC 49 help 50 Enabling this will enable the CAP Initiator role. 51