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

(cherry picked from commit b218e02b49)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
This commit is contained in:
Zhi Wei Jian
2026-03-23 17:23:42 +08:00
parent a7d6fb261d
commit ffc5c65fc5
2 changed files with 2 additions and 2 deletions

View File

@@ -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");
}
}