zephyr/subsys/bluetooth/services/Kconfig.hrs
Gerard Marull-Paretas 95fb0ded6b kconfig: remove Enable from boolean prompts
According to Kconfig guidelines, boolean prompts must not start with
"Enable...". The following command has been used to automate the changes
in this patch:

sed -i "s/bool \"[Ee]nables\? \(\w\)/bool \"\U\1/g" **/Kconfig*

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-09 15:35:54 +01:00

35 lines
808 B
Plaintext

# Bluetooth GATT Heart Rate service
# Copyright (c) 2018 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menuconfig BT_HRS
bool "GATT Heart Rate service"
if BT_HRS
choice BT_HRS_DEFAULT_PERM
prompt "Default permissions used for HRS characteristics"
default BT_HRS_DEFAULT_PERM_RW
help
Default permissions for HRS characteristic attributes
used when no permission is set for the report.
Used also for boot reports.
config BT_HRS_DEFAULT_PERM_RW
bool "Read and write allowed"
config BT_HRS_DEFAULT_PERM_RW_ENCRYPT
bool "Require encryption for access"
config BT_HRS_DEFAULT_PERM_RW_AUTHEN
bool "Require encryption and authentication for access"
endchoice
module = BT_HRS
module-str = HRS
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
endif # BT_HRS