1# Bluetooth Audio - Volume Offset Control Service options
2#
3# Copyright (c) 2020 Bose Corporation
4#
5# SPDX-License-Identifier: Apache-2.0
6#
7
8if BT_AUDIO
9
10##################### Volume Offset Control Service #####################
11
12config BT_VOCS_MAX_INSTANCE_COUNT
13	int "Volume Offset Control Service max instance count"
14	default 0
15	range 0 15
16	help
17	  This option sets the maximum number of instances of Volume Offset
18	  Control Services.
19
20config BT_VOCS
21	bool # hidden
22	default y if BT_VOCS_MAX_INSTANCE_COUNT > 0
23	help
24	  This hidden option enables support for Volume Control Service.
25
26if BT_VOCS
27
28config BT_VOCS_MAX_OUTPUT_DESCRIPTION_SIZE
29	int "Volume Offset Control Service max output description size"
30	default 32
31	range 0 512
32	help
33	  This option sets the maximum output description size in octets.
34
35############# DEBUG #############
36
37config BT_DEBUG_VOCS
38	bool "Volume Offset Control Service debug"
39	depends on BT_AUDIO_DEBUG
40	help
41	  Use this option to enable Volume Offset Control Service debug logs for
42	  the Bluetooth Audio functionality.
43
44endif # BT_VOCS
45
46##################### Volume Offset Control Service Client #####################
47
48config BT_VOCS_CLIENT_MAX_INSTANCE_COUNT
49	int "Volume Offset Control Service client max instance count"
50	default 0
51	range 0 15
52	help
53	  This option sets the maximum number of instances of Volume Offset
54	  Control Service clients.
55
56config BT_VOCS_CLIENT
57	bool # hidden
58	default y if BT_VOCS_CLIENT_MAX_INSTANCE_COUNT > 0
59	help
60	  This hidden option enables support for Volume Offset Control Service.
61
62
63if BT_VOCS_CLIENT
64
65############# DEBUG #############
66
67config BT_DEBUG_VOCS_CLIENT
68	bool "Volume Offset Control Service client debug"
69	depends on BT_AUDIO_DEBUG
70	help
71	  Use this option to enable Volume Offset Control Service client debug
72	  logs for the Bluetooth Audio functionality.
73
74endif # BT_VOCS_CLIENT
75
76endif # BT_AUDIO
77