1# Bluetooth Audio - Hearing Access Service options 2# 3# Copyright (c) 2022 Codecoup 4# 5# SPDX-License-Identifier: Apache-2.0 6 7menuconfig BT_HAS 8 bool "Hearing Access Service support" 9 select UTF8 10 select BT_GATT_DYNAMIC_DB 11 depends on BT_BAP_UNICAST_SERVER 12 help 13 This option enables support for Hearing Access Service. 14 15if BT_HAS 16 17config BT_HAS_FEATURES_NOTIFIABLE 18 bool "Hearing Aid Features Notifiable Support" 19 help 20 This option enables support for clients to subscribe for notifications 21 on the Hearing Aid Features characteristic. 22 23config BT_HAS_PRESET_COUNT 24 int "Preset record list size" 25 default 2 26 range 0 $(UINT8_MAX) 27 help 28 This option sets the number of Hearing Access Service Presets 29 that can be registered. Setting this value to 0 disables Presets support. 30 31config BT_HAS_PRESET_SUPPORT 32 def_bool BT_HAS_PRESET_COUNT > 0 33 34if BT_HAS_PRESET_SUPPORT 35 36config BT_HAS_PRESET_NAME_DYNAMIC 37 bool "Allow to set preset name on runtime" 38 help 39 Enabling this option allows for runtime configuration of preset name. 40 41config BT_HAS_PRESET_CONTROL_POINT_NOTIFIABLE 42 bool "Preset Control Point Notifiable support" 43 depends on BT_EATT 44 help 45 This option enables support for clients to subscribe for notifications 46 on the Hearing Aid Preset Control Point characteristic. 47 48config BT_HAS_ACTIVE_PRESET_INDEX 49 def_bool BT_HAS_PRESET_SUPPORT 50 help 51 This option enables the Hearing Aid Active Preset Index characteristic. 52 53endif # BT_HAS_PRESET_SUPPORT 54 55endif # BT_HAS 56 57config BT_HAS_CLIENT 58 bool "Hearing Access Service Client support" 59 select BT_GATT_CLIENT 60 select BT_GATT_AUTO_DISCOVER_CCC 61 select BT_GATT_AUTO_UPDATE_MTU 62 select UTF8 63 help 64 This option enables support for Hearing Access Service Client. 65