Bluetooth: Clean up Kconfig

Clean up Kconfig conventions.

Change-Id: I06df0b6363cd2dab72e93456455aaef219340e4d
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2015-10-29 13:59:54 +02:00 committed by Anas Nashif
commit fc6b853211
2 changed files with 20 additions and 38 deletions

View file

@ -23,8 +23,7 @@ menu "Bluetooth UART Options"
depends on BLUETOOTH depends on BLUETOOTH
config BLUETOOTH_UART config BLUETOOTH_UART
bool bool "Bluetooth UART driver"
prompt "Bluetooth UART driver"
depends on BLUETOOTH depends on BLUETOOTH
select UART_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
default n default n
@ -32,8 +31,7 @@ config BLUETOOTH_UART
Enable Bluetooth UART driver. Enable Bluetooth UART driver.
config BLUETOOTH_DEBUG_UART config BLUETOOTH_DEBUG_UART
bool bool "Bluetooth UART driver debug"
prompt "Bluetooth UART driver debug"
depends on BLUETOOTH_DEBUG && BLUETOOTH_UART depends on BLUETOOTH_DEBUG && BLUETOOTH_UART
default n default n
help help

View file

@ -17,8 +17,7 @@
# #
menuconfig BLUETOOTH menuconfig BLUETOOTH
bool bool "Bluetooth LE support"
prompt "Bluetooth LE support"
default n default n
select NANO_TIMEOUTS select NANO_TIMEOUTS
select NET_BUF select NET_BUF
@ -41,8 +40,7 @@ config BLUETOOTH_CENTRAL
select BLUETOOTH_CONN select BLUETOOTH_CONN
config BLUETOOTH_DEBUG config BLUETOOTH_DEBUG
bool bool "Bluetooth LE debug support"
prompt "Bluetooth LE debug support"
select STDOUT_CONSOLE select STDOUT_CONSOLE
default n default n
help help
@ -50,8 +48,7 @@ config BLUETOOTH_DEBUG
serial console. serial console.
config BLUETOOTH_DEBUG_HCI_CORE config BLUETOOTH_DEBUG_HCI_CORE
bool bool "Bluetooth HCI core debug"
prompt "Bluetooth HCI core debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
@ -60,18 +57,15 @@ config BLUETOOTH_DEBUG_HCI_CORE
if BLUETOOTH_PERIPHERAL || BLUETOOTH_CENTRAL if BLUETOOTH_PERIPHERAL || BLUETOOTH_CENTRAL
config BLUETOOTH_SMP config BLUETOOTH_SMP
bool bool "Security Manager Protocol support"
prompt "Security Manager Protocol support"
default n default n
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL
bool bool "L2CAP Dynamic Channel support"
prompt "L2CAP Dynamic Channel support"
default n default n
config BLUETOOTH_SIGNING config BLUETOOTH_SIGNING
bool bool "Data signing support"
prompt "Data signing support"
default n default n
depends on BLUETOOTH_SMP depends on BLUETOOTH_SMP
help help
@ -79,13 +73,11 @@ config BLUETOOTH_SIGNING
authenticated data in an unencrypted connection. authenticated data in an unencrypted connection.
config BLUETOOTH_GATT_CLIENT config BLUETOOTH_GATT_CLIENT
bool bool "GATT client support"
prompt "GATT client support"
default n default n
config BLUETOOTH_MAX_CONN config BLUETOOTH_MAX_CONN
int int "Maximum number of simultaneous connections"
prompt "Maximum number of simultaneous connections"
depends on BLUETOOTH_CONN depends on BLUETOOTH_CONN
default 1 default 1
range 1 16 range 1 16
@ -94,8 +86,7 @@ config BLUETOOTH_MAX_CONN
supported. The minimum (and default) number is 1. supported. The minimum (and default) number is 1.
config BLUETOOTH_MAX_PAIRED config BLUETOOTH_MAX_PAIRED
int int "Maximum number of paired devices"
prompt "Maximum number of paired devices"
depends on BLUETOOTH_CONN depends on BLUETOOTH_CONN
default 1 default 1
range 1 32 range 1 32
@ -104,8 +95,7 @@ config BLUETOOTH_MAX_PAIRED
default) number is 1. default) number is 1.
config BLUETOOTH_DEBUG_CONN config BLUETOOTH_DEBUG_CONN
bool bool "Bluetooth connection debug"
prompt "Bluetooth connection debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
@ -113,8 +103,7 @@ config BLUETOOTH_DEBUG_CONN
connection handling. connection handling.
config BLUETOOTH_DEBUG_KEYS config BLUETOOTH_DEBUG_KEYS
bool bool "Bluetooth security keys debug"
prompt "Bluetooth security keys debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
@ -122,8 +111,7 @@ config BLUETOOTH_DEBUG_KEYS
Bluetooth security keys. Bluetooth security keys.
config BLUETOOTH_DEBUG_L2CAP config BLUETOOTH_DEBUG_L2CAP
bool bool "Bluetooth L2CAP debug"
prompt "Bluetooth L2CAP debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
@ -131,8 +119,7 @@ config BLUETOOTH_DEBUG_L2CAP
L2ACP layer. L2ACP layer.
config BLUETOOTH_DEBUG_SMP config BLUETOOTH_DEBUG_SMP
bool bool "Bluetooth Security Manager Protocol (SMP) debug"
prompt "Bluetooth Security Manager Protocol (SMP) debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
@ -140,8 +127,7 @@ config BLUETOOTH_DEBUG_SMP
Security Manager Protocol (SMP). Security Manager Protocol (SMP).
config BLUETOOTH_SMP_SELFTEST config BLUETOOTH_SMP_SELFTEST
bool bool "Bluetooth SMP self tests executed on init"
prompt "Bluetooth SMP self tests executed on init"
depends on BLUETOOTH_DEBUG_SMP depends on BLUETOOTH_DEBUG_SMP
default n default n
help help
@ -149,8 +135,7 @@ config BLUETOOTH_SMP_SELFTEST
to verify security and crypto functions. to verify security and crypto functions.
config BLUETOOTH_DEBUG_ATT config BLUETOOTH_DEBUG_ATT
bool bool "Bluetooth Attribute Protocol (ATT) debug"
prompt "Bluetooth Attribute Protocol (ATT) debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
@ -158,12 +143,11 @@ config BLUETOOTH_DEBUG_ATT
Attribute Protocol (ATT). Attribute Protocol (ATT).
config BLUETOOTH_DEBUG_GATT config BLUETOOTH_DEBUG_GATT
bool bool "Bluetooth Generic Attribute Profile (GATT) debug"
prompt "Bluetooth Generic Attribute Profile (GATT) debug"
depends on BLUETOOTH_DEBUG depends on BLUETOOTH_DEBUG
default n default n
help help
This option enables debug support for the Bluetooth This option enables debug support for the Bluetooth
Generic Attribute Profile (GATT). Generic Attribute Profile (GATT).
endif endif # BLUETOOTH_PERIPHERAL || BLUETOOTH_CENTRAL
endif endif # BLUETOOTH