1# Copyright (c) 2022 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4mainmenu "Bluetooth: Common Audio Profile Acceptor sample"
5
6config SAMPLE_UNICAST
7	bool "Whether or not to search for CAP acceptors for unicast audio"
8	default y
9	select BT_BAP_UNICAST_SERVER
10	select BT_GATT_CACHING
11	select BT_ISO_PERIPHERAL
12	select BT_ASCS
13	select BT_PAC_SNK
14	select BT_PAC_SNK_LOC
15	select BT_PAC_SRC
16	select BT_PAC_SRC_LOC
17	select BT_CTLR_PERIPHERAL_ISO if BT_CTLR
18	help
19	  If set to true, the sample will start advertising connectable for
20	  Broadcast Assistants.
21
22config SAMPLE_BROADCAST
23	bool "Whether or not to search for CAP acceptors for unicast audio"
24	default y if !SAMPLE_UNICAST
25	select BT_BAP_SCAN_DELEGATOR
26	select BT_OBSERVER
27	select BT_ISO_SYNC_RECEIVER
28	select BT_BAP_BROADCAST_SINK
29	select BT_PAC_SNK
30	select BT_PAC_SNK_LOC
31	select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if !BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
32	select BT_CTLR_SYNC_ISO if BT_CTLR
33	help
34	  If set to true, the sample will start advertising syncable audio streams
35
36config SAMPLE_SCAN_SELF
37	bool "Whether to scan for Broadcast Sources without Broadcast Assistant"
38	depends on SAMPLE_BROADCAST
39	help
40	  If set to true, the sample will start scanning for Broadcast Sources
41	  without waiting for a Broadcast Assistant to connect.
42
43config SAMPLE_TARGET_BROADCAST_NAME
44	string "Target Broadcast Device Name when self-scanning"
45	default ""
46	help
47	  Name of target broadcast device. If not empty string, sink device
48	  will only listen to the specified broadcast source. Not case sensitive.
49
50source "Kconfig.zephyr"
51