zephyr/subsys/bluetooth/services/Kconfig.hrs
Théo Battrel af01a0f313 Bluetooth: Logging: Move all logging symbols together
Move all Kconfig symbols related to Bluetooth logging into the newly
created `Kconfig.logging`. The logging symbols are now grouped by into a
menu "Bluetooth logging". Closely related symbols are grouped with each
others. For example, audio related logging symbol are found behind a
submenu "Audio" inside the "Bluetooth logging".

The deprecated logging symbols have also been moved in a submenu of
"Bluetooth logging", it's easier to avoid them so.

Behavior of the Bluetooth logging system:

When `LOG` symbol is selected, if Bluetooth is enabled (`BT` symbol
selected), the Bluetooth logging is enabled.

If the user does not set any log level, the Bluetooth logging symbols
will inherit the log level of `BT_LOG_LEVEL`. If the user does not set
the level of `BT_LOG_LEVEL`, the default log level will be the one
defined by the logging subsystem. Which currently is `LOG_LEVEL_INF`.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2023-03-28 10:33:24 +02:00

31 lines
707 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
endif # BT_HRS