2021-12-07 23:41:02 +08:00
|
|
|
# Bluetooth Audio - Common Audio Profile (CAP) options
|
|
|
|
#
|
|
|
|
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2022-07-18 16:34:13 +08:00
|
|
|
config BT_CAP
|
|
|
|
def_bool BT_CAP_ACCEPTOR || BT_CAP_INITIATOR
|
|
|
|
|
2021-12-07 23:41:02 +08:00
|
|
|
config BT_CAP_ACCEPTOR
|
|
|
|
bool "Common Audio Profile Acceptor Role Support [EXPERIMENTAL]"
|
2023-02-20 22:40:34 +08:00
|
|
|
depends on BT_BAP_UNICAST_SERVER || (BT_BAP_BROADCAST_SINK && BT_BAP_SCAN_DELEGATOR)
|
2023-07-07 01:43:48 +08:00
|
|
|
depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE >= 4
|
2021-12-07 23:41:02 +08:00
|
|
|
select EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Enabling this will enable the CAP Acceptor role. This instantiates the
|
|
|
|
common audio service (CAS).
|
|
|
|
|
2022-04-08 02:33:21 +08:00
|
|
|
config BT_CAP_ACCEPTOR_SET_MEMBER
|
|
|
|
bool "Common Audio Profile Acceptor Role Set Member support"
|
|
|
|
depends on BT_CAP_ACCEPTOR
|
2022-10-11 21:13:09 +08:00
|
|
|
depends on BT_CSIP_SET_MEMBER
|
2023-04-03 21:19:30 +08:00
|
|
|
select BT_GATT_DYNAMIC_DB
|
2022-04-08 02:33:21 +08:00
|
|
|
help
|
|
|
|
Enabling this will allow a CAP acceptor to be a set member.
|
|
|
|
Enabling this will require a manual register of the CAS service.
|
|
|
|
Enabling will take one of the allocated CSIS instances
|
2022-10-11 21:13:09 +08:00
|
|
|
(BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT).
|
2022-04-08 02:33:21 +08:00
|
|
|
|
2023-11-03 03:31:09 +08:00
|
|
|
config BT_CAP_INITIATOR_UNICAST
|
|
|
|
def_bool BT_CAP_INITIATOR && BT_BAP_UNICAST_CLIENT
|
|
|
|
|
2022-04-27 19:23:16 +08:00
|
|
|
config BT_CAP_INITIATOR
|
|
|
|
bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]"
|
2023-02-27 20:01:17 +08:00
|
|
|
depends on (BT_BAP_UNICAST_CLIENT && BT_CSIP_SET_COORDINATOR) || BT_BAP_BROADCAST_SOURCE
|
2023-07-07 01:43:48 +08:00
|
|
|
depends on BT_AUDIO_CODEC_CFG_MAX_METADATA_SIZE >= 4
|
2022-04-27 19:23:16 +08:00
|
|
|
select EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Enabling this will enable the CAP Initiator role.
|
2023-10-31 23:21:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
config BT_CAP_COMMANDER
|
|
|
|
bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]"
|
|
|
|
depends on (BT_BAP_BROADCAST_ASSISTANT && BT_BAP_SCAN_DELEGATOR && BT_CSIP_SET_COORDINATOR) || \
|
|
|
|
(BT_BAP_SCAN_DELEGATOR && BT_CSIP_SET_COORDINATOR) || \
|
|
|
|
(BT_VCP_VOL_CTLR && BT_CSIP_SET_COORDINATOR) || \
|
|
|
|
(BT_MICP_MIC_CTLR && BT_CSIP_SET_COORDINATOR) || \
|
|
|
|
BT_TBS_CLIENT || \
|
|
|
|
BT_MCC
|
|
|
|
select EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Enabling this will enable the CAP Initiator role.
|