blob: 763761e6ccdc954e52fe84dfa1346789554c0a0d [file] [log] [blame]
# Bluetooth GATT Heart Rate service
# Copyright (c) 2018 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menuconfig BT_HRS
bool "Enable GATT Heart Rate service"
if BT_HRS
choice
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