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_ISO_PERIPHERAL
11	select BT_ASCS
12	select BT_PAC_SNK
13	select BT_PAC_SNK_LOC
14	select BT_PAC_SRC
15	select BT_PAC_SRC_LOC
16	select BT_CTLR_PERIPHERAL_ISO if BT_CTLR
17	help
18	  If set to true, the sample will start advertising connectable for
19	  Broadcast Assistants.
20
21config SAMPLE_BROADCAST
22	bool "Whether or not to search for CAP acceptors for unicast audio"
23	default y if !SAMPLE_UNICAST
24	select BT_BAP_SCAN_DELEGATOR
25	select BT_OBSERVER
26	select BT_ISO_SYNC_RECEIVER
27	select BT_BAP_BROADCAST_SINK
28	select BT_PAC_SNK
29	select BT_PAC_SNK_LOC
30	select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if !BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
31	select BT_CTLR_SYNC_ISO if BT_CTLR
32	help
33	  If set to true, the sample will start advertising syncable audio streams
34
35config SAMPLE_SCAN_SELF
36	bool "Whether to scan for Broadcast Sources without Broadcast Assistant"
37	depends on SAMPLE_BROADCAST
38	help
39	  If set to true, the sample will start scanning for Broadcast Sources
40	  without waiting for a Broadcast Assistant to connect.
41
42config SAMPLE_TARGET_BROADCAST_NAME
43	string "Target Broadcast Device Name when self-scanning"
44	default ""
45	help
46	  Name of target broadcast device. If not empty string, sink device
47	  will only listen to the specified broadcast source. Not case sensitive.
48
49source "Kconfig.zephyr"
50