From af01a0f31398e3b63df568f052e449a130c30a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Battrel?= Date: Fri, 24 Mar 2023 09:56:04 +0100 Subject: [PATCH] Bluetooth: Logging: Move all logging symbols together MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- subsys/bluetooth/Kconfig | 5 +- subsys/bluetooth/Kconfig.logging | 1083 +++++++++++++++++++++ subsys/bluetooth/audio/Kconfig.aics | 32 - subsys/bluetooth/audio/Kconfig.bap | 113 --- subsys/bluetooth/audio/Kconfig.cap | 36 - subsys/bluetooth/audio/Kconfig.csip | 41 - subsys/bluetooth/audio/Kconfig.has | 23 - subsys/bluetooth/audio/Kconfig.mcs | 30 - subsys/bluetooth/audio/Kconfig.mctl | 11 - subsys/bluetooth/audio/Kconfig.micp | 28 - subsys/bluetooth/audio/Kconfig.mpl | 11 - subsys/bluetooth/audio/Kconfig.pacs | 13 - subsys/bluetooth/audio/Kconfig.tbs | 29 - subsys/bluetooth/audio/Kconfig.vcp | 28 - subsys/bluetooth/audio/Kconfig.vocs | 32 - subsys/bluetooth/common/Kconfig | 30 - subsys/bluetooth/crypto/Kconfig | 17 - subsys/bluetooth/host/Kconfig | 173 ---- subsys/bluetooth/host/Kconfig.gatt | 28 - subsys/bluetooth/host/Kconfig.l2cap | 13 - subsys/bluetooth/lib/Kconfig | 5 - subsys/bluetooth/mesh/Kconfig | 233 ----- subsys/bluetooth/services/Kconfig.bas | 10 +- subsys/bluetooth/services/Kconfig.hrs | 4 - subsys/bluetooth/services/Kconfig.tps | 10 +- subsys/bluetooth/services/ias/Kconfig.ias | 16 - subsys/bluetooth/services/ots/Kconfig | 22 - 27 files changed, 1086 insertions(+), 990 deletions(-) create mode 100644 subsys/bluetooth/Kconfig.logging diff --git a/subsys/bluetooth/Kconfig b/subsys/bluetooth/Kconfig index 83c4d9d7ccc..568427e7d12 100644 --- a/subsys/bluetooth/Kconfig +++ b/subsys/bluetooth/Kconfig @@ -15,10 +15,6 @@ menuconfig BT if BT -module = BT -module-str = bt -source "subsys/logging/Kconfig.template.log_config" - choice BT_STACK_SELECTION prompt "Bluetooth Stack Selection" default BT_HCI @@ -188,6 +184,7 @@ rsource "controller/Kconfig" rsource "shell/Kconfig" rsource "crypto/Kconfig" rsource "lib/Kconfig" +rsource "Kconfig.logging" endif # BT_HCI diff --git a/subsys/bluetooth/Kconfig.logging b/subsys/bluetooth/Kconfig.logging new file mode 100644 index 00000000000..68fb2274deb --- /dev/null +++ b/subsys/bluetooth/Kconfig.logging @@ -0,0 +1,1083 @@ +# Bluetooth logging configuration options + +# Copyright (c) 2023 Nordic Semiconductor ASA +# SPDX-License-Identifier: Apache-2.0 + +menuconfig BT_LOG + bool "Bluetooth logging" + default y if LOG && BT + imply LOG_FUNC_NAME_PREFIX_INF + imply LOG_FUNC_NAME_PREFIX_WRN + imply LOG_FUNC_NAME_PREFIX_ERR + imply LOG_FUNC_NAME_PREFIX_DBG + select BT_DEBUG + select BT_LOG_LEGACY + +if BT_LOG + +menuconfig BT_LOG_LEGACY + bool "Bluetooth legacy logging options" + +if BT_LOG_LEGACY + +# COMMON + +config BT_DEBUG_HCI_DRIVER + bool "[DEPRECATED] Bluetooth HCI driver debug" + select DEPRECATED + help + This option enables debug support for the active + Bluetooth HCI driver, including the Controller-side HCI layer + when included in the build. + +config BT_DEBUG_RPA + bool "[DEPRECATED] Bluetooth Resolvable Private Address (RPA) debug" + select DEPRECATED + depends on BT_RPA + help + This option enables debug support for the Bluetooth + Resolvable Private Address (RPA) generation and resolution. + +menu "[DEPRECATED] Audio" + +# AICS + +config BT_DEBUG_AICS + bool "[DEPRECATED] Audio Input Control Service debug" + select DEPRECATED + help + Use this option to enable Audio Input Control Service debug logs for + the Bluetooth Audio functionality. + +config BT_DEBUG_AICS_CLIENT + bool "[DEPRECATED] Audio Input Control Service client debug" + select DEPRECATED + help + Use this option to enable Audio Input Control Service client debug + logs for the Bluetooth Audio functionality. + +# BAP + +config BT_BAP_DEBUG_STREAM + bool "[DEPRECATED] Basic Audio Profile Stream debug" + select DEPRECATED + depends on BT_BAP_STREAM + help + Use this option to enable Basic Audio Profile Stream debug logs. + +config BT_DEBUG_ASCS + bool "[DEPRECATED] Audio Stream Control Service debug" + select DEPRECATED + depends on BT_ASCS + help + Use this option to enable Audio Stream Control Service debug logs for + the Bluetooth Audio functionality. + +config BT_DEBUG_BAP_UNICAST_SERVER + bool "[DEPRECATED] Bluetooth Audio Unicast Server debug" + select DEPRECATED + depends on BT_BAP_UNICAST_SERVER + help + Use this option to enable Bluetooth Audio Unicast Server debug logs + for the Bluetooth Audio functionality. + +config BT_DEBUG_BAP_UNICAST_CLIENT + bool "[DEPRECATED] Basic Audio Profile client debug" + select DEPRECATED + depends on BT_BAP_UNICAST_CLIENT + help + Use this option to enable Basic Audio Profile debug logs for the + Bluetooth Audio functionality. + +config BT_DEBUG_BAP_BROADCAST_SOURCE + bool "[DEPRECATED] Bluetooth Audio Broadcast Source debug" + select DEPRECATED + depends on BT_BAP_BROADCAST_SOURCE + help + Use this option to enable Bluetooth Audio Broadcast Source debug logs + for the Bluetooth Audio functionality. + +config BT_DEBUG_BAP_BROADCAST_SINK + bool "[DEPRECATED] Bluetooth Audio Broadcast Sink debug" + select DEPRECATED + depends on BT_BAP_BROADCAST_SINK + help + Use this option to enable Bluetooth Audio Broadcast Sink debug logs + for the Bluetooth Audio functionality. + +config BT_DEBUG_BAP_SCAN_DELEGATOR + bool "[DEPRECATED] Broadcast Audio Scan Service debug" + select DEPRECATED + depends on BT_BAP_SCAN_DELEGATOR + help + Use this option to enable Broadcast Audio Scan Service debug logs for + the Bluetooth Audio functionality. + +config BT_DEBUG_BAP_BROADCAST_ASSISTANT + bool "[DEPRECATED] Broadcast Audio Scan Service client debug" + select DEPRECATED + depends on BT_BAP_BROADCAST_ASSISTANT + help + Use this option to enable Broadcast Audio Scan Service client + debug logs for the Bluetooth Audio functionality. + +# CAP + +config BT_DEBUG_CAP_ACCEPTOR + bool "[DEPRECATED] Common Audio Profile debug" + select DEPRECATED + depends on BT_CAP_ACCEPTOR + help + Use this option to enable CAP debug logs for the + Bluetooth Audio functionality. + +config BT_DEBUG_CAP_INITIATOR + bool "[DEPRECATED] Common Audio Profile Initiator debug" + select DEPRECATED + depends on BT_CAP_INITIATOR + help + Use this option to enable CAP Initiator debug logs for the + Bluetooth Audio functionality. + +# CISP + +config BT_DEBUG_CSIP_SET_MEMBER + bool "[DEPRECATED] Coordinated Set Identification Service debug" + select DEPRECATED + help + Use this option to enable Coordinated Set Identification Service debug + logs for the Bluetooth Audio functionality. + +config BT_DEBUG_CSIP_SET_COORDINATOR + bool "[DEPRECATED] Coordinated Set Identification Profile Set Coordinator debug" + select DEPRECATED + help + Use this option to enable Coordinated Set Identification Profile + Set Coordinator debug logs for the Bluetooth Audio functionality. + +config BT_DEBUG_CSIP_SET_MEMBER_CRYPTO + bool "[DEPRECATED] Coordinated Set Identification Profile crypto functions debug" + select DEPRECATED + depends on BT_CSIP_SET_COORDINATOR || BT_CSIP_SET_MEMBER + help + Use this option to enable Coordinated Set Identification Profile + crypto functions debug logs for the Bluetooth Audio functionality. + +# HAS + +config BT_DEBUG_HAS + bool "[DEPRECATED] Hearing Access Service debug" + select DEPRECATED + help + This option enables enables Hearing Access Service debug logs. + +config BT_DEBUG_HAS_CLIENT + bool "[DEPRECATED] Hearing Access Service Client debug" + select DEPRECATED + depends on BT_HAS_CLIENT + help + This option enables enables Hearing Access Service Client debug logs. + +# MCS + +config BT_DEBUG_MCS + bool "[DEPRECATED] Media Control Service debug" + select DEPRECATED + help + Use this option to enable Media Control Service debug logs for the + Bluetooth Audio functionality. + +config BT_DEBUG_MCC + bool "[DEPRECATED] Media Control Client debug" + select DEPRECATED + help + Use this option to enable Media Control Client debug logs for the + Bluetooth Audio functionality. + +# MCTL + +config MCTL_DEBUG + bool "[DEPRECATED] Media control debug" + select DEPRECATED + help + Use this option to enable Media control debug logs + +# MICP + +config BT_DEBUG_MICP_MIC_DEV + bool "[DEPRECATED] Microphone Control Profile Microphone Device debug" + select DEPRECATED + help + Use this option to enable Microphone Control Profile + Microphone Device debug logs for the Bluetooth Audio functionality. + +config BT_DEBUG_MICP_MIC_CTLR + bool "[DEPRECATED] Microphone Control Profile Microphone Controller debug" + select DEPRECATED + help + Use this option to enable Microphone Control Profile Microphone + Controller debug logs for the Bluetooth Audio functionality. + +# MPL + +config BT_DEBUG_MPL + bool "[DEPRECATED] Media player debug" + select DEPRECATED + help + Enables debug logs for the media player + +# PACS + +config BT_DEBUG_PACS + bool "[DEPRECATED] Published Audio Capabilities Service debug" + select DEPRECATED + depends on BT_PACS + help + Use this option to enable Published Audio Capabilities Service debug + logs for the Bluetooth Audio functionality. + +# TBS + +config BT_DEBUG_TBS + bool "[DEPRECATED] Telephone Bearer Service debug" + select DEPRECATED + help + Use this option to enable Telephone Bearer Service debug logs for the + Bluetooth Audio functionality. + +config BT_DEBUG_TBS_CLIENT + bool "[DEPRECATED] Telephone Bearer Service client debug" + select DEPRECATED + help + Use this option to enable Telephone Bearer Service client debug logs + for the Bluetooth Audio functionality. + +# VCP + +config BT_DEBUG_VCP_VOL_REND + bool "[DEPRECATED] Volume Control Profile Volume Renderer debug" + select DEPRECATED + help + Use this option to enable Volume Control Profile debug logs for the + Bluetooth Audio functionality. + +config BT_DEBUG_VCP_VOL_CTLR + bool "[DEPRECATED] Volume Control Profile Volume Controller debug" + select DEPRECATED + help + Use this option to enable Volume Control Profile Volume Controller + debug logs for the Bluetooth Audio functionality. + +# VOCS + +config BT_DEBUG_VOCS + bool "[DEPRECATED] Volume Offset Control Service debug" + select DEPRECATED + help + Use this option to enable Volume Offset Control Service debug logs for + the Bluetooth Audio functionality. + +config BT_DEBUG_VOCS_CLIENT + bool "[DEPRECATED] Volume Offset Control Service client debug" + select DEPRECATED + help + Use this option to enable Volume Offset Control Service client debug + logs for the Bluetooth Audio functionality. + +endmenu # [DEPRECATED] Audio + +menu "[DEPRECATED] Others" + +# CRYPTO (subsys/bluetooth/crypto/Kconfig) + +config BT_DEBUG_CRYPTO + bool "[DEPRECATED] Bluetooth Cryptographic Toolbox debug" + select DEPRECATED + depends on BT_CRYPTO + help + This option enables debug log output for the Bluetooth + Cryptographic Toolbox. + + WARNING: This option prints out private security keys such as + the Long Term Key. + Use of this feature in production is strongly discouraged. + +# GATT + +config BT_DEBUG_ATT + bool "[DEPRECATED] Bluetooth Attribute Protocol (ATT) debug" + select DEPRECATED + help + This option enables debug support for the Bluetooth + Attribute Protocol (ATT). + +config BT_DEBUG_GATT + bool "[DEPRECATED] Bluetooth Generic Attribute Profile (GATT) debug" + select DEPRECATED + help + This option enables debug support for the Bluetooth + Generic Attribute Profile (GATT). + +# L2CAP + +config BT_DEBUG_L2CAP + bool "[DEPRECATED] Bluetooth L2CAP debug" + select DEPRECATED + depends on BT_DEBUG + help + This option enables debug support for the Bluetooth + L2ACP layer. + +# HOST (subsys/bluetooth/host/Kconfig) + +config BT_DEBUG_DF + bool "[DEPRECATED] Bluetooth Direction Finding debug" + select DEPRECATED + help + This option enables debug support for Bluetooth Direction Finding + +config BT_DEBUG_SETTINGS + bool "[DEPRECATED] Bluetooth storage debug" + select DEPRECATED + depends on BT_SETTINGS + help + This option enables debug support for Bluetooth storage. + +config BT_DEBUG_HCI_CORE + bool "[DEPRECATED] Bluetooth HCI core debug" + select DEPRECATED + help + This option enables debug support for Bluetooth HCI + core. + +config BT_DEBUG_CONN + bool "[DEPRECATED] Bluetooth connection debug" + select DEPRECATED + depends on BT_CONN || BT_ISO + help + This option enables debug support for Bluetooth + connection handling. + +config BT_DEBUG_ISO + bool "[DEPRECATED] ISO channel debug" + select DEPRECATED + help + Use this option to enable ISO channels debug logs for the + Bluetooth Audio functionality. + +config BT_DEBUG_KEYS + bool "[DEPRECATED] Bluetooth security keys debug" + select DEPRECATED + depends on BT_HCI_HOST + depends on BT_SMP + help + This option enables debug support for the handling of + Bluetooth security keys. + + WARNING: This option prints out private security keys such as + the Long Term Key. + Use of this feature in production is strongly discouraged. + +config BT_DEBUG_SMP + bool "[DEPRECATED] Bluetooth Security Manager Protocol (SMP) debug" + select DEPRECATED + depends on BT_HCI_HOST + depends on BT_SMP + help + This option enables debug support for the Bluetooth + Security Manager Protocol (SMP). + + WARNING: This option prints out private security keys such as + the Long Term Key. + Use of this feature in production is strongly discouraged. + +config BT_DEBUG_SERVICE + bool "[DEPRECATED] Bluetooth Services debug" + select DEPRECATED + depends on BT_CONN + help + This option enables debug support for the Bluetooth + Services. + +endmenu # [DEPRECATED] Others + +menu "[DEPRECATED] BR/EDR" + +config BT_DEBUG_RFCOMM + bool "[DEPRECATED] Bluetooth RFCOMM debug" + select DEPRECATED + depends on BT_RFCOMM + help + This option enables debug support for the Bluetooth + RFCOMM layer. + +config BT_DEBUG_HFP_HF + bool "[DEPRECATED] Bluetooth Hands Free Profile (HFP) debug" + select DEPRECATED + depends on BT_HFP_HF + help + This option enables debug support for the Bluetooth + Hands Free Profile (HFP). + +config BT_DEBUG_AVDTP + bool "[DEPRECATED] Bluetooth AVDTP debug" + select DEPRECATED + depends on BT_AVDTP + help + This option enables debug support for the Bluetooth AVDTP. + +config BT_DEBUG_A2DP + bool "[DEPRECATED] Bluetooth A2DP debug" + select DEPRECATED + depends on BT_A2DP + help + This option enables debug support for the Bluetooth + A2DP profile. + +config BT_DEBUG_SDP + bool "[DEPRECATED] Bluetooth Service Discovery Protocol (SDP) debug" + select DEPRECATED + depends on BT_BREDR + help + This option enables debug support for the Bluetooth + Service Discovery Protocol (SDP). + +endmenu # [DEPRECATED] BR/EDR + +# MESH (subsys/bluetooth/mesh/Kconfig) + +menu "[DEPRECATED] Mesh" + +config BT_MESH_DEBUG + bool "[DEPRECATED] Debug logs" + select DEPRECATED + depends on BT_DEBUG + help + Use this option to enable debug logs for the Bluetooth + Mesh functionality. + +config BT_MESH_DEBUG_NET + bool "[DEPRECATED] Network layer debug" + select DEPRECATED + help + Use this option to enable Network layer debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_RPL + bool "[DEPRECATED] Replay protection list debug" + select DEPRECATED + help + Use this option to enable Replay protection list debug logs + for the Bluetooth mesh functionality. + +config BT_MESH_DEBUG_TRANS + bool "[DEPRECATED] Transport layer debug" + select DEPRECATED + help + Use this option to enable Transport layer debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_BEACON + bool "[DEPRECATED] Beacon debug" + select DEPRECATED + help + Use this option to enable Beacon-related debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_CRYPTO + bool "[DEPRECATED] Crypto debug" + select DEPRECATED + help + Use this option to enable cryptographic debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_KEYS + bool "[DEPRECATED] Key management debug" + select DEPRECATED + help + Use this option to enable key management debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_PROV + bool "[DEPRECATED] Provisioning debug" + select DEPRECATED + help + Use this option to enable Provisioning debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_PROVISIONER + bool "[DEPRECATED] Provisioner debug" + select DEPRECATED + help + Use this option to enable Provisioner debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_PROV_DEVICE + bool "[DEPRECATED] Provisioning device debug" + select DEPRECATED + help + Use this option to enable Provisioning device debug logs for the + Bluetooth Mesh functionality. + +config BT_MESH_DEBUG_ACCESS + bool "[DEPRECATED] Access layer debug" + select DEPRECATED + help + Use this option to enable Access layer and device composition + related debug logs for Bluetooth mesh. + +config BT_MESH_DEBUG_MODEL + bool "[DEPRECATED] Foundation model debug" + select DEPRECATED + help + Use this option to enable debug logs for the Foundation + Models. + +config BT_MESH_DEBUG_ADV + bool "[DEPRECATED] Advertising debug" + select DEPRECATED + help + Use this option to enable advertising debug logs for + the Bluetooth mesh functionality. + +config BT_MESH_DEBUG_LOW_POWER + bool "[DEPRECATED] Low Power debug" + select DEPRECATED + help + Use this option to enable Low Power debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_FRIEND + bool "[DEPRECATED] Friend debug" + select DEPRECATED + help + Use this option to enable Friend debug logs for the + Bluetooth mesh functionality. + +config BT_MESH_DEBUG_PROXY + bool "[DEPRECATED] Proxy debug" + select DEPRECATED + depends on BT_MESH_GATT + help + Use this option to enable Proxy protocol debug logs. + +config BT_MESH_DEBUG_SETTINGS + bool "[DEPRECATED] Persistent settings debug" + select DEPRECATED + depends on BT_SETTINGS + help + Use this option to enable persistent settings debug logs. + +config BT_MESH_DEBUG_CDB + bool "[DEPRECATED] Configuration database debug" + select DEPRECATED + depends on BT_MESH_CDB + help + Use this option to enable configuration database debug logs. + +config BT_MESH_DEBUG_CFG + bool "[DEPRECATED] Configuration debug" + select DEPRECATED + help + Use this option to enable node configuration debug logs for the + Bluetooth mesh functionality. + +endmenu # [DEPRECATED] Mesh + +menu "[DEPRECATED] Services" + +# IAS + +config BT_DEBUG_IAS_CLIENT + bool "[DEPRECATED] Immediate Alert Service Client debug" + select DEPRECATED + depends on BT_IAS_CLIENT + help + This option enables enables Immediate Alert Service Client debug logs. + +# OTS + +# TODO: Unify logging for OTS server and client - the client uses +# "BT" debugging, the server does not. + +config BT_DEBUG_OTS_CLIENT + bool "[DEPRECATED] Object Transfer Service Client debug" + select DEPRECATED + help + Use this option to enable Object Transfer Client debug logs + +endmenu # [DEPRECATED] Services + +endif # BT_DEPRECATED_LOG + +# (subsys/bluetooth/Kconfig) + +module = BT +module-str = "Bluetooth" +source "subsys/logging/Kconfig.template.log_config" + +# COMMON (subsys/bluetooth/common/Kconfig) + +module = BT_HCI_DRIVER +legacy-debug-sym = BT_DEBUG_HCI_DRIVER +module-str = "Bluetooth HCI driver" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_RPA +legacy-debug-sym = BT_DEBUG_RPA +module-str = "Bluetooth Resolvable Private Address (RPA)" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +menu "Audio" + +# AICS + +module = BT_AICS +legacy-debug-sym = BT_DEBUG_AICS +module-str = "Audio Input Control Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_AICS_CLIENT +legacy-debug-sym = BT_DEBUG_AICS_CLIENT +module-str = "Audio Input Control Service client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# BAP + +module = BT_BAP_STREAM +legacy-debug-sym = BT_BAP_DEBUG_STREAM +module-str = "Bluetooth Audio Stream" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +parent-module = BT +module = BT_AUDIO_CODEC +module-str = "Bluetooth Audio Codec" +source "subsys/logging/Kconfig.template.log_config_inherit" + +module = BT_ASCS +legacy-debug-sym = BT_DEBUG_ASCS +module-str = "Audio Stream Control Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_BAP_UNICAST_SERVER +legacy-debug-sym = BT_DEBUG_BAP_UNICAST_SERVER +module-str = "Bluetooth Audio Unicast Server" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_BAP_UNICAST_CLIENT +legacy-debug-sym = BT_DEBUG_BAP_UNICAST_CLIENT +module-str = "Basic Audio Profile" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_BAP_BROADCAST_SOURCE +legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_SOURCE +module-str = "Bluetooth Audio Broadcast Source" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_BAP_BROADCAST_SINK +legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_SINK +module-str = "Bluetooth Audio Broadcast Sink" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_BAP_SCAN_DELEGATOR +legacy-debug-sym = BT_DEBUG_BAP_SCAN_DELEGATOR +module-str = "Broadcast Audio Scan Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_BAP_BROADCAST_ASSISTANT +legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_ASSISTANT +module-str = "Broadcast Audio Scan Service client debug" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +parent-module = BT +module = BT_BAP_ISO +module-str = "Bluetooth Audio ISO" +source "subsys/logging/Kconfig.template.log_config_inherit" + +# CAP + +module = BT_CAP_ACCEPTOR +legacy-debug-sym = BT_DEBUG_CAP_ACCEPTOR +module-str = "Common Audio Profile Acceptor" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_CAP_INITIATOR +legacy-debug-sym = BT_DEBUG_CAP_INITIATOR +module-str = "Common Audio Profile Initiator" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +parent-module = BT +module = BT_CAP_STREAM +module-str = "Common Audio Profile Stream" +source "subsys/logging/Kconfig.template.log_config_inherit" + +# CSIP + +module = BT_CSIP_SET_MEMBER +legacy-debug-sym = BT_DEBUG_CSIP_SET_MEMBER +module-str = "Coordinated Set Identification Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_CSIP_SET_COORDINATOR +legacy-debug-sym = BT_DEBUG_CSIP_SET_COORDINATOR +module-str = "Coordinated Set Identification Profile Set Coordinator" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_CSIP_SET_MEMBER_CRYPTO +legacy-debug-sym = BT_DEBUG_CSIP_SET_MEMBER_CRYPTO +module-str = "Coordinated Set Identification Profile crypto functions" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# HAS + +module = BT_HAS +legacy-debug-sym = BT_DEBUG_HAS +module-str = "Hearing Access Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_HAS_CLIENT +legacy-debug-sym = BT_DEBUG_HAS_CLIENT +module-str = "Hearing Access Service Client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# MCS + +module = BT_MCS +legacy-debug-sym = BT_DEBUG_MCS +module-str = "Media Control Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MCC +legacy-debug-sym = BT_DEBUG_MCC +module-str = "Media Control Client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# MCTL + +module = MCTL +legacy-debug-sym = MCTL_DEBUG +module-str = "Media control" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# MICP + +module = BT_MICP_MIC_DEV +legacy-debug-sym = BT_DEBUG_MICP_MIC_DEV +module-str = "Microphone Control Profile Microphone Device" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MICP_MIC_CTLR +legacy-debug-sym = BT_DEBUG_MICP_MIC_CTLR +module-str = "Microphone Control Profile Microphone Controller" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# MPL + +module = BT_MPL +legacy-debug-sym = BT_DEBUG_MPL +module-str = "Media player" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# PACS + +module = BT_PACS +legacy-debug-sym = BT_DEBUG_PACS +module-str = "Published Audio Capabilities Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# TBS + +module = BT_TBS +legacy-debug-sym = BT_DEBUG_TBS +module-str = "Telephone Bearer Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_TBS_CLIENT +legacy-debug-sym = BT_DEBUG_TBS_CLIENT +module-str = "Telephone Bearer Service client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# VCP + +module = BT_VCP_VOL_REND +legacy-debug-sym = BT_DEBUG_VCP_VOL_REND +module-str = "Volume Control Profile Voluem Renderer" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_VCP_VOL_CTLR +legacy-debug-sym = BT_DEBUG_VCP_VOL_CTLR +module-str = "Volume Control Profile Volume Controller" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# VOCS + +module = BT_VOCS +legacy-debug-sym = BT_DEBUG_VOCS +module-str = "Volume Offset Control Service" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_VOCS_CLIENT +legacy-debug-sym = BT_DEBUG_VOCS_CLIENT +module-str = "Volume Offset Control Service client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +endmenu # Audio + +menu "Others" + +# CRYPTO (subsys/bluetooth/crypto/Kconfig) + +module = BT_CRYPTO +legacy-debug-sym = BT_DEBUG_CRYPTO +module-str = "Bluetooth Cryptographic Toolbox" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# GATT + +module = BT_ATT +legacy-debug-sym = BT_DEBUG_ATT +module-str = "Bluetooth Attribute Protocol (ATT)" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_GATT +legacy-debug-sym = BT_DEBUG_GATT +module-str = "Bluetooth Generic Attribute Profile (GATT)" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# L2CAP + +module = BT_L2CAP +legacy-debug-sym = BT_DEBUG_L2CAP +module-str = "Bluetooth L2CAP" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +# LIB (subsys/bluetooth/lib/Kconfig) + +parent-module = BT +module = BT_EAD +module-str = "Bluetooth Encrypted Advertising Data" +source "subsys/logging/Kconfig.template.log_config_inherit" + +# HOST (subsys/bluetooth/host/Kconfig) + +module = BT_DF +legacy-debug-sym = BT_DEBUG_DF +module-str = "Bluetooth Direction Finding" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_SETTINGS +legacy-debug-sym = BT_DEBUG_SETTINGS +module-str = "Bluetooth storage" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_HCI_CORE +legacy-debug-sym = BT_DEBUG_HCI_CORE +module-str = "Bluetooth HCI core" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_CONN +legacy-debug-sym = BT_DEBUG_CONN +module-str = "Bluetooth connection" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_ISO +legacy-debug-sym = BT_DEBUG_ISO +module-str = "ISO channel" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_KEYS +legacy-debug-sym = BT_DEBUG_KEYS +module-str = "Bluetooth security keys" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_SMP +legacy-debug-sym = BT_DEBUG_SMP +module-str = "Bluetooth Security Manager Protocol" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_SERVICE +legacy-debug-sym = BT_DEBUG_SERVICE +module-str = "Bluetooth Services" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +endmenu # Others + +menu "BR/EDR" + +module = BT_RFCOMM +legacy-debug-sym = BT_DEBUG_RFCOMM +module-str = "Bluetooth RFCOMM" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_HFP_HF +legacy-debug-sym = BT_DEBUG_HFP_HF +module-str = "Bluetooth Hands Free Profile (HFP)" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_AVDTP +legacy-debug-sym = BT_DEBUG_AVDTP +module-str = "Bluetooth AVDTP debug" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_A2DP +legacy-debug-sym = BT_DEBUG_A2DP +module-str = "Bluetooth A2DP" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_SDP +legacy-debug-sym = BT_DEBUG_SDP +module-str = "Bluetooth Service Discovery Protocol (SDP)" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +endmenu # BR/EDR + +# MESH (subsys/bluetooth/mesh/Kconfig) + +menu "Mesh" + +module = BT_MESH +legacy-debug-sym = BT_MESH_DEBUG +module-str = "Debug logs" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_NET +legacy-debug-sym = BT_MESH_DEBUG_NET +module-str = "Network layer" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_RPL +legacy-debug-sym = BT_MESH_DEBUG_RPL +module-str = "Replay protection list" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_TRANS +legacy-debug-sym = BT_MESH_DEBUG_TRANS +module-str = "Transport layer" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_BEACON +legacy-debug-sym = BT_MESH_DEBUG_BEACON +module-str = "Beacon" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_CRYPTO +legacy-debug-sym = BT_MESH_DEBUG_CRYPTO +module-str = "Crypto" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_KEYS +legacy-debug-sym = BT_MESH_DEBUG_KEYS +module-str = "Key management" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_PROV +legacy-debug-sym = BT_MESH_DEBUG_PROV +module-str = "Provisioning" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_PROVISIONER +legacy-debug-sym = BT_MESH_DEBUG_PROVISIONER +module-str = "Provisioner" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_PROV_DEVICE +legacy-debug-sym = BT_MESH_DEBUG_PROV_DEVICE +module-str = "Provisioning device" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_ACCESS +legacy-debug-sym = BT_MESH_DEBUG_ACCESS +module-str = "Access layer" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_MODEL +legacy-debug-sym = BT_MESH_DEBUG_MODEL +module-str = "Foundation model" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_DFU +module-str = "DFU model" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_ADV +legacy-debug-sym = BT_MESH_DEBUG_ADV +module-str = "Advertising" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_LOW_POWER +legacy-debug-sym = BT_MESH_DEBUG_LOW_POWER +module-str = "Low Power" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_FRIEND +legacy-debug-sym = BT_MESH_DEBUG_FRIEND +module-str = "Friend" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_PROXY +legacy-debug-sym = BT_MESH_DEBUG_PROXY +module-str = "Proxy" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_SETTINGS +legacy-debug-sym = BT_MESH_DEBUG_SETTINGS +module-str = "Persistent settings" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_CDB +legacy-debug-sym = BT_MESH_DEBUG_CDB +module-str = "Configuration database" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_MESH_CFG +legacy-debug-sym = BT_MESH_DEBUG_CFG +module-str = "Configuration" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +endmenu # Mesh + +menu "Services" + +# BAS + +module = BT_BAS +module-str = BAS +source "subsys/logging/Kconfig.template.log_config" + +# HRS + +module = BT_HRS +module-str = HRS +source "subsys/logging/Kconfig.template.log_config" + +# TPS + +module = BT_TPS +module-str = TPS +source "subsys/logging/Kconfig.template.log_config" + +# IAS + +module = BT_IAS_CLIENT +legacy-debug-sym = BT_DEBUG_IAS_CLIENT +module-str = "Immediate Alert Service Client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_IAS +module-str = IAS +source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" + +# OTS (subsys/bluetooth/services/ots/Kconfig) + +module = BT_OTS_CLIENT +legacy-debug-sym = BT_DEBUG_OTS_CLIENT +module-str = "Object Transfer Service Client" +source "subsys/bluetooth/common/Kconfig.template.log_config_bt" + +module = BT_OTS +module-str = BT_OTS +source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" + +endmenu # Services + +endif # BT_LOG diff --git a/subsys/bluetooth/audio/Kconfig.aics b/subsys/bluetooth/audio/Kconfig.aics index 5dcddd504ff..a8bf4dd864c 100644 --- a/subsys/bluetooth/audio/Kconfig.aics +++ b/subsys/bluetooth/audio/Kconfig.aics @@ -32,20 +32,6 @@ config BT_AICS_MAX_INPUT_DESCRIPTION_SIZE help This option sets the maximum input description size in octets. -############# DEBUG ############# - -config BT_DEBUG_AICS - bool "Audio Input Control Service debug" - select DEPRECATED - help - Use this option to enable Audio Input Control Service debug logs for - the Bluetooth Audio functionality. - -module = BT_AICS -legacy-debug-sym = BT_DEBUG_AICS -module-str = "Audio Input Control Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_AICS ##################### Audio Input Control Service Client ##################### @@ -64,21 +50,3 @@ config BT_AICS_CLIENT select EXPERIMENTAL help This hidden option enables support for Audio Input Control Service. - -if BT_AICS_CLIENT - -############# DEBUG ############# - -config BT_DEBUG_AICS_CLIENT - bool "Audio Input Control Service client debug" - select DEPRECATED - help - Use this option to enable Audio Input Control Service client debug - logs for the Bluetooth Audio functionality. - -module = BT_AICS_CLIENT -legacy-debug-sym = BT_DEBUG_AICS_CLIENT -module-str = "Audio Input Control Service client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -endif # BT_AICS_CLIENT diff --git a/subsys/bluetooth/audio/Kconfig.bap b/subsys/bluetooth/audio/Kconfig.bap index c07e044e8cf..3a66cbfbb88 100644 --- a/subsys/bluetooth/audio/Kconfig.bap +++ b/subsys/bluetooth/audio/Kconfig.bap @@ -253,23 +253,6 @@ config BT_BAP_BROADCAST_ASSISTANT_RECV_STATE_COUNT endif # BT_BAP_BROADCAST_ASSISTANT -config BT_BAP_DEBUG_STREAM - bool "Basic Audio Profile Stream debug" - select DEPRECATED - depends on BT_BAP_STREAM - help - Use this option to enable Basic Audio Profile Stream debug logs. - -module = BT_BAP_STREAM -legacy-debug-sym = BT_BAP_DEBUG_STREAM -module-str = "Bluetooth Audio Stream" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -parent-module = BT -module = BT_AUDIO_CODEC -module-str = "Bluetooth Audio Codec" -source "subsys/logging/Kconfig.template.log_config_inherit" - config BT_BAP_DEBUG_STREAM_DATA bool "Bluetooth Audio Stream data debug" depends on BT_BAP_STREAM_LOG_LEVEL_DBG @@ -278,107 +261,11 @@ config BT_BAP_DEBUG_STREAM_DATA the Bluetooth Audio functionality. This will enable debug logs for all audio data received and sent. -config BT_DEBUG_ASCS - bool "Audio Stream Control Service debug" - select DEPRECATED - depends on BT_ASCS - help - Use this option to enable Audio Stream Control Service debug logs for - the Bluetooth Audio functionality. - -module = BT_ASCS -legacy-debug-sym = BT_DEBUG_ASCS -module-str = "Audio Stream Control Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_BAP_UNICAST_SERVER - bool "Bluetooth Audio Unicast Server debug" - select DEPRECATED - depends on BT_BAP_UNICAST_SERVER - help - Use this option to enable Bluetooth Audio Unicast Server debug logs - for the Bluetooth Audio functionality. - -module = BT_BAP_UNICAST_SERVER -legacy-debug-sym = BT_DEBUG_BAP_UNICAST_SERVER -module-str = "Bluetooth Audio Unicast Server" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_BAP_UNICAST_CLIENT - bool "Basic Audio Profile client debug" - select DEPRECATED - depends on BT_BAP_UNICAST_CLIENT - help - Use this option to enable Basic Audio Profile debug logs for the - Bluetooth Audio functionality. - -module = BT_BAP_UNICAST_CLIENT -legacy-debug-sym = BT_DEBUG_BAP_UNICAST_CLIENT -module-str = "Basic Audio Profile" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_BAP_BROADCAST_SOURCE - bool "Bluetooth Audio Broadcast Source debug" - select DEPRECATED - depends on BT_BAP_BROADCAST_SOURCE - help - Use this option to enable Bluetooth Audio Broadcast Source debug logs - for the Bluetooth Audio functionality. - -module = BT_BAP_BROADCAST_SOURCE -legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_SOURCE -module-str = "Bluetooth Audio Broadcast Source" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_BAP_BROADCAST_SINK - bool "Bluetooth Audio Broadcast Sink debug" - select DEPRECATED - depends on BT_BAP_BROADCAST_SINK - help - Use this option to enable Bluetooth Audio Broadcast Sink debug logs - for the Bluetooth Audio functionality. - -module = BT_BAP_BROADCAST_SINK -legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_SINK -module-str = "Bluetooth Audio Broadcast Sink" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_BAP_SCAN_DELEGATOR - bool "Broadcast Audio Scan Service debug" - select DEPRECATED - depends on BT_BAP_SCAN_DELEGATOR - help - Use this option to enable Broadcast Audio Scan Service debug logs for - the Bluetooth Audio functionality. - -module = BT_BAP_SCAN_DELEGATOR -legacy-debug-sym = BT_DEBUG_BAP_SCAN_DELEGATOR -module-str = "Broadcast Audio Scan Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_BAP_BROADCAST_ASSISTANT - bool "Broadcast Audio Scan Service client debug" - select DEPRECATED - depends on BT_BAP_BROADCAST_ASSISTANT - help - Use this option to enable Broadcast Audio Scan Service client - debug logs for the Bluetooth Audio functionality. - -module = BT_BAP_BROADCAST_ASSISTANT -legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_ASSISTANT -module-str = "Broadcast Audio Scan Service client debug" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - config BT_BAP_STREAM # Virtual/hidden option bool default y if BT_ASCS || BT_BAP_UNICAST_CLIENT || \ BT_BAP_BROADCAST_SOURCE || BT_BAP_BROADCAST_SINK -parent-module = BT -module = BT_BAP_ISO -module-str = "Bluetooth Audio ISO" -source "subsys/logging/Kconfig.template.log_config_inherit" - rsource "Kconfig.pacs" rsource "Kconfig.ascs" diff --git a/subsys/bluetooth/audio/Kconfig.cap b/subsys/bluetooth/audio/Kconfig.cap index 9f71d61b720..66da848563c 100644 --- a/subsys/bluetooth/audio/Kconfig.cap +++ b/subsys/bluetooth/audio/Kconfig.cap @@ -26,45 +26,9 @@ config BT_CAP_ACCEPTOR_SET_MEMBER Enabling will take one of the allocated CSIS instances (BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT). -config BT_DEBUG_CAP_ACCEPTOR - bool "Common Audio Profile debug" - select DEPRECATED - depends on BT_CAP_ACCEPTOR - help - Use this option to enable CAP debug logs for the - Bluetooth Audio functionality. - -module = BT_CAP_ACCEPTOR -legacy-debug-sym = BT_DEBUG_CAP_ACCEPTOR -module-str = "Common Audio Profile Acceptor" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - config BT_CAP_INITIATOR bool "Common Audio Profile Initiator Role Support [EXPERIMENTAL]" depends on (BT_BAP_UNICAST_CLIENT && BT_CSIP_SET_COORDINATOR) || BT_BAP_BROADCAST_SOURCE select EXPERIMENTAL help Enabling this will enable the CAP Initiator role. - -module = BT_CAP_INITIATOR -legacy-debug-sym = BT_DEBUG_CAP_INITIATOR -module-str = "Common Audio Profile Initiator" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_CAP_INITIATOR - bool "Common Audio Profile Initiator debug" - select DEPRECATED - depends on BT_CAP_INITIATOR - help - Use this option to enable CAP Initiator debug logs for the - Bluetooth Audio functionality. - -module = BT_CAP_INITIATOR -legacy-debug-sym = BT_DEBUG_CAP_INITIATOR -module-str = "Common Audio Profile Initiator" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -parent-module = BT -module = BT_CAP_STREAM -module-str = "Common Audio Profile Stream" -source "subsys/logging/Kconfig.template.log_config_inherit" diff --git a/subsys/bluetooth/audio/Kconfig.csip b/subsys/bluetooth/audio/Kconfig.csip index c9004b211eb..046b36de0a1 100644 --- a/subsys/bluetooth/audio/Kconfig.csip +++ b/subsys/bluetooth/audio/Kconfig.csip @@ -47,20 +47,6 @@ config BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT Enabling BT_CAP_ACCEPTOR_SET_MEMBER will take one of the allocated instances. -############### DEBUG ############### - -config BT_DEBUG_CSIP_SET_MEMBER - bool "Coordinated Set Identification Service debug" - select DEPRECATED - help - Use this option to enable Coordinated Set Identification Service debug - logs for the Bluetooth Audio functionality. - -module = BT_CSIP_SET_MEMBER -legacy-debug-sym = BT_DEBUG_CSIP_SET_MEMBER -module-str = "Coordinated Set Identification Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_CSIP_SET_MEMBER #################### Coordinated Set Identification Client #################### @@ -101,31 +87,4 @@ config BT_CSIP_SET_COORDINATOR_ENC_SIRK_SUPPORT help Enables support encrypting the SIRK. -############### DEBUG ############### - -config BT_DEBUG_CSIP_SET_COORDINATOR - bool "Coordinated Set Identification Profile Set Coordinator debug" - select DEPRECATED - help - Use this option to enable Coordinated Set Identification Profile - Set Coordinator debug logs for the Bluetooth Audio functionality. - -module = BT_CSIP_SET_COORDINATOR -legacy-debug-sym = BT_DEBUG_CSIP_SET_COORDINATOR -module-str = "Coordinated Set Identification Profile Set Coordinator" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_CSIP_SET_COORDINATOR - -config BT_DEBUG_CSIP_SET_MEMBER_CRYPTO - bool "Coordinated Set Identification Profile crypto functions debug" - select DEPRECATED - depends on BT_CSIP_SET_COORDINATOR || BT_CSIP_SET_MEMBER - help - Use this option to enable Coordinated Set Identification Profile - crypto functions debug logs for the Bluetooth Audio functionality. - -module = BT_CSIP_SET_MEMBER_CRYPTO -legacy-debug-sym = BT_DEBUG_CSIP_SET_MEMBER_CRYPTO -module-str = "Coordinated Set Identification Profile crypto functions" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" diff --git a/subsys/bluetooth/audio/Kconfig.has b/subsys/bluetooth/audio/Kconfig.has index ffe525a80a9..9e96a3824ca 100644 --- a/subsys/bluetooth/audio/Kconfig.has +++ b/subsys/bluetooth/audio/Kconfig.has @@ -34,17 +34,6 @@ config BT_HAS_PRESET_NAME_DYNAMIC endif # BT_HAS_PRESET_SUPPORT -config BT_DEBUG_HAS - bool "Hearing Access Service debug" - select DEPRECATED - help - This option enables enables Hearing Access Service debug logs. - -module = BT_HAS -legacy-debug-sym = BT_DEBUG_HAS -module-str = "Hearing Access Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_HAS config BT_HAS_CLIENT @@ -56,15 +45,3 @@ config BT_HAS_CLIENT select UTF8 help This option enables support for Hearing Access Service Client. - -config BT_DEBUG_HAS_CLIENT - bool "Hearing Access Service Client debug" - select DEPRECATED - depends on BT_HAS_CLIENT - help - This option enables enables Hearing Access Service Client debug logs. - -module = BT_HAS_CLIENT -legacy-debug-sym = BT_DEBUG_HAS_CLIENT -module-str = "Hearing Access Service Client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" diff --git a/subsys/bluetooth/audio/Kconfig.mcs b/subsys/bluetooth/audio/Kconfig.mcs index 78c81db9038..1f3904cc536 100644 --- a/subsys/bluetooth/audio/Kconfig.mcs +++ b/subsys/bluetooth/audio/Kconfig.mcs @@ -17,22 +17,6 @@ config BT_MCS help This option enables support for the Media Control Service. -if BT_MCS - -config BT_DEBUG_MCS - bool "Media Control Service debug" - select DEPRECATED - help - Use this option to enable Media Control Service debug logs for the - Bluetooth Audio functionality. - -module = BT_MCS -legacy-debug-sym = BT_DEBUG_MCS -module-str = "Media Control Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -endif # BT_MCS - #### Media Control Client ################################ config BT_MCC @@ -136,18 +120,4 @@ config BT_MCC_SHELL help This option enables shell support for the Media Control Client. -#### MCC Debug logs #### - -config BT_DEBUG_MCC - bool "Media Control Client debug" - select DEPRECATED - help - Use this option to enable Media Control Client debug logs for the - Bluetooth Audio functionality. - -module = BT_MCC -legacy-debug-sym = BT_DEBUG_MCC -module-str = "Media Control Client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_MCC diff --git a/subsys/bluetooth/audio/Kconfig.mctl b/subsys/bluetooth/audio/Kconfig.mctl index ed4a56f26b7..cb14218068c 100644 --- a/subsys/bluetooth/audio/Kconfig.mctl +++ b/subsys/bluetooth/audio/Kconfig.mctl @@ -57,15 +57,4 @@ config MCTL_REMOTE_PLAYER_CONTROL_OBJECTS This options enables support for accessing objects (tracks, groups, search results, ...) on a remote media player -config MCTL_DEBUG - bool "Media control debug" - select DEPRECATED - help - Use this option to enable Media control debug logs - -module = MCTL -legacy-debug-sym = MCTL_DEBUG -module-str = "Media control" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # MCTL diff --git a/subsys/bluetooth/audio/Kconfig.micp b/subsys/bluetooth/audio/Kconfig.micp index ec5b7ff9e23..49b67502734 100644 --- a/subsys/bluetooth/audio/Kconfig.micp +++ b/subsys/bluetooth/audio/Kconfig.micp @@ -33,20 +33,6 @@ config BT_MICP_MIC_DEV_AICS This hidden option makes it possible to easily check if AICS is enabled for Microphone Control Profile Microphone Device. -############# DEBUG ############# - -config BT_DEBUG_MICP_MIC_DEV - bool "Microphone Control Profile Microphone Device debug" - select DEPRECATED - help - Use this option to enable Microphone Control Profile - Microphone Device debug logs for the Bluetooth Audio functionality. - -module = BT_MICP_MIC_DEV -legacy-debug-sym = BT_DEBUG_MICP_MIC_DEV -module-str = "Microphone Control Profile Microphone Device" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_MICP_MIC_DEV ########### Microphone Control Profile Microphone Controller ########### @@ -77,18 +63,4 @@ config BT_MICP_MIC_CTLR_AICS This hidden option makes it possible to easily check if AICS is enabled for MICP client. -############# DEBUG ############# - -config BT_DEBUG_MICP_MIC_CTLR - bool "Microphone Control Profile Microphone Controller debug" - select DEPRECATED - help - Use this option to enable Microphone Control Profile Microphone - Controller debug logs for the Bluetooth Audio functionality. - -module = BT_MICP_MIC_CTLR -legacy-debug-sym = BT_DEBUG_MICP_MIC_CTLR -module-str = "Microphone Control Profile Microphone Controller" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_MICP_MIC_CTLR diff --git a/subsys/bluetooth/audio/Kconfig.mpl b/subsys/bluetooth/audio/Kconfig.mpl index 43d09c11bb1..2e7fcb38420 100644 --- a/subsys/bluetooth/audio/Kconfig.mpl +++ b/subsys/bluetooth/audio/Kconfig.mpl @@ -107,15 +107,4 @@ config BT_MPL_TRACK_MAX_SIZE endif # BT_MPL_OBJECTS -config BT_DEBUG_MPL - bool "Media player debug" - select DEPRECATED - help - Enables debug logs for the media player - -module = BT_MPL -legacy-debug-sym = BT_DEBUG_MPL -module-str = "Media player" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_MPL diff --git a/subsys/bluetooth/audio/Kconfig.pacs b/subsys/bluetooth/audio/Kconfig.pacs index af95e2122bc..32087d2cf3d 100644 --- a/subsys/bluetooth/audio/Kconfig.pacs +++ b/subsys/bluetooth/audio/Kconfig.pacs @@ -88,17 +88,4 @@ endif # BT_PAC_SRC config BT_PACS def_bool BT_PAC_SNK || BT_PAC_SRC -config BT_DEBUG_PACS - bool "Published Audio Capabilities Service debug" - select DEPRECATED - depends on BT_PACS - help - Use this option to enable Published Audio Capabilities Service debug - logs for the Bluetooth Audio functionality. - -module = BT_PACS -legacy-debug-sym = BT_DEBUG_PACS -module-str = "Published Audio Capabilities Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endmenu diff --git a/subsys/bluetooth/audio/Kconfig.tbs b/subsys/bluetooth/audio/Kconfig.tbs index cc9c093d0be..33304b50494 100644 --- a/subsys/bluetooth/audio/Kconfig.tbs +++ b/subsys/bluetooth/audio/Kconfig.tbs @@ -126,21 +126,6 @@ config BT_TBS_AUTHORIZATION If set to true, then any writable characteristics will require authorization per connection. - -############# DEBUG ############# - -config BT_DEBUG_TBS - bool "Telephone Bearer Service debug" - select DEPRECATED - help - Use this option to enable Telephone Bearer Service debug logs for the - Bluetooth Audio functionality. - -module = BT_TBS -legacy-debug-sym = BT_DEBUG_TBS -module-str = "Telephone Bearer Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_TBS @@ -322,20 +307,6 @@ config BT_TBS_CLIENT_CALL_FRIENDLY_NAME help This option enables support for reading Call Friendly Name. -############# DEBUG ############# - -config BT_DEBUG_TBS_CLIENT - bool "Telephone Bearer Service client debug" - select DEPRECATED - help - Use this option to enable Telephone Bearer Service client debug logs - for the Bluetooth Audio functionality. - -module = BT_TBS_CLIENT -legacy-debug-sym = BT_DEBUG_TBS_CLIENT -module-str = "Telephone Bearer Service client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_TBS_CLIENT if BT_TBS || BT_TBS_CLIENT diff --git a/subsys/bluetooth/audio/Kconfig.vcp b/subsys/bluetooth/audio/Kconfig.vcp index 57c46b6d0e9..9e5f6c06a18 100644 --- a/subsys/bluetooth/audio/Kconfig.vcp +++ b/subsys/bluetooth/audio/Kconfig.vcp @@ -46,20 +46,6 @@ config BT_VCP_VOL_REND_AICS This hidden option makes it possible to easily check if AICS is enabled for VCS. -############# DEBUG ############# - -config BT_DEBUG_VCP_VOL_REND - bool "Volume Control Profile Volume Renderer debug" - select DEPRECATED - help - Use this option to enable Volume Control Profile debug logs for the - Bluetooth Audio functionality. - -module = BT_VCP_VOL_REND -legacy-debug-sym = BT_DEBUG_VCP_VOL_REND -module-str = "Volume Control Profile Voluem Renderer" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_VCP_VOL_REND ################### Volume Control Profile Volume Controller ################### @@ -105,18 +91,4 @@ config BT_VCP_VOL_CTLR_AICS This hidden option makes it possible to easily check if AICS is enabled for VCS client. -############# DEBUG ############# - -config BT_DEBUG_VCP_VOL_CTLR - bool "Volume Control Profile Volume Controller debug" - select DEPRECATED - help - Use this option to enable Volume Control Profile Volume Controller - debug logs for the Bluetooth Audio functionality. - -module = BT_VCP_VOL_CTLR -legacy-debug-sym = BT_DEBUG_VCP_VOL_CTLR -module-str = "Volume Control Profile Volume Controller" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_VCP_VOL_CTLR diff --git a/subsys/bluetooth/audio/Kconfig.vocs b/subsys/bluetooth/audio/Kconfig.vocs index 55d4075fb8b..2b1e4362b13 100644 --- a/subsys/bluetooth/audio/Kconfig.vocs +++ b/subsys/bluetooth/audio/Kconfig.vocs @@ -31,20 +31,6 @@ config BT_VOCS_MAX_OUTPUT_DESCRIPTION_SIZE help This option sets the maximum output description size in octets. -############# DEBUG ############# - -config BT_DEBUG_VOCS - bool "Volume Offset Control Service debug" - select DEPRECATED - help - Use this option to enable Volume Offset Control Service debug logs for - the Bluetooth Audio functionality. - -module = BT_VOCS -legacy-debug-sym = BT_DEBUG_VOCS -module-str = "Volume Offset Control Service" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_VOCS ##################### Volume Offset Control Service Client ##################### @@ -63,21 +49,3 @@ config BT_VOCS_CLIENT select EXPERIMENTAL help This hidden option enables support for Volume Offset Control Service. - -if BT_VOCS_CLIENT - -############# DEBUG ############# - -config BT_DEBUG_VOCS_CLIENT - bool "Volume Offset Control Service client debug" - select DEPRECATED - help - Use this option to enable Volume Offset Control Service client debug - logs for the Bluetooth Audio functionality. - -module = BT_VOCS_CLIENT -legacy-debug-sym = BT_DEBUG_VOCS_CLIENT -module-str = "Volume Offset Control Service client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -endif # BT_VOCS_CLIENT diff --git a/subsys/bluetooth/common/Kconfig b/subsys/bluetooth/common/Kconfig index 19a04d17182..e2d82c7f372 100644 --- a/subsys/bluetooth/common/Kconfig +++ b/subsys/bluetooth/common/Kconfig @@ -368,33 +368,3 @@ config BT_DEBUG_MONITOR_RTT_BUFFER_SIZE endif # BT_DEBUG_MONITOR_RTT endchoice # Bluetooth debug type - -if BT_DEBUG - -config BT_DEBUG_HCI_DRIVER - bool "Bluetooth HCI driver debug" - select DEPRECATED - help - This option enables debug support for the active - Bluetooth HCI driver, including the Controller-side HCI layer - when included in the build. - -module = BT_HCI_DRIVER -legacy-debug-sym = BT_DEBUG_HCI_DRIVER -module-str = "Bluetooth HCI driver" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_RPA - bool "Bluetooth Resolvable Private Address (RPA) debug" - select DEPRECATED - depends on BT_RPA - help - This option enables debug support for the Bluetooth - Resolvable Private Address (RPA) generation and resolution. - -module = BT_RPA -legacy-debug-sym = BT_DEBUG_RPA -module-str = "Bluetooth Resolvable Private Address (RPA)" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -endif # BT_DEBUG diff --git a/subsys/bluetooth/crypto/Kconfig b/subsys/bluetooth/crypto/Kconfig index 7f61037e014..ccf5a8b641b 100644 --- a/subsys/bluetooth/crypto/Kconfig +++ b/subsys/bluetooth/crypto/Kconfig @@ -8,20 +8,3 @@ config BT_CRYPTO select TINYCRYPT_AES_CMAC help This option enables the Bluetooth Cryptographic Toolbox. - -config BT_DEBUG_CRYPTO - bool "Bluetooth Cryptographic Toolbox debug" - select DEPRECATED - depends on BT_CRYPTO - help - This option enables debug log output for the Bluetooth - Cryptographic Toolbox. - - WARNING: This option prints out private security keys such as - the Long Term Key. - Use of this feature in production is strongly discouraged. - -module = BT_CRYPTO -legacy-debug-sym = BT_DEBUG_CRYPTO -module-str = "Bluetooth Cryptographic Toolbox" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index e448ecf36b3..c58a5eb0b60 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -880,17 +880,6 @@ config BT_DF_VS_CONN_IQ_REPORT_16_BITS_IQ_SAMPLES extenstion to handle connection IQ report with samples that are in 16 bit signed integer format. -config BT_DEBUG_DF - bool "Bluetooth Direction Finding debug" - select DEPRECATED - help - This option enables debug support for Bluetooth Direction Finding - -module = BT_DF -legacy-debug-sym = BT_DEBUG_DF -module-str = "Bluetooth Direction Finding" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_DF endif # BT_HCI_HOST @@ -939,55 +928,6 @@ config BT_PER_ADV_SYNC_BUF_SIZE if BT_DEBUG -config BT_DEBUG_SETTINGS - bool "Bluetooth storage debug" - select DEPRECATED - depends on BT_SETTINGS - help - This option enables debug support for Bluetooth storage. - -module = BT_SETTINGS -legacy-debug-sym = BT_DEBUG_SETTINGS -module-str = "Bluetooth storage" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_HCI_CORE - bool "Bluetooth HCI core debug" - select DEPRECATED - help - This option enables debug support for Bluetooth HCI - core. - -module = BT_HCI_CORE -legacy-debug-sym = BT_DEBUG_HCI_CORE -module-str = "Bluetooth HCI core" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_CONN - bool "Bluetooth connection debug" - select DEPRECATED - depends on BT_CONN || BT_ISO - help - This option enables debug support for Bluetooth - connection handling. - -module = BT_CONN -legacy-debug-sym = BT_DEBUG_CONN -module-str = "Bluetooth connection" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_ISO - bool "ISO channel debug" - select DEPRECATED - help - Use this option to enable ISO channels debug logs for the - Bluetooth Audio functionality. - -module = BT_ISO -legacy-debug-sym = BT_DEBUG_ISO -module-str = "ISO channel" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - config BT_DEBUG_ISO_DATA bool "ISO channel data debug" depends on BT_ISO_LOG_LEVEL_DBG @@ -996,42 +936,6 @@ config BT_DEBUG_ISO_DATA Bluetooth Audio functionality. This will enable debug logs for all ISO data received and sent. -config BT_DEBUG_KEYS - bool "Bluetooth security keys debug" - select DEPRECATED - depends on BT_HCI_HOST - depends on BT_SMP - help - This option enables debug support for the handling of - Bluetooth security keys. - - WARNING: This option prints out private security keys such as - the Long Term Key. - Use of this feature in production is strongly discouraged. - -module = BT_KEYS -legacy-debug-sym = BT_DEBUG_KEYS -module-str = "Bluetooth security keys" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_SMP - bool "Bluetooth Security Manager Protocol (SMP) debug" - select DEPRECATED - depends on BT_HCI_HOST - depends on BT_SMP - help - This option enables debug support for the Bluetooth - Security Manager Protocol (SMP). - - WARNING: This option prints out private security keys such as - the Long Term Key. - Use of this feature in production is strongly discouraged. - -module = BT_SMP -legacy-debug-sym = BT_DEBUG_SMP -module-str = "Bluetooth Security Manager Protocol" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - config BT_SMP_SELFTEST bool "Bluetooth SMP self tests executed on init" depends on BT_SMP_LOG_LEVEL_DBG @@ -1047,83 +951,6 @@ config BT_SMP_FORCE_BREDR supporting BR/EDR Secure Connections. This option is solely for testing and should never be enabled on production devices. -config BT_DEBUG_RFCOMM - bool "Bluetooth RFCOMM debug" - select DEPRECATED - depends on BT_RFCOMM - help - This option enables debug support for the Bluetooth - RFCOMM layer. - -module = BT_RFCOMM -legacy-debug-sym = BT_DEBUG_RFCOMM -module-str = "Bluetooth RFCOMM" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_HFP_HF - bool "Bluetooth Hands Free Profile (HFP) debug" - select DEPRECATED - depends on BT_HFP_HF - help - This option enables debug support for the Bluetooth - Hands Free Profile (HFP). - -module = BT_HFP_HF -legacy-debug-sym = BT_DEBUG_HFP_HF -module-str = "Bluetooth Hands Free Profile (HFP)" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_AVDTP - bool "Bluetooth AVDTP debug" - select DEPRECATED - depends on BT_AVDTP - help - This option enables debug support for the Bluetooth AVDTP. - -module = BT_AVDTP -legacy-debug-sym = BT_DEBUG_AVDTP -module-str = "Bluetooth AVDTP debug" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_A2DP - bool "Bluetooth A2DP debug" - select DEPRECATED - depends on BT_A2DP - help - This option enables debug support for the Bluetooth - A2DP profile. - -module = BT_A2DP -legacy-debug-sym = BT_DEBUG_A2DP -module-str = "Bluetooth A2DP" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_SDP - bool "Bluetooth Service Discovery Protocol (SDP) debug" - select DEPRECATED - depends on BT_BREDR - help - This option enables debug support for the Bluetooth - Service Discovery Protocol (SDP). - -module = BT_SDP -legacy-debug-sym = BT_DEBUG_SDP -module-str = "Bluetooth Service Discovery Protocol (SDP)" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_SERVICE - bool "Bluetooth Services debug" - select DEPRECATED - depends on BT_CONN - help - This option enables debug support for the Bluetooth - Services. - -module = BT_SERVICE -legacy-debug-sym = BT_DEBUG_SERVICE -module-str = "Bluetooth Services" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_DEBUG config BT_LOG_SNIFFER_INFO diff --git a/subsys/bluetooth/host/Kconfig.gatt b/subsys/bluetooth/host/Kconfig.gatt index 13e61c8539a..d3cf7146db3 100644 --- a/subsys/bluetooth/host/Kconfig.gatt +++ b/subsys/bluetooth/host/Kconfig.gatt @@ -276,32 +276,4 @@ config DEVICE_NAME_GATT_WRITABLE_AUTHEN endif #BT_DEVICE_NAME_GATT_WRITABLE -if BT_DEBUG - -config BT_DEBUG_ATT - bool "Bluetooth Attribute Protocol (ATT) debug" - select DEPRECATED - help - This option enables debug support for the Bluetooth - Attribute Protocol (ATT). - -module = BT_ATT -legacy-debug-sym = BT_DEBUG_ATT -module-str = "Bluetooth Attribute Protocol (ATT)" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_DEBUG_GATT - bool "Bluetooth Generic Attribute Profile (GATT) debug" - select DEPRECATED - help - This option enables debug support for the Bluetooth - Generic Attribute Profile (GATT). - -module = BT_GATT -legacy-debug-sym = BT_DEBUG_GATT -module-str = "Bluetooth Generic Attribute Profile (GATT)" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -endif # BT_DEBUG - endmenu diff --git a/subsys/bluetooth/host/Kconfig.l2cap b/subsys/bluetooth/host/Kconfig.l2cap index f582e1838f3..2d172595ad9 100644 --- a/subsys/bluetooth/host/Kconfig.l2cap +++ b/subsys/bluetooth/host/Kconfig.l2cap @@ -58,17 +58,4 @@ config BT_L2CAP_ECRED This option enables support for LE Connection oriented Channels with Enhanced Credit Based Flow Control support on dynamic L2CAP Channels. -config BT_DEBUG_L2CAP - bool "Bluetooth L2CAP debug" - select DEPRECATED - depends on BT_DEBUG - help - This option enables debug support for the Bluetooth - L2ACP layer. - -module = BT_L2CAP -legacy-debug-sym = BT_DEBUG_L2CAP -module-str = "Bluetooth L2CAP" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endmenu diff --git a/subsys/bluetooth/lib/Kconfig b/subsys/bluetooth/lib/Kconfig index d5c1cf07306..15cfa142b13 100644 --- a/subsys/bluetooth/lib/Kconfig +++ b/subsys/bluetooth/lib/Kconfig @@ -7,8 +7,3 @@ config BT_EAD select BT_HOST_CCM help Enable the Encrypted Advertising Data library - -parent-module = BT -module = BT_EAD -module-str = "Bluetooth Encrypted Advertising Data" -source "subsys/logging/Kconfig.template.log_config_inherit" diff --git a/subsys/bluetooth/mesh/Kconfig b/subsys/bluetooth/mesh/Kconfig index 701dd055edf..edec033bce0 100644 --- a/subsys/bluetooth/mesh/Kconfig +++ b/subsys/bluetooth/mesh/Kconfig @@ -1551,19 +1551,6 @@ config BT_MESH_SEQ_STORE_RATE endif # BT_SETTINGS -config BT_MESH_DEBUG - bool "Debug logs" - select DEPRECATED - depends on BT_DEBUG - help - Use this option to enable debug logs for the Bluetooth - Mesh functionality. - -module = BT_MESH -legacy-debug-sym = BT_MESH_DEBUG -module-str = "Debug logs" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - if BT_MESH_LOG_LEVEL_DBG config BT_MESH_DEBUG_USE_ID_ADDR @@ -1574,226 +1561,6 @@ config BT_MESH_DEBUG_USE_ID_ADDR traces), however it should never be enabled for a production build as it compromises the privacy of the device. -config BT_MESH_DEBUG_NET - bool "Network layer debug" - select DEPRECATED - help - Use this option to enable Network layer debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_NET -legacy-debug-sym = BT_MESH_DEBUG_NET -module-str = "Network layer" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_RPL - bool "Replay protection list debug" - select DEPRECATED - help - Use this option to enable Replay protection list debug logs - for the Bluetooth mesh functionality. - -module = BT_MESH_RPL -legacy-debug-sym = BT_MESH_DEBUG_RPL -module-str = "Replay protection list" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_TRANS - bool "Transport layer debug" - select DEPRECATED - help - Use this option to enable Transport layer debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_TRANS -legacy-debug-sym = BT_MESH_DEBUG_TRANS -module-str = "Transport layer" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_BEACON - bool "Beacon debug" - select DEPRECATED - help - Use this option to enable Beacon-related debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_BEACON -legacy-debug-sym = BT_MESH_DEBUG_BEACON -module-str = "Beacon" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_CRYPTO - bool "Crypto debug" - select DEPRECATED - help - Use this option to enable cryptographic debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_CRYPTO -legacy-debug-sym = BT_MESH_DEBUG_CRYPTO -module-str = "Crypto" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_KEYS - bool "Key management debug" - select DEPRECATED - help - Use this option to enable key management debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_KEYS -legacy-debug-sym = BT_MESH_DEBUG_KEYS -module-str = "Key management" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_PROV - bool "Provisioning debug" - select DEPRECATED - help - Use this option to enable Provisioning debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_PROV -legacy-debug-sym = BT_MESH_DEBUG_PROV -module-str = "Provisioning" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_PROVISIONER - bool "Provisioner debug" - select DEPRECATED - help - Use this option to enable Provisioner debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_PROVISIONER -legacy-debug-sym = BT_MESH_DEBUG_PROVISIONER -module-str = "Provisioner" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_PROV_DEVICE - bool "Provisioning device debug" - select DEPRECATED - help - Use this option to enable Provisioning device debug logs for the - Bluetooth Mesh functionality. - -module = BT_MESH_PROV_DEVICE -legacy-debug-sym = BT_MESH_DEBUG_PROV_DEVICE -module-str = "Provisioning device" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_ACCESS - bool "Access layer debug" - select DEPRECATED - help - Use this option to enable Access layer and device composition - related debug logs for Bluetooth mesh. - -module = BT_MESH_ACCESS -legacy-debug-sym = BT_MESH_DEBUG_ACCESS -module-str = "Access layer" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_MODEL - bool "Foundation model debug" - select DEPRECATED - help - Use this option to enable debug logs for the Foundation - Models. - -module = BT_MESH_MODEL -legacy-debug-sym = BT_MESH_DEBUG_MODEL -module-str = "Foundation model" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -module = BT_MESH_DFU -module-str = "DFU model" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_ADV - bool "Advertising debug" - select DEPRECATED - help - Use this option to enable advertising debug logs for - the Bluetooth mesh functionality. - -module = BT_MESH_ADV -legacy-debug-sym = BT_MESH_DEBUG_ADV -module-str = "Advertising" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_LOW_POWER - bool "Low Power debug" - select DEPRECATED - help - Use this option to enable Low Power debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_LOW_POWER -legacy-debug-sym = BT_MESH_DEBUG_LOW_POWER -module-str = "Low Power" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_FRIEND - bool "Friend debug" - select DEPRECATED - help - Use this option to enable Friend debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_FRIEND -legacy-debug-sym = BT_MESH_DEBUG_FRIEND -module-str = "Friend" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_PROXY - bool "Proxy debug" - select DEPRECATED - depends on BT_MESH_GATT - help - Use this option to enable Proxy protocol debug logs. - -module = BT_MESH_PROXY -legacy-debug-sym = BT_MESH_DEBUG_PROXY -module-str = "Proxy" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_SETTINGS - bool "Persistent settings debug" - select DEPRECATED - depends on BT_SETTINGS - help - Use this option to enable persistent settings debug logs. - -module = BT_MESH_SETTINGS -legacy-debug-sym = BT_MESH_DEBUG_SETTINGS -module-str = "Persistent settings" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_CDB - bool "Configuration database debug" - select DEPRECATED - depends on BT_MESH_CDB - help - Use this option to enable configuration database debug logs. - -module = BT_MESH_CDB -legacy-debug-sym = BT_MESH_DEBUG_CDB -module-str = "Configuration database" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -config BT_MESH_DEBUG_CFG - bool "Configuration debug" - select DEPRECATED - help - Use this option to enable node configuration debug logs for the - Bluetooth mesh functionality. - -module = BT_MESH_CFG -legacy-debug-sym = BT_MESH_DEBUG_CFG -module-str = "Configuration" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - endif # BT_MESH_LOG_LEVEL_DBG endif # BT_MESH diff --git a/subsys/bluetooth/services/Kconfig.bas b/subsys/bluetooth/services/Kconfig.bas index 56477900c4d..3a8789aad93 100644 --- a/subsys/bluetooth/services/Kconfig.bas +++ b/subsys/bluetooth/services/Kconfig.bas @@ -3,14 +3,6 @@ # Copyright (c) 2018 Nordic Semiconductor ASA # SPDX-License-Identifier: Apache-2.0 -menuconfig BT_BAS +config BT_BAS bool "GATT Battery service" select SENSOR - -if BT_BAS - -module = BT_BAS -module-str = BAS -source "subsys/logging/Kconfig.template.log_config" - -endif # BT_BAS diff --git a/subsys/bluetooth/services/Kconfig.hrs b/subsys/bluetooth/services/Kconfig.hrs index a624ea95805..7f494e76a8c 100644 --- a/subsys/bluetooth/services/Kconfig.hrs +++ b/subsys/bluetooth/services/Kconfig.hrs @@ -27,8 +27,4 @@ config BT_HRS_DEFAULT_PERM_RW_AUTHEN endchoice -module = BT_HRS -module-str = HRS -source "subsys/logging/Kconfig.template.log_config" - endif # BT_HRS diff --git a/subsys/bluetooth/services/Kconfig.tps b/subsys/bluetooth/services/Kconfig.tps index 4ad4b9069ce..363e2cfc948 100644 --- a/subsys/bluetooth/services/Kconfig.tps +++ b/subsys/bluetooth/services/Kconfig.tps @@ -3,13 +3,5 @@ # Copyright (c) 2020 Nordic Semiconductor ASA # SPDX-License-Identifier: Apache-2.0 -menuconfig BT_TPS +config BT_TPS bool "GATT TX Power service" - -if BT_TPS - -module = BT_TPS -module-str = TPS -source "subsys/logging/Kconfig.template.log_config" - -endif # BT_TPS diff --git a/subsys/bluetooth/services/ias/Kconfig.ias b/subsys/bluetooth/services/ias/Kconfig.ias index 6e4d1519ec9..2894fe8ffe2 100644 --- a/subsys/bluetooth/services/ias/Kconfig.ias +++ b/subsys/bluetooth/services/ias/Kconfig.ias @@ -36,19 +36,3 @@ config BT_IAS_CLIENT select EXPERIMENTAL help This option enables support for Immediate Alert Service Client - -config BT_DEBUG_IAS_CLIENT - bool "Immediate Alert Service Client debug" - select DEPRECATED - depends on BT_IAS_CLIENT - help - This option enables enables Immediate Alert Service Client debug logs. - -module = BT_IAS_CLIENT -legacy-debug-sym = BT_DEBUG_IAS_CLIENT -module-str = "Immediate Alert Service Client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -module = BT_IAS -module-str = IAS -source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" diff --git a/subsys/bluetooth/services/ots/Kconfig b/subsys/bluetooth/services/ots/Kconfig index 25dd5faae46..294013303c4 100644 --- a/subsys/bluetooth/services/ots/Kconfig +++ b/subsys/bluetooth/services/ots/Kconfig @@ -78,24 +78,6 @@ config BT_OTS_CLIENT help This option enables support for the Object Transfer Service Client. -if BT_OTS_CLIENT - -# TODO: Unify logging for OTS server and client - the client uses -# "BT" debugging, the server does not. - -config BT_DEBUG_OTS_CLIENT - bool "Object Transfer Service Client debug" - select DEPRECATED - help - Use this option to enable Object Transfer Client debug logs - -module = BT_OTS_CLIENT -legacy-debug-sym = BT_DEBUG_OTS_CLIENT -module-str = "Object Transfer Service Client" -source "subsys/bluetooth/common/Kconfig.template.log_config_bt" - -endif # BT_OTS_CLIENT - if BT_OTS || BT_OTS_CLIENT config BT_OTS_MAX_OBJ_CNT @@ -127,8 +109,4 @@ config BT_OTS_OBJ_MAX_NAME_LEN default 120 range 1 120 -module = BT_OTS -module-str = BT_OTS -source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config" - endif # BT_OTS || BT_OTS_CLIENT