2015-05-21 00:40:39 +08:00
|
|
|
# Kconfig - Bluetooth LE stack configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions are met:
|
|
|
|
#
|
|
|
|
# 1) Redistributions of source code must retain the above copyright notice,
|
|
|
|
# this list of conditions and the following disclaimer.
|
|
|
|
#
|
|
|
|
# 2) Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
# this list of conditions and the following disclaimer in the documentation
|
|
|
|
# and/or other materials provided with the distribution.
|
|
|
|
#
|
|
|
|
# 3) Neither the name of Intel Corporation nor the names of its contributors
|
|
|
|
# may be used to endorse or promote products derived from this software without
|
|
|
|
# specific prior written permission.
|
|
|
|
#
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
|
|
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
#
|
2015-05-16 06:46:02 +08:00
|
|
|
|
2015-09-03 16:26:04 +08:00
|
|
|
menuconfig BLUETOOTH
|
2015-05-13 02:20:42 +08:00
|
|
|
bool
|
2015-09-18 04:33:11 +08:00
|
|
|
prompt "Bluetooth LE support"
|
2015-05-13 02:20:42 +08:00
|
|
|
default n
|
2015-07-17 19:11:53 +08:00
|
|
|
select NANO_TIMEOUTS
|
2015-05-13 02:20:42 +08:00
|
|
|
help
|
|
|
|
This option enables Bluetooth Low Energy support.
|
|
|
|
|
2015-09-03 16:26:04 +08:00
|
|
|
if BLUETOOTH
|
2015-05-27 05:20:05 +08:00
|
|
|
config BLUETOOTH_MAX_CONN
|
|
|
|
int
|
|
|
|
prompt "Maximum number of simultaneous connections"
|
|
|
|
depends on BLUETOOTH
|
|
|
|
default 1
|
|
|
|
range 1 16
|
|
|
|
help
|
|
|
|
Maximum number of simultaneous Bluetooth connections
|
|
|
|
supported. The minimum (and default) number is 1.
|
|
|
|
|
|
|
|
config BLUETOOTH_MAX_PAIRED
|
|
|
|
int
|
|
|
|
prompt "Maximum number of paired devices"
|
|
|
|
depends on BLUETOOTH
|
|
|
|
default 1
|
|
|
|
range 1 32
|
|
|
|
help
|
|
|
|
Maximum number of paired Bluetooth devices. The minimum (and
|
|
|
|
default) number is 1.
|
|
|
|
|
2015-05-13 02:20:42 +08:00
|
|
|
config BLUETOOTH_DEBUG
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth LE debug support"
|
|
|
|
depends on BLUETOOTH
|
2015-05-27 05:20:05 +08:00
|
|
|
select STDOUT_CONSOLE
|
2015-05-13 02:20:42 +08:00
|
|
|
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
|
2015-05-16 06:46:02 +08:00
|
|
|
|
|
|
|
config BLUETOOTH_DEBUG_BUF
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth buffers debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for Bluetooth buffers.
|
|
|
|
|
|
|
|
config BLUETOOTH_DEBUG_CONN
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth connection debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for Bluetooth
|
|
|
|
connection handling.
|
|
|
|
|
2015-06-30 15:47:53 +08:00
|
|
|
config BLUETOOTH_DEBUG_KEYS
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth security keys debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the handling of
|
|
|
|
Bluetooth security keys.
|
|
|
|
|
2015-05-16 06:46:02 +08:00
|
|
|
config BLUETOOTH_DEBUG_L2CAP
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth L2CAP debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
L2ACP layer.
|
|
|
|
|
|
|
|
config BLUETOOTH_DEBUG_SMP
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth Security Manager Protocol (SMP) debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
Security Manager Protocol (SMP).
|
|
|
|
|
2015-08-12 19:55:09 +08:00
|
|
|
config BLUETOOTH_SMP_SELFTEST
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth SMP self tests executed on init"
|
|
|
|
depends on BLUETOOTH_DEBUG_SMP
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables SMP self-tests executed on startup
|
|
|
|
to verify security and crypto functions.
|
|
|
|
|
2015-05-16 06:46:02 +08:00
|
|
|
config BLUETOOTH_DEBUG_ATT
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth Attribute Protocol (ATT) debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
Attribute Protocol (ATT).
|
|
|
|
|
2015-05-27 05:20:05 +08:00
|
|
|
config BLUETOOTH_DEBUG_GATT
|
|
|
|
bool
|
|
|
|
prompt "Bluetooth Generic Attribute Profile (GATT) debug"
|
|
|
|
depends on BLUETOOTH_DEBUG
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
Generic Attribute Profile (GATT).
|
2015-09-03 16:26:04 +08:00
|
|
|
endif
|