Bluetooth: Allow to enable debugs without connection support

BLUETOOTH_DEBUG and BLUETOOTH_DEBUG_HCI_CORE options are also useful
for Broadcaster and Observer roles and should not depends on connection
support.

Change-Id: Ice1142f3dcc5d73e5460449cc1444a1345eb624a
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-10-29 10:02:23 +01:00 committed by Anas Nashif
commit c84d05a3fe

View file

@ -40,6 +40,24 @@ config BLUETOOTH_CENTRAL
default n
select BLUETOOTH_CONN
config BLUETOOTH_DEBUG
bool
prompt "Bluetooth LE debug support"
select STDOUT_CONSOLE
default n
help
This option enables Bluetooth debug going to standard
serial console.
config BLUETOOTH_DEBUG_HCI_CORE
bool
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG
default n
help
This option enables debug support for Bluetooth HCI
core.
if BLUETOOTH_PERIPHERAL || BLUETOOTH_CENTRAL
config BLUETOOTH_SMP
bool
@ -85,25 +103,6 @@ config BLUETOOTH_MAX_PAIRED
Maximum number of paired Bluetooth devices. The minimum (and
default) number is 1.
config BLUETOOTH_DEBUG
bool
prompt "Bluetooth LE debug support"
depends on BLUETOOTH
select STDOUT_CONSOLE
default n
help
This option enables Bluetooth debug going to standard
serial console.
config BLUETOOTH_DEBUG_HCI_CORE
bool
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG
default n
help
This option enables debug support for Bluetooth HCI
core
config BLUETOOTH_DEBUG_CONN
bool
prompt "Bluetooth connection debug"