1# Bluetooth Audio - Microphone Control Service options
2#
3# Copyright (c) 2020 Bose Corporation
4# Copyright (c) 2020-2022 Nordic Semiconductor ASA
5#
6# SPDX-License-Identifier: Apache-2.0
7#
8
9########### Microphone Control Profile Microphone Device ###########
10
11config BT_MICP_MIC_DEV
12	bool "Microphone Control Profile Microphone Device Support [EXPERIMENTAL]"
13	select EXPERIMENTAL
14	select BT_GATT_DYNAMIC_DB
15	help
16	  This option enables support for Microphone Control Profile
17	  Microphone Device.
18
19if BT_MICP_MIC_DEV
20
21config BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT
22	int "Audio Input Control Service instance count for \
23	     Microphone Control Service Microphone Device"
24	default 0
25	range 0 BT_AICS_MAX_INSTANCE_COUNT
26	help
27	  This option sets the number of instances of Audio Input Control
28	  Services for Microphone Control Profile Microphone Device.
29
30config BT_MICP_MIC_DEV_AICS
31	bool # Hidden
32	default y if BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT > 0
33	help
34	  This hidden option makes it possible to easily check if AICS is
35	  enabled for Microphone Control Profile Microphone Device.
36
37endif # BT_MICP_MIC_DEV
38
39########### Microphone Control Profile Microphone Controller ###########
40
41config BT_MICP_MIC_CTLR
42	bool "Microphone Control Profile Microphone Controller Support [EXPERIMENTAL]"
43	select BT_GATT_CLIENT
44	select BT_GATT_AUTO_DISCOVER_CCC
45	select EXPERIMENTAL
46	help
47	  This option enables support for the Microphone Control Profile
48	  Microphone Controller role
49
50if BT_MICP_MIC_CTLR
51
52config BT_MICP_MIC_CTLR_MAX_AICS_INST
53	int "Maximum number of Audio Input Control Service instances to setup"
54	default 0
55	range 0 BT_AICS_CLIENT_MAX_INSTANCE_COUNT
56	help
57	  Sets the maximum number of Audio Input Control Service (AICS)
58	  instances to setup and use.
59
60config BT_MICP_MIC_CTLR_AICS
61	bool # Hidden
62	default y if BT_MICP_MIC_CTLR_MAX_AICS_INST > 0
63	help
64	  This hidden option makes it possible to easily check if AICS is
65	  enabled for MICP client.
66
67endif # BT_MICP_MIC_CTLR
68