2019-09-23 14:10:57 +00:00
|
|
|
menu "Bluetooth"
|
2020-07-09 12:58:13 +00:00
|
|
|
visible if (IDF_TARGET_ESP32 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
|
2017-10-20 09:09:03 +00:00
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
config BT_ENABLED
|
|
|
|
bool "Bluetooth"
|
2020-07-09 12:58:13 +00:00
|
|
|
depends on (IDF_TARGET_ESP32 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
|
|
|
Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
|
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
config BT_CTRL_ESP32
|
|
|
|
bool
|
|
|
|
depends on BT_ENABLED && IDF_TARGET_ESP32
|
|
|
|
default y
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
config BT_CTRL_ESP32C3
|
|
|
|
bool
|
|
|
|
depends on BT_ENABLED && IDF_TARGET_ESP32C3
|
|
|
|
default y
|
|
|
|
config BT_CTRL_ESP32S3
|
|
|
|
bool
|
|
|
|
depends on BT_ENABLED && IDF_TARGET_ESP32S3
|
|
|
|
default y
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
menu "Bluetooth controller(ESP32 Dual Mode Bluetooth)"
|
|
|
|
visible if BT_CTRL_ESP32
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
source "$IDF_PATH/components/bt/controller/esp32/Kconfig.in"
|
|
|
|
endmenu
|
2019-03-01 13:59:55 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
menu "Bluetooth controller(ESP32C3 Bluetooth Low Energy)"
|
|
|
|
visible if BT_CTRL_ESP32C3
|
2019-03-01 13:59:55 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
source "$IDF_PATH/components/bt/controller/esp32c3/Kconfig.in"
|
|
|
|
endmenu
|
2019-09-12 06:12:13 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
menu "Bluetooth controller(ESP32S3 Bluetooth Low Energy)"
|
|
|
|
visible if BT_CTRL_ESP32S3
|
2019-09-12 06:12:13 +00:00
|
|
|
|
2020-07-09 12:58:13 +00:00
|
|
|
source "$IDF_PATH/components/bt/controller/esp32s3/Kconfig.in"
|
2019-01-25 16:10:53 +00:00
|
|
|
endmenu
|
|
|
|
|
2019-06-25 01:03:58 +00:00
|
|
|
choice BT_HOST
|
|
|
|
prompt "Bluetooth Host"
|
2020-07-09 12:58:13 +00:00
|
|
|
depends on BT_ENABLED && (BTDM_CTRL_HCI_MODE_VHCI || BT_CTRL_HCI_MODE_VHCI)
|
2019-06-25 01:03:58 +00:00
|
|
|
default BT_BLUEDROID_ENABLED
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
2019-06-25 01:03:58 +00:00
|
|
|
This helps to choose Bluetooth host stack
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2019-06-25 01:03:58 +00:00
|
|
|
config BT_BLUEDROID_ENABLED
|
|
|
|
bool "Bluedroid - Dual-mode"
|
|
|
|
help
|
|
|
|
This option is recommended for classic Bluetooth or for dual-mode
|
|
|
|
usecases
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2019-06-25 01:03:58 +00:00
|
|
|
config BT_NIMBLE_ENABLED
|
|
|
|
bool "NimBLE - BLE only"
|
|
|
|
help
|
|
|
|
This option is recommended for BLE only usecases to save on memory
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2019-11-13 11:26:23 +00:00
|
|
|
config BT_CONTROLLER_ONLY
|
|
|
|
bool "Controller Only"
|
|
|
|
help
|
|
|
|
This option is recommended when you want to communicate directly with the
|
|
|
|
controller (without any host) or when you are using any other host stack
|
|
|
|
not supported by Espressif (not mentioned here).
|
|
|
|
|
2019-01-25 16:10:53 +00:00
|
|
|
endchoice
|
|
|
|
|
2019-06-25 01:03:58 +00:00
|
|
|
menu "Bluedroid Options"
|
|
|
|
visible if BT_BLUEDROID_ENABLED
|
2019-01-25 16:10:53 +00:00
|
|
|
|
2019-06-30 08:39:00 +00:00
|
|
|
source "$IDF_PATH/components/bt/host/bluedroid/Kconfig.in"
|
2019-06-25 01:03:58 +00:00
|
|
|
endmenu
|
|
|
|
menu "NimBLE Options"
|
|
|
|
visible if BT_NIMBLE_ENABLED
|
2019-04-16 03:11:08 +00:00
|
|
|
|
2019-06-30 08:39:00 +00:00
|
|
|
source "$IDF_PATH/components/bt/host/nimble/Kconfig.in"
|
2019-06-25 01:03:58 +00:00
|
|
|
endmenu
|
2017-10-20 09:09:03 +00:00
|
|
|
|
|
|
|
endmenu
|
2019-01-07 07:16:47 +00:00
|
|
|
|
|
|
|
menuconfig BLE_MESH
|
2019-06-30 08:39:00 +00:00
|
|
|
bool "ESP BLE Mesh Support"
|
2019-12-12 15:02:36 +00:00
|
|
|
depends on BT_ENABLED
|
2019-01-07 07:16:47 +00:00
|
|
|
help
|
2019-06-30 08:39:00 +00:00
|
|
|
This option enables ESP BLE Mesh support. The specific features that are
|
2019-01-07 07:16:47 +00:00
|
|
|
available may depend on other features that have been enabled in the
|
|
|
|
stack, such as Bluetooth Support, Bluedroid Support & GATT support.
|
|
|
|
|
2019-06-30 08:39:00 +00:00
|
|
|
source "$IDF_PATH/components/bt/esp_ble_mesh/Kconfig.in"
|