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:
parent
ea513bb569
commit
c84d05a3fe
1 changed files with 18 additions and 19 deletions
|
@ -40,6 +40,24 @@ config BLUETOOTH_CENTRAL
|
||||||
default n
|
default n
|
||||||
select BLUETOOTH_CONN
|
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
|
if BLUETOOTH_PERIPHERAL || BLUETOOTH_CENTRAL
|
||||||
config BLUETOOTH_SMP
|
config BLUETOOTH_SMP
|
||||||
bool
|
bool
|
||||||
|
@ -85,25 +103,6 @@ config BLUETOOTH_MAX_PAIRED
|
||||||
Maximum number of paired Bluetooth devices. The minimum (and
|
Maximum number of paired Bluetooth devices. The minimum (and
|
||||||
default) number is 1.
|
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
|
config BLUETOOTH_DEBUG_CONN
|
||||||
bool
|
bool
|
||||||
prompt "Bluetooth connection debug"
|
prompt "Bluetooth connection debug"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue