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