2015-05-20 11:40:39 -05:00
|
|
|
# Kconfig - Bluetooth LE stack configuration options
|
|
|
|
|
|
|
|
#
|
2016-06-10 12:10:18 +03:00
|
|
|
# Copyright (c) 2015-2016 Intel Corporation
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
2015-10-06 11:00:37 -05:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
2015-10-06 11:00:37 -05:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
2015-10-06 11:00:37 -05:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
2015-05-20 11:40:39 -05:00
|
|
|
#
|
2015-05-15 18:46:02 -04:00
|
|
|
|
2015-09-03 10:26:04 +02:00
|
|
|
menuconfig BLUETOOTH
|
2015-11-11 20:40:49 +01:00
|
|
|
bool "Bluetooth support"
|
2015-05-12 13:20:42 -05:00
|
|
|
default n
|
2015-07-17 13:11:53 +02:00
|
|
|
select NANO_TIMEOUTS
|
2015-10-07 18:32:54 +03:00
|
|
|
select NET_BUF
|
2015-05-12 13:20:42 -05:00
|
|
|
help
|
2015-11-11 20:40:49 +01:00
|
|
|
This option enables Bluetooth support.
|
2015-05-12 13:20:42 -05:00
|
|
|
|
2016-06-06 13:07:06 +03:00
|
|
|
if BLUETOOTH
|
|
|
|
|
2016-03-16 13:05:56 -07:00
|
|
|
choice
|
|
|
|
prompt "Bluetooth Stack Selection"
|
|
|
|
default BLUETOOTH_STACK_HCI
|
|
|
|
help
|
|
|
|
Select the Bluetooth stack to compile.
|
|
|
|
|
|
|
|
config BLUETOOTH_STACK_HCI
|
|
|
|
bool "HCI Stack"
|
|
|
|
help
|
|
|
|
Select the Bluetooth stack to use with HCI drivers.
|
|
|
|
|
|
|
|
config BLUETOOTH_STACK_NBLE
|
|
|
|
bool "Nordic BLE Stack"
|
|
|
|
help
|
|
|
|
Select the Bluetooth stack to use with Nordic BLE drivers.
|
|
|
|
|
2016-08-09 11:13:52 +03:00
|
|
|
config BLUETOOTH_STACK_HCI_RAW
|
|
|
|
bool "Bluetooth RAW HCI access to the controller"
|
|
|
|
help
|
|
|
|
This option allows to access Bluetooth controller
|
|
|
|
from the application with the RAW HCI protocol.
|
|
|
|
|
2016-03-16 13:05:56 -07:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
comment "HCI Stack Configurations"
|
|
|
|
depends on BLUETOOTH_STACK_HCI
|
|
|
|
|
2015-11-11 20:40:49 +01:00
|
|
|
config BLUETOOTH_LE
|
|
|
|
bool "Bluetooth Low Energy (LE) support"
|
2016-08-10 16:51:20 +03:00
|
|
|
default y
|
2016-02-09 11:17:02 +01:00
|
|
|
select TINYCRYPT
|
|
|
|
select TINYCRYPT_AES if BLUETOOTH_SMP
|
2016-02-11 14:38:32 +01:00
|
|
|
select TINYCRYPT_AES_CMAC if BLUETOOTH_SMP
|
2016-02-09 11:17:02 +01:00
|
|
|
select TINYCRYPT_SHA256
|
|
|
|
select TINYCRYPT_SHA256_HMAC
|
|
|
|
select TINYCRYPT_SHA256_HMAC_PRNG
|
2016-03-16 13:05:56 -07:00
|
|
|
depends on BLUETOOTH_STACK_HCI
|
2016-02-09 11:17:02 +01:00
|
|
|
help
|
2016-02-11 14:38:32 +01:00
|
|
|
This option enables Bluetooth Low Energy (LE) support.
|
|
|
|
Currently it is mandatory whenever Bluetooth support
|
|
|
|
(CONFIG_BLUETOOTH) is enabled.
|
2016-02-09 11:17:02 +01:00
|
|
|
|
2016-08-09 11:13:52 +03:00
|
|
|
if BLUETOOTH_LE || BLUETOOTH_STACK_HCI_RAW
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_HCI_CMD_COUNT
|
2015-10-29 16:58:18 +02:00
|
|
|
int "Number of HCI command buffers"
|
|
|
|
default 2
|
2015-10-29 14:45:02 +02:00
|
|
|
range 2 64
|
|
|
|
help
|
2015-10-29 16:58:18 +02:00
|
|
|
Number of buffers available for HCI commands.
|
2015-10-29 14:45:02 +02:00
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_MAX_CMD_LEN
|
2015-11-06 12:44:40 +02:00
|
|
|
int "Maximum supported HCI command length"
|
|
|
|
default 64
|
2016-08-09 10:06:41 +02:00
|
|
|
default 255 if BLUETOOTH_BREDR
|
2015-11-06 12:44:40 +02:00
|
|
|
range 64 255
|
2016-08-09 10:06:41 +02:00
|
|
|
range 255 255 if BLUETOOTH_BREDR
|
2015-10-29 14:45:02 +02:00
|
|
|
help
|
2015-11-06 12:44:40 +02:00
|
|
|
Maximum length of each HCI command.
|
2015-10-29 16:58:18 +02:00
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_HCI_EVT_COUNT
|
2015-10-29 16:58:18 +02:00
|
|
|
int "Number of HCI event buffers"
|
2015-11-13 17:38:03 +02:00
|
|
|
default 8 if BLUETOOTH_CONN
|
2016-03-25 14:30:50 -07:00
|
|
|
default 4 if !BLUETOOTH_CONN
|
2015-10-29 16:58:18 +02:00
|
|
|
range 2 64
|
|
|
|
help
|
|
|
|
Number of buffers available for HCI events. This number should
|
2015-11-06 22:04:17 +02:00
|
|
|
ideally be at least as large as the available outgoing buffers
|
|
|
|
to make sure we've got enough buffers to handle bursts of
|
|
|
|
Number of Completed Packets HCI events.
|
2015-10-29 16:58:18 +02:00
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_MAX_EVT_LEN
|
2015-11-06 12:44:40 +02:00
|
|
|
int "Maximum supported HCI event length"
|
2016-03-10 11:53:05 +01:00
|
|
|
default 68 if !BLUETOOTH_BREDR
|
|
|
|
default 255 if BLUETOOTH_BREDR
|
2015-11-06 12:44:40 +02:00
|
|
|
range 68 255
|
2015-10-29 16:58:18 +02:00
|
|
|
help
|
2015-11-06 12:44:40 +02:00
|
|
|
Maximum size of each HCI event buffer. E.g. one big event
|
|
|
|
for LE is the Command Complete for Read Local Supported
|
|
|
|
Commands. It is a 3 byte Command Complete header + 65 byte
|
|
|
|
return parameters = 68 bytes in total.
|
2016-08-09 11:13:52 +03:00
|
|
|
endif # BLUETOOTH_LE || BLUETOOTH_STACK_HCI_RAW
|
|
|
|
|
|
|
|
if (BLUETOOTH_LE && BLUETOOTH_CONN) || BLUETOOTH_STACK_HCI_RAW
|
|
|
|
config BLUETOOTH_ACL_IN_COUNT
|
|
|
|
int "Number of incoming ACL data buffers"
|
|
|
|
default 5
|
|
|
|
range 2 64
|
|
|
|
help
|
|
|
|
Number of buffers available for incoming ACL data.
|
|
|
|
|
|
|
|
config BLUETOOTH_L2CAP_IN_MTU
|
|
|
|
int "Maximum supported L2CAP MTU for incoming data"
|
|
|
|
default 65 if BLUETOOTH_SMP
|
|
|
|
default 23 if !BLUETOOTH_SMP
|
|
|
|
range 65 1300 if BLUETOOTH_SMP
|
|
|
|
range 23 1300 if !BLUETOOTH_SMP
|
|
|
|
help
|
|
|
|
Maximum size of each incoming L2CAP PDU.
|
|
|
|
endif # BLUETOOTH_LE && BLUETOOTH_CONN || BLUETOOTH_STACK_HCI_RAW
|
2015-10-29 14:45:02 +02:00
|
|
|
|
2016-08-09 11:13:52 +03:00
|
|
|
if BLUETOOTH_LE
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_RX_STACK_SIZE
|
2016-02-12 12:59:55 +02:00
|
|
|
int "Size of the receiving fiber stack"
|
|
|
|
default 1024
|
|
|
|
range 1024 65536
|
|
|
|
help
|
|
|
|
Size of the receiving fiber stack. This is the context from
|
|
|
|
which all event callbacks to the application occur. The
|
|
|
|
default value is sufficient for basic operation, but if the
|
|
|
|
application needs to do advanced things in its callbacks that
|
|
|
|
require extra stack space, this value can be increased to
|
|
|
|
accomodate for that.
|
|
|
|
|
2015-11-06 21:57:58 +02:00
|
|
|
config BLUETOOTH_PERIPHERAL
|
|
|
|
bool "Peripheral Role support"
|
|
|
|
default n
|
|
|
|
select BLUETOOTH_CONN
|
2015-11-06 22:22:33 +02:00
|
|
|
help
|
|
|
|
Select this for LE Peripheral role support.
|
2015-11-06 21:57:58 +02:00
|
|
|
|
|
|
|
config BLUETOOTH_CENTRAL
|
|
|
|
bool "Central Role support"
|
|
|
|
default n
|
|
|
|
select BLUETOOTH_CONN
|
2015-11-06 22:22:33 +02:00
|
|
|
help
|
|
|
|
Select this for LE Central role support.
|
2015-11-06 21:57:58 +02:00
|
|
|
|
|
|
|
config BLUETOOTH_CONN
|
|
|
|
bool
|
2016-04-13 15:41:23 +03:00
|
|
|
select NANO_WORKQUEUE
|
|
|
|
select SYSTEM_WORKQUEUE
|
2015-11-06 21:57:58 +02:00
|
|
|
default n
|
|
|
|
|
2015-10-29 14:45:02 +02:00
|
|
|
if BLUETOOTH_CONN
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_ATT_MTU
|
2015-11-06 12:19:26 +02:00
|
|
|
int "Attribute Protocol (ATT) channel MTU"
|
2015-11-06 13:13:20 +02:00
|
|
|
default 50 if BLUETOOTH_SMP # BLUETOOTH_L2CAP_IN_MTU is big enough
|
|
|
|
# for two complete ACL packets
|
2016-03-25 14:30:50 -07:00
|
|
|
default 23 if !BLUETOOTH_SMP
|
2015-11-06 12:19:26 +02:00
|
|
|
range 23 BLUETOOTH_L2CAP_IN_MTU
|
|
|
|
help
|
|
|
|
The MTU for the ATT channel. The minimum and default is 23,
|
|
|
|
whereas the maximum is limited by CONFIG_BLUETOOTH_L2CAP_IN_MTU.
|
2015-10-29 14:45:02 +02:00
|
|
|
|
2016-06-01 12:05:37 +03:00
|
|
|
config BLUETOOTH_ATT_PREPARE_COUNT
|
|
|
|
int "Number of ATT prepare write buffers"
|
|
|
|
default 0
|
|
|
|
range 0 64
|
|
|
|
help
|
|
|
|
Number of buffers available for ATT prepare write, setting
|
|
|
|
this to 0 disables GATT long/reliable writes.
|
|
|
|
|
2015-09-09 17:27:16 +02:00
|
|
|
config BLUETOOTH_SMP
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Security Manager Protocol support"
|
2015-09-09 17:27:16 +02:00
|
|
|
default n
|
2015-11-06 22:22:33 +02:00
|
|
|
help
|
|
|
|
This option enables support for the Security Manager Protocol
|
|
|
|
(SMP), making it possible to pair devices over LE.
|
2015-09-09 17:27:16 +02:00
|
|
|
|
2015-12-08 16:31:45 +01:00
|
|
|
if BLUETOOTH_SMP
|
2016-04-04 12:55:11 +03:00
|
|
|
config BLUETOOTH_PRIVACY
|
|
|
|
bool "Privacy Feature"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable local Privacy Feature support. This makes it possible
|
|
|
|
to use Resolvable Private Addresses (RPAs).
|
|
|
|
|
2016-07-19 11:55:21 +02:00
|
|
|
config BLUETOOTH_RPA_TIMEOUT
|
|
|
|
int "Resolvable Private Address timeout"
|
|
|
|
depends on BLUETOOTH_PRIVACY
|
|
|
|
default 900
|
|
|
|
range 1 65535
|
|
|
|
help
|
|
|
|
This option defines how often resolvable private address is rotated.
|
|
|
|
Value is provided in seconds and defaults to 900 seconds (15 minutes).
|
|
|
|
|
2015-09-08 14:10:31 +02:00
|
|
|
config BLUETOOTH_SIGNING
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Data signing support"
|
2015-09-08 14:10:31 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables data signing which is used for transferring
|
|
|
|
authenticated data in an unencrypted connection.
|
2015-12-08 16:59:19 +01:00
|
|
|
|
|
|
|
config BLUETOOTH_SMP_SC_ONLY
|
|
|
|
bool "Secure Connections Only Mode"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables support for Secure Connection Only Mode. In this
|
|
|
|
mode device shall only use Security Mode 1 Level 4 with exception
|
|
|
|
for services that only require Security Mode 1 Level 1 (no security).
|
|
|
|
Security Mode 1 Level 4 stands for authenticated LE Secure Connections
|
|
|
|
pairing with encryption. Enabling this option disables legacy pairing.
|
2016-02-11 18:27:06 +01:00
|
|
|
|
2016-03-01 10:57:53 +01:00
|
|
|
config BLUETOOTH_USE_DEBUG_KEYS
|
|
|
|
bool "Enable Security Manager Debug Mode"
|
|
|
|
default n
|
|
|
|
depends on BLUETOOTH_TINYCRYPT_ECC
|
|
|
|
help
|
|
|
|
This option places Security Manager in a Debug Mode. In this mode
|
|
|
|
predefined Diffie-Hellman private/public key pair is used as described
|
|
|
|
in Core Specification Vol. 3, Part H, 2.3.5.6.1. This option should
|
|
|
|
only be enabled for debugging and should never be used in production.
|
|
|
|
If this option is enabled anyone is able to decipher encrypted air
|
|
|
|
traffic.
|
|
|
|
|
2015-12-08 16:31:45 +01:00
|
|
|
endif # BLUETOOTH_SMP
|
|
|
|
|
|
|
|
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL
|
|
|
|
bool "L2CAP Dynamic Channel support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables support for LE Connection oriented Channels,
|
|
|
|
allowing the creation of dynamic L2CAP Channels.
|
2015-09-08 14:10:31 +02:00
|
|
|
|
2016-01-14 10:18:55 -03:00
|
|
|
config BLUETOOTH_GATT_DYNAMIC_DB
|
|
|
|
bool "GATT dynamic database support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables GATT services to be added dynamically to database.
|
|
|
|
|
2015-09-08 12:47:33 +02:00
|
|
|
config BLUETOOTH_GATT_CLIENT
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "GATT client support"
|
2015-09-08 12:47:33 +02:00
|
|
|
default n
|
2015-11-06 22:22:33 +02:00
|
|
|
help
|
|
|
|
This option enables support for the GATT Client role.
|
2015-09-08 12:47:33 +02:00
|
|
|
|
2015-05-26 17:20:05 -04:00
|
|
|
config BLUETOOTH_MAX_CONN
|
2015-10-29 13:59:54 +02:00
|
|
|
int "Maximum number of simultaneous connections"
|
2015-05-26 17:20:05 -04:00
|
|
|
default 1
|
|
|
|
range 1 16
|
|
|
|
help
|
|
|
|
Maximum number of simultaneous Bluetooth connections
|
|
|
|
supported. The minimum (and default) number is 1.
|
|
|
|
|
|
|
|
config BLUETOOTH_MAX_PAIRED
|
2015-10-29 13:59:54 +02:00
|
|
|
int "Maximum number of paired devices"
|
2015-05-26 17:20:05 -04:00
|
|
|
default 1
|
|
|
|
range 1 32
|
|
|
|
help
|
|
|
|
Maximum number of paired Bluetooth devices. The minimum (and
|
|
|
|
default) number is 1.
|
|
|
|
|
2015-11-06 21:49:51 +02:00
|
|
|
endif # BLUETOOTH_CONN
|
|
|
|
|
2016-07-22 09:54:12 +03:00
|
|
|
config BLUETOOTH_TINYCRYPT_ECC
|
|
|
|
bool "Use TinyCrypt library for ECDH"
|
|
|
|
default n
|
|
|
|
select TINYCRYPT_ECC_DH
|
|
|
|
depends on MICROKERNEL
|
|
|
|
help
|
|
|
|
If this option is set TinyCrypt library is used for emulating the
|
|
|
|
ECDH HCI commands and events needed by e.g. LE Secure Connections.
|
|
|
|
If not set controller crypto is used for ECDH and if
|
|
|
|
controller doesn't support required HCI commands LE Secure
|
|
|
|
Connections support will be disabled.
|
|
|
|
|
2015-11-16 15:16:52 +01:00
|
|
|
endif # BLUETOOTH_LE
|
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_DEBUG
|
2016-04-20 17:46:09 +03:00
|
|
|
bool
|
2015-11-06 21:49:51 +02:00
|
|
|
default n
|
2016-04-20 17:46:09 +03:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Bluetooth debug type"
|
|
|
|
depends on BLUETOOTH
|
|
|
|
default BLUETOOTH_DEBUG_NONE
|
|
|
|
|
|
|
|
config BLUETOOTH_DEBUG_NONE
|
|
|
|
bool "No debug log"
|
|
|
|
help
|
|
|
|
Select this to disable all Bluetooth debug logs.
|
|
|
|
|
2016-04-27 17:57:03 +03:00
|
|
|
config BLUETOOTH_DEBUG_LOG
|
2016-04-20 17:46:09 +03:00
|
|
|
bool "Normal printf-style to console"
|
|
|
|
select BLUETOOTH_DEBUG
|
2016-06-01 10:43:55 +03:00
|
|
|
select STDOUT_CONSOLE
|
2016-04-27 17:57:03 +03:00
|
|
|
select SYS_LOG
|
2015-11-06 21:49:51 +02:00
|
|
|
help
|
|
|
|
This option enables Bluetooth debug going to standard
|
|
|
|
serial console.
|
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_DEBUG_MONITOR
|
2016-04-20 17:54:07 +03:00
|
|
|
bool "Monitor protocol over UART"
|
|
|
|
depends on BLUETOOTH_STACK_HCI
|
|
|
|
select BLUETOOTH_DEBUG
|
|
|
|
select CONSOLE_HAS_DRIVER
|
|
|
|
help
|
|
|
|
Use a custom logging protocol over the console UART
|
|
|
|
instead of plain-text output. Requires a special application
|
|
|
|
on the host side that can decode this protocol. Currently
|
|
|
|
the 'btmon' tool from BlueZ is capable of doing this.
|
2016-04-20 17:46:09 +03:00
|
|
|
|
2016-08-17 16:33:08 -07:00
|
|
|
If the target board has two or more external UARTs it is
|
2016-04-20 17:54:07 +03:00
|
|
|
possible to keep using UART_CONSOLE together with this option,
|
|
|
|
however if there is only a single external UART then
|
|
|
|
UART_CONSOLE needs to be disabled (in which case printk/printf
|
|
|
|
will get encoded into the monitor protocol).
|
2016-04-20 17:46:09 +03:00
|
|
|
|
2016-04-20 17:54:07 +03:00
|
|
|
endchoice
|
2016-04-20 17:46:09 +03:00
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_DEBUG_COLOR
|
2015-12-08 12:17:31 +02:00
|
|
|
bool "Use colored logs"
|
2016-04-27 17:57:03 +03:00
|
|
|
depends on BLUETOOTH_DEBUG_LOG
|
|
|
|
select SYS_LOG_SHOW_COLOR
|
2015-12-08 12:17:31 +02:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Use color in the logs. This requires an ANSI capable terminal.
|
|
|
|
|
2016-05-24 18:17:13 -05:00
|
|
|
config BLUETOOTH_MONITOR_ON_DEV_NAME
|
2016-04-20 17:54:07 +03:00
|
|
|
string "Device Name of Bluetooth monitor logging UART"
|
|
|
|
depends on BLUETOOTH_DEBUG_MONITOR
|
|
|
|
default "UART_0"
|
|
|
|
help
|
|
|
|
This option specifies the name of UART device to be used
|
|
|
|
for the Bluetooth monitor logging.
|
2016-04-20 17:46:09 +03:00
|
|
|
|
|
|
|
if BLUETOOTH_DEBUG
|
2015-11-06 21:49:51 +02:00
|
|
|
config BLUETOOTH_DEBUG_HCI_CORE
|
|
|
|
bool "Bluetooth HCI core debug"
|
2016-03-19 08:52:56 +02:00
|
|
|
depends on BLUETOOTH_STACK_HCI
|
2015-11-06 21:49:51 +02:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for Bluetooth HCI
|
|
|
|
core.
|
|
|
|
|
2015-05-15 18:46:02 -04:00
|
|
|
config BLUETOOTH_DEBUG_CONN
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth connection debug"
|
2015-11-06 21:49:51 +02:00
|
|
|
depends on BLUETOOTH_CONN
|
2015-05-15 18:46:02 -04:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for Bluetooth
|
|
|
|
connection handling.
|
|
|
|
|
2015-06-30 10:47:53 +03:00
|
|
|
config BLUETOOTH_DEBUG_KEYS
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth security keys debug"
|
2016-03-19 08:52:56 +02:00
|
|
|
depends on BLUETOOTH_STACK_HCI
|
2015-11-06 21:28:39 +02:00
|
|
|
depends on BLUETOOTH_SMP
|
2015-06-30 10:47:53 +03:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the handling of
|
|
|
|
Bluetooth security keys.
|
|
|
|
|
2015-05-15 18:46:02 -04:00
|
|
|
config BLUETOOTH_DEBUG_L2CAP
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth L2CAP debug"
|
2015-11-06 21:49:51 +02:00
|
|
|
depends on BLUETOOTH_CONN
|
2015-05-15 18:46:02 -04:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
L2ACP layer.
|
|
|
|
|
|
|
|
config BLUETOOTH_DEBUG_SMP
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth Security Manager Protocol (SMP) debug"
|
2016-03-19 08:52:56 +02:00
|
|
|
depends on BLUETOOTH_STACK_HCI
|
2015-11-06 21:28:39 +02:00
|
|
|
depends on BLUETOOTH_SMP
|
2015-05-15 18:46:02 -04:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
Security Manager Protocol (SMP).
|
|
|
|
|
2015-08-12 14:55:09 +03:00
|
|
|
config BLUETOOTH_SMP_SELFTEST
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth SMP self tests executed on init"
|
2015-08-12 14:55:09 +03:00
|
|
|
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-15 18:46:02 -04:00
|
|
|
config BLUETOOTH_DEBUG_ATT
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth Attribute Protocol (ATT) debug"
|
2015-11-06 21:49:51 +02:00
|
|
|
depends on BLUETOOTH_CONN
|
2015-05-15 18:46:02 -04:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
Attribute Protocol (ATT).
|
|
|
|
|
2015-05-26 17:20:05 -04:00
|
|
|
config BLUETOOTH_DEBUG_GATT
|
2015-10-29 13:59:54 +02:00
|
|
|
bool "Bluetooth Generic Attribute Profile (GATT) debug"
|
2015-11-06 21:49:51 +02:00
|
|
|
depends on BLUETOOTH_CONN
|
2015-05-26 17:20:05 -04:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
Generic Attribute Profile (GATT).
|
2015-11-06 22:22:33 +02:00
|
|
|
|
2016-08-17 23:25:09 +05:30
|
|
|
config BLUETOOTH_DEBUG_RFCOMM
|
|
|
|
bool "Bluetooth RFCOMM debug"
|
|
|
|
depends on BLUETOOTH_RFCOMM
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables debug support for the Bluetooth
|
|
|
|
RFCOMM layer.
|
|
|
|
|
2015-11-06 21:28:39 +02:00
|
|
|
endif # BLUETOOTH_DEBUG
|
2015-11-06 21:49:51 +02:00
|
|
|
|
2015-11-12 08:04:13 +01:00
|
|
|
config BLUETOOTH_BREDR
|
2015-11-17 10:26:45 +02:00
|
|
|
bool "Bluetooth BR/EDR support [EXPERIMENTAL]"
|
2015-11-12 08:04:13 +01:00
|
|
|
default n
|
2016-03-19 08:52:56 +02:00
|
|
|
depends on BLUETOOTH_STACK_HCI
|
2015-12-04 15:19:03 +01:00
|
|
|
select BLUETOOTH_CONN
|
2016-04-25 12:57:11 +02:00
|
|
|
select BLUETOOTH_L2CAP_DYNAMIC_CHANNEL
|
2015-11-12 08:04:13 +01:00
|
|
|
help
|
2015-11-17 10:26:45 +02:00
|
|
|
This option enables Bluetooth BR/EDR support"
|
2015-11-12 08:04:13 +01:00
|
|
|
|
2016-08-09 10:06:41 +02:00
|
|
|
if BLUETOOTH_BREDR
|
2016-08-17 23:25:09 +05:30
|
|
|
config BLUETOOTH_RFCOMM
|
|
|
|
bool "Bluetooth RFCOMM protocol support [EXPERIMENTAL]"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option enables Bluetooth RFCOMM support
|
|
|
|
|
2016-08-09 10:06:41 +02:00
|
|
|
config BLUETOOTH_BREDR_NAME
|
|
|
|
string "Bluetooth BR/EDR device name"
|
|
|
|
default "Zephyr"
|
|
|
|
help
|
|
|
|
Bluetooth BR/EDR name. Name can be up to 248 bytes long (excluding
|
|
|
|
NULL termination). Can be empty string.
|
|
|
|
endif # BLUETOOTH_BREDR
|
2015-10-29 13:59:54 +02:00
|
|
|
endif # BLUETOOTH
|