diff --git a/components/bt/Kconfig b/components/bt/Kconfig index dfde444c7a..62223fe12b 100644 --- a/components/bt/Kconfig +++ b/components/bt/Kconfig @@ -394,6 +394,13 @@ menu "Bluetooth" help This option is recommended for BLE only usecases to save on memory + 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). + endchoice menu "Bluedroid Options" diff --git a/examples/bluetooth/hci/README.md b/examples/bluetooth/hci/README.md index fd263246dc..41be804912 100644 --- a/examples/bluetooth/hci/README.md +++ b/examples/bluetooth/hci/README.md @@ -1,4 +1,4 @@ -# Bluetooth Examples for Bluedroid host +# Bluetooth Examples for Host Controller Interface Note: To use examples in this directory, you need to have Bluetooth enabled in configuration. diff --git a/examples/bluetooth/hci/controller_hci_uart/sdkconfig.defaults b/examples/bluetooth/hci/controller_hci_uart/sdkconfig.defaults index f4ece755b7..798c444b50 100644 --- a/examples/bluetooth/hci/controller_hci_uart/sdkconfig.defaults +++ b/examples/bluetooth/hci/controller_hci_uart/sdkconfig.defaults @@ -12,6 +12,7 @@ CONFIG_BTDM_CTRL_BLE_MAX_CONN=9 CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN=7 CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN=3 CONFIG_BT_BLUEDROID_ENABLED=n +CONFIG_BT_CONTROLLER_ONLY=y CONFIG_BT_HCI_UART=y CONFIG_BT_HCI_UART_NO_DEFAULT=1 CONFIG_BT_HCI_UART_BAUDRATE_DEFAULT=921600 diff --git a/examples/bluetooth/hci/controller_vhci_ble_adv/sdkconfig.defaults b/examples/bluetooth/hci/controller_vhci_ble_adv/sdkconfig.defaults index 3bad2fdeed..3b0474335e 100644 --- a/examples/bluetooth/hci/controller_vhci_ble_adv/sdkconfig.defaults +++ b/examples/bluetooth/hci/controller_vhci_ble_adv/sdkconfig.defaults @@ -8,3 +8,5 @@ CONFIG_BT_ENABLED=y CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n CONFIG_BTDM_CTRL_MODE_BTDM=n +CONFIG_BT_BLUEDROID_ENABLED=n +CONFIG_BT_CONTROLLER_ONLY=y