diff --git a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ble50_sec_gatts_demo.c b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ble50_sec_gatts_demo.c index 4fc1019724..2a22281be4 100644 --- a/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ble50_sec_gatts_demo.c +++ b/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ble50_sec_gatts_demo.c @@ -489,6 +489,8 @@ void app_main(void) adv_name_len = MIN(adv_name_len, strlen(adv_name)); memcpy(&ext_adv_raw_data[EXT_ADV_NAME_OFFSET], adv_name, adv_name_len); ext_adv_raw_data[EXT_ADV_NAME_LEN_OFFSET] = (adv_name_len + 1); + ESP_LOG_BUFFER_CHAR("Adv name", adv_name, adv_name_len); + ESP_LOGE(GATTS_TABLE_TAG,"EXAMPLE_CI_ID %d PIPELINE_ID %d CHIP_ID %d\n", CONFIG_EXAMPLE_CI_ID, CONFIG_EXAMPLE_CI_PIPELINE_ID, CONFIG_IDF_FIRMWARE_CHIP_ID); #endif ESP_ERROR_CHECK(esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT)); diff --git a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/gattc_gatts_coex.c b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/gattc_gatts_coex.c index eeacbfb6d1..8c9b908055 100644 --- a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/gattc_gatts_coex.c +++ b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/gattc_gatts_coex.c @@ -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"); } } diff --git a/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defauts.esp32 b/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32 similarity index 100% rename from examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defauts.esp32 rename to examples/bluetooth/bluedroid/coex/gattc_gatts_coex/sdkconfig.defaults.esp32