1# Bluetooth Audio - Volume Control Profile configuration 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################### Volume Control Profile Volume Renderer ###################
10
11config BT_VCP_VOL_REND
12	bool "Volume Control Profile Volume Renderer Support [EXPERIMENTAL]"
13	select EXPERIMENTAL
14	select BT_GATT_DYNAMIC_DB
15	help
16	  This option enables support for Volume Control Profile Volume Renderer
17	  role and the Volume Control Service.
18
19if BT_VCP_VOL_REND
20config BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT
21	int "Volume Offset Control Service instance count"
22	default 0
23	range 0 BT_VOCS_MAX_INSTANCE_COUNT
24	help
25	  This option sets the number of instances of Volume Offset Control
26	  Services.
27
28config BT_VCP_VOL_REND_VOCS
29	bool # Hidden
30	default y if BT_VCP_VOL_REND_VOCS_INSTANCE_COUNT > 0
31	help
32	  This hidden option makes it possible to easily check if VOCS is
33	  enabled for VCS.
34
35config BT_VCP_VOL_REND_AICS_INSTANCE_COUNT
36	int "Audio Input Control Service instance count for VCS"
37	default 0
38	range 0 BT_AICS_MAX_INSTANCE_COUNT
39	help
40	  This option sets the number of instances of Audio Input Control
41	  Services for VCS.
42
43config BT_VCP_VOL_REND_AICS
44	bool # Hidden
45	default y if BT_VCP_VOL_REND_AICS_INSTANCE_COUNT > 0
46	help
47	  This hidden option makes it possible to easily check if AICS is
48	  enabled for VCS.
49
50config BT_VCP_VOL_REND_VOL_FLAGS_NOTIFIABLE
51	bool "Volume Flags notifiable support"
52	help
53	  This option enables support for clients to subscribe for notifications
54	  on the Volume Flags characteristic.
55
56endif # BT_VCP_VOL_REND
57
58################### Volume Control Profile Volume Controller ###################
59
60config BT_VCP_VOL_CTLR
61	bool "Volume Control Profile Volume Controller Support [EXPERIMENTAL]"
62	select BT_GATT_CLIENT
63	select BT_GATT_AUTO_DISCOVER_CCC
64	select EXPERIMENTAL
65	help
66	  This option enables support for Volume Control Profile Volume
67	  Controller.
68
69if BT_VCP_VOL_CTLR
70
71config BT_VCP_VOL_CTLR_MAX_VOCS_INST
72	int "Maximum number of VOCS instances to setup"
73	default 0
74	range 0 BT_VOCS_CLIENT_MAX_INSTANCE_COUNT
75	help
76	  Sets the maximum number of Volume Offset Control Service (VOCS)
77	  instances to setup and use.
78
79config BT_VCP_VOL_CTLR_VOCS
80	bool # Hidden
81	default y if BT_VCP_VOL_CTLR_MAX_VOCS_INST > 0
82	help
83	  This hidden option makes it possible to easily check if VOCS is
84	  enabled for VCS client.
85
86config BT_VCP_VOL_CTLR_MAX_AICS_INST
87	int "Maximum number of AICS instances to setup"
88	default 0
89	range 0 3
90	help
91	  Sets the maximum number of Audio Input Control Service (AICS)
92	  instances to setup and use.
93
94config BT_VCP_VOL_CTLR_AICS
95	bool # Hidden
96	default y if BT_VCP_VOL_CTLR_MAX_AICS_INST > 0
97	help
98	  This hidden option makes it possible to easily check if AICS is
99	  enabled for VCS client.
100
101endif # BT_VCP_VOL_CTLR
102