Chapter 2. API Reference
ESP_ERR_NOT_FOUND
Requested resource not found
ESP_ERR_NOT_SUPPORTED
Operation or feature not supported
ESP_ERR_TIMEOUT
Operation timed out
ESP_ERR_INVALID_RESPONSE
Received response was invalid
ESP_ERR_INVALID_CRC
CRC or checksum was invalid
ESP_ERR_INVALID_VERSION
Version was invalid
ESP_ERR_INVALID_MAC
MAC address was invalid
ESP_ERR_NOT_FINISHED
There are items remained to retrieve
ESP_ERR_WIFI_BASE
Starting number of WiFi error codes
ESP_ERR_MESH_BASE
Starting number of MESH error codes
ESP_ERR_FLASH_BASE
Starting number of flash error codes
ESP_ERR_HW_CRYPTO_BASE
Starting number of HW cryptography module error codes
ESP_ERROR_CHECK(x)
Macro which can be used to check the error code, and terminate the program in case the code is not ESP_OK.
Prints the error code, error location, and the failed statement to serial output.
Disabled if assertions are disabled.
ESP_ERROR_CHECK_WITHOUT_ABORT(x)
Macro which can be used to check the error code. Prints the error code, error location, and the failed statement
to serial output. In comparison with ESP_ERROR_CHECK(), this prints the same error message but isn’t
terminating the program.
Type Definitions
typedef int esp_err_t
2.6.7 ESP HTTPS OTA
Overview
esp_https_ota provides simplified APIs to perform firmware upgrades over HTTPS. It’s an abstraction layer
over existing OTA APIs.
Application Example
Espressif Systems 826
Submit Document Feedback
Release v4.4