feat(bt): remove the deprecated functions and parametes

This commit is contained in:
gongyantao
2025-08-19 16:07:05 +08:00
committed by BOT
parent bf9d085bba
commit 179a730a03
66 changed files with 221 additions and 338 deletions
@@ -543,7 +543,8 @@ void app_main(void)
ESP_LOGI(GATTS_TABLE_TAG, "%s init bluetooth", __func__);
ret = esp_bluedroid_init();
esp_bluedroid_config_t cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
ret = esp_bluedroid_init_with_cfg(&cfg);
if (ret) {
ESP_LOGE(GATTS_TABLE_TAG, "%s init bluetooth failed: %s", __func__, esp_err_to_name(ret));
return;