zephyr/net/bluetooth/Kconfig

170 lines
3.8 KiB
Text
Raw Normal View History

# Kconfig - Bluetooth LE stack configuration options
#
# Copyright (c) 2015 Intel Corporation
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# 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.
#
menuconfig BLUETOOTH
bool
prompt "Bluetooth LE support"
default n
select NANO_TIMEOUTS
select NET_BUF
help
This option enables Bluetooth Low Energy support.
if BLUETOOTH
config BLUETOOTH_CONN
bool
default n
config BLUETOOTH_PERIPHERAL
bool "Peripheral Role support"
default n
select BLUETOOTH_CONN
config BLUETOOTH_CENTRAL
bool "Central Role support"
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
prompt "Security Manager Protocol support"
default n
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL
bool
prompt "L2CAP Dynamic Channel support"
default n
config BLUETOOTH_SIGNING
bool
prompt "Data signing support"
default n
depends on BLUETOOTH_SMP
help
This option enables data signing which is used for transferring
authenticated data in an unencrypted connection.
config BLUETOOTH_GATT_CLIENT
bool
prompt "GATT client support"
default n
config BLUETOOTH_MAX_CONN
int
prompt "Maximum number of simultaneous connections"
depends on BLUETOOTH_CONN
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_CONN
default 1
range 1 32
help
Maximum number of paired Bluetooth devices. The minimum (and
default) number is 1.
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.
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.
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).
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.
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).
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).
endif
endif