blob: bebfbd10fc64b39ef797e6ad76aa80f8173e8749 [file] [log] [blame]
# Bluetooth Audio - Microphone Input Control Service options
#
# Copyright (c) 2020 Bose Corporation
# Copyright (c) 2020-2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
########### Microphone Input Control Profile Microphone Device ###########
config BT_MICP_MIC_DEV
bool "Microphone Input Control Profile Microphone Device Support [EXPERIMENTAL]"
select EXPERIMENTAL
help
This option enables support for Microphone Input Control Profile
Microphone Device.
if BT_MICP_MIC_DEV
config BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT
int "Audio Input Control Service instance count for \
Microphone Input Control Service Microphone Device"
default 0
range 0 BT_AICS_MAX_INSTANCE_COUNT
help
This option sets the number of instances of Audio Input Control
Services for Microphone Input Control Profile Microphone Device.
config BT_MICP_MIC_DEV_AICS
bool # Hidden
default y if BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT > 0
help
This hidden option makes it possible to easily check if AICS is
enabled for Microphone Input Control Profile Microphone Device.
############# DEBUG #############
config BT_DEBUG_MICP_MIC_DEV
bool "Microphone Input Control Profile Microphone Device debug"
select DEPRECATED
help
Use this option to enable Microphone Input Control Profile
Microphone Device debug logs for the Bluetooth Audio functionality.
module = BT_MICP_MIC_DEV
legacy-debug-sym = BT_DEBUG_MICP_MIC_DEV
module-str = "Microphone Input Control Profile Microphone Device"
source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
endif # BT_MICP_MIC_DEV
########### Microphone Input Control Profile Microphone Controller ###########
config BT_MICP_MIC_CTLR
bool "Microphone Input Control Profile Microphone Controller Support [EXPERIMENTAL]"
select BT_GATT_CLIENT
select BT_GATT_AUTO_DISCOVER_CCC
select EXPERIMENTAL
help
This option enables support for the Microphone Input Control Profile
Microphone Controller role
if BT_MICP_MIC_CTLR
config BT_MICP_MIC_CTLR_MAX_AICS_INST
int "Maximum number of Audio Input Control Service instances to setup"
default 0
range 0 BT_AICS_CLIENT_MAX_INSTANCE_COUNT
help
Sets the maximum number of Audio Input Control Service (AICS)
instances to setup and use.
config BT_MICP_MIC_CTLR_AICS
bool # Hidden
default y if BT_MICP_MIC_CTLR_MAX_AICS_INST > 0
help
This hidden option makes it possible to easily check if AICS is
enabled for MICP client.
############# DEBUG #############
config BT_DEBUG_MICP_MIC_CTLR
bool "Microphone Input Control Profile Microphone Controller debug"
select DEPRECATED
help
Use this option to enable Microphone Input Control Profile Microphone
Controller debug logs for the Bluetooth Audio functionality.
module = BT_MICP_MIC_CTLR
legacy-debug-sym = BT_DEBUG_MICP_MIC_CTLR
module-str = "Microphone Input Control Profile Microphone Controller"
source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
endif # BT_MICP_MIC_CTLR