feat(bt): remove the deprecated functions and parametes

This commit is contained in:
gongyantao
2025-07-07 10:20:52 +08:00
committed by BOT
parent bf9d085bba
commit 179a730a03
66 changed files with 221 additions and 338 deletions

View File

@@ -37,7 +37,8 @@ esp_err_t esp_ble_helper_init(void)
return err;
}
err = esp_bluedroid_init();
esp_bluedroid_config_t cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
err = esp_bluedroid_init_with_cfg(&cfg);
if (err) {
ESP_LOGE(TAG, "%s init bluetooth failed: %s", __func__, esp_err_to_name(err));
return err;