fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex

This commit is contained in:
zhiweijian
2026-03-19 16:15:29 +08:00
parent d70142ceae
commit b218e02b49
2 changed files with 2 additions and 2 deletions
@@ -377,7 +377,7 @@ static void gattc_profile_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
break;
}
ESP_LOGI(COEX_TAG, "discover service complete conn_id %d", param->dis_srvc_cmpl.conn_id);
esp_ble_gattc_search_service(gattc_if, param->cfg_mtu.conn_id, &remote_filter_service_uuid);
esp_ble_gattc_search_service(gattc_if, param->dis_srvc_cmpl.conn_id, &remote_filter_service_uuid);
break;
case ESP_GATTC_CFG_MTU_EVT:
if (param->cfg_mtu.status != ESP_GATT_OK) {
@@ -512,7 +512,7 @@ static void gattc_profile_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
descr_elem_result = NULL;
}
} else {
ESP_LOGE(COEX_TAG, "decsr not found\n");
ESP_LOGE(COEX_TAG, "descr not found\n");
}
}