Skip to content

Commit ebf9a59

Browse files
alxelaxcfriedt
authored andcommitted
Bluetooth: Mesh: split debug for prov and prov_device
Debug configuration for prov and prov_device has been split since prov general modul and it is used for provisioner as well. It is not necessary to enable prov_device debugging to debug provisioner. Signed-off-by: Aleksandr Khromykh <[email protected]>
1 parent fb90efe commit ebf9a59

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,12 @@ config BT_MESH_DEBUG_PROVISIONER
842842
Use this option to enable Provisioner debug logs for the
843843
Bluetooth mesh functionality.
844844

845+
config BT_MESH_DEBUG_PROV_DEVICE
846+
bool "Provisioning device debug"
847+
help
848+
Use this option to enable Provisioning device debug logs for the
849+
Bluetooth Mesh functionality.
850+
845851
config BT_MESH_DEBUG_ACCESS
846852
bool "Access layer debug"
847853
help

subsys/bluetooth/mesh/prov_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <bluetooth/mesh.h>
2222
#include <bluetooth/uuid.h>
2323

24-
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_MESH_DEBUG_PROV)
24+
#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BT_MESH_DEBUG_PROV_DEVICE)
2525
#define LOG_MODULE_NAME bt_mesh_prov_device
2626
#include "common/log.h"
2727

0 commit comments

Comments
 (0)