mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack
This commit is contained in:
parent
fbb6b1b11a
commit
99cce49299
@ -228,7 +228,7 @@ esp_err_t simple_ble_start(simple_ble_cfg_t *cfg)
|
||||
|
||||
#ifdef CONFIG_BTDM_CTRL_MODE_BTDM
|
||||
ret = esp_bt_controller_enable(ESP_BT_MODE_BTDM);
|
||||
#elif defined CONFIG_BTDM_CTRL_MODE_BLE_ONLY
|
||||
#elif defined CONFIG_BTDM_CTRL_MODE_BLE_ONLY || CONFIG_BT_CTRL_MODE_EFF
|
||||
ret = esp_bt_controller_enable(ESP_BT_MODE_BLE);
|
||||
#else
|
||||
ESP_LOGE(TAG, "Configuration mismatch. Select BLE Only or BTDM mode from menuconfig");
|
||||
|
@ -42,4 +42,12 @@ menu "Example Configuration"
|
||||
default y
|
||||
help
|
||||
Show the QR code for provisioning.
|
||||
|
||||
config EXAMPLE_PROV_USING_BLUEDROID
|
||||
bool
|
||||
depends on (BT_BLUEDROID_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3))
|
||||
select BT_BLE_42_FEATURES_SUPPORTED
|
||||
default y
|
||||
help
|
||||
This enables BLE 4.2 features for Bluedroid.
|
||||
endmenu
|
||||
|
@ -51,4 +51,12 @@ menu "Example Configuration"
|
||||
default y
|
||||
help
|
||||
Show the QR code for provisioning.
|
||||
|
||||
config EXAMPLE_PROV_USING_BLUEDROID
|
||||
bool
|
||||
depends on (BT_BLUEDROID_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3))
|
||||
select BT_BLE_42_FEATURES_SUPPORTED
|
||||
default y
|
||||
help
|
||||
This enables BLE 4.2 features for Bluedroid.
|
||||
endmenu
|
||||
|
Loading…
Reference in New Issue
Block a user