fix(esp_https_ota): fix incorrectly reference of API esp_https_ota_get_img_desc()

esp_https_ota_get_img_desc() is incorrectly referred to as esp_https_ota_read_img_desc()
in some error messages.So, this MR updates related references

Closes https://github.com/espressif/esp-idf/issues/13065
This commit is contained in:
nilesh.kale
2024-02-05 12:34:14 +05:30
parent 37f0447961
commit 3da0aa2d82
3 changed files with 6 additions and 6 deletions
@@ -168,7 +168,7 @@ void advanced_ota_example_task(void *pvParameter)
esp_app_desc_t app_desc;
err = esp_https_ota_get_img_desc(https_ota_handle, &app_desc);
if (err != ESP_OK) {
ESP_LOGE(TAG, "esp_https_ota_read_img_desc failed");
ESP_LOGE(TAG, "esp_https_ota_get_img_desc failed");
goto ota_end;
}
err = validate_image_header(&app_desc);
@@ -225,7 +225,7 @@ def test_examples_protocol_advanced_https_ota_example_truncated_header(dut: Dut)
dut.expect('Starting Advanced OTA example', timeout=30)
print('writing to device: {}'.format('https://' + host_ip + ':' + str(server_port) + '/' + truncated_bin_name))
dut.write('https://' + host_ip + ':' + str(server_port) + '/' + truncated_bin_name)
dut.expect('advanced_https_ota_example: esp_https_ota_read_img_desc failed', timeout=30)
dut.expect('advanced_https_ota_example: esp_https_ota_get_img_desc failed', timeout=30)
try:
os.remove(binary_file)
except OSError: