c9f09b1d66
Instead of handling some of the configuation thru board overlays let's handle it thru the sample Kconfig file, which reduces the amount of duplicate lines. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Copyright (c) 2022 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
mainmenu "Bluetooth: Broadcast Audio Sink"
|
|
|
|
config SCAN_OFFLOAD
|
|
bool "Whether to wait for a Broadcast Assistant"
|
|
default y
|
|
# enable PAST support if we can
|
|
select BT_PER_ADV_SYNC_TRANSFER_RECEIVER if !BT_CTLR || BT_CTLR_SYNC_TRANSFER_RECEIVER_SUPPORT
|
|
help
|
|
If set to true, the sample will start advertising connectable for
|
|
Broadcast Assistants.
|
|
|
|
config SCAN_SELF
|
|
bool "Whether to scan for Broadcast Sources without Broadcast Assistant"
|
|
default y
|
|
help
|
|
If set to true, the sample will start scanning for Broadcast Sources
|
|
without waiting for a Broadcast Assistant to connect.
|
|
|
|
config SCAN_DELAY
|
|
int "Delay before starting scan (in seconds)"
|
|
range 0 255
|
|
default 5
|
|
depends on SCAN_SELF
|
|
help
|
|
Time to advertise connectable for a Broadcast Assistant to connect
|
|
before starting scanning for Broadcast Sources.
|
|
|
|
config TARGET_BROADCAST_NAME
|
|
string "Target Broadcast Device Name"
|
|
default ""
|
|
help
|
|
Name of target broadcast device. If not empty string, sink device
|
|
will only listen to the specified broadcast source. Not case sensitive.
|
|
|
|
config ENABLE_LC3
|
|
bool "Enable the LC3 codec"
|
|
# By default let's enable it in the platforms we know are capable of supporting it
|
|
default y
|
|
depends on (ARCH_POSIX || SOC_NRF5340_CPUAPP)
|
|
select LIBLC3
|
|
select FPU
|
|
|
|
source "Kconfig.zephyr"
|