137typedef enum : int32_t {
179#define ESP_ERR_ESP_NETIF_NO_MEM (0x5006)
204#define ESP_ERR_ESP_NETIF_TX_FAILED (0x500E)
esp_err_code_t
ESP-IDF's general error codes, with ESP-IDF's numeric values.
@ ESP_ERR_TIMEOUT
The operation did not finish in time.
@ ESP_ERR_NOT_ALLOWED
Refused by policy, not by state.
@ ESP_ERR_INVALID_SIZE
A length or buffer size was rejected.
@ ESP_ERR_INVALID_CRC
A checksum did not verify.
@ ESP_ERR_INVALID_STATE
Legal call, wrong moment to make it.
@ ESP_ERR_INVALID_VERSION
Version field was not understood.
@ ESP_ERR_INVALID_RESPONSE
Reply was malformed or unexpected.
@ ESP_ERR_INVALID_MAC
MAC address was malformed.
@ ESP_ERR_NO_MEM
Allocation failed.
@ ESP_ERR_NOT_SUPPORTED
The co-processor image lacks this.
@ ESP_ERR_NOT_FOUND
The requested item does not exist.
@ ESP_ERR_NOT_FINISHED
Partial result; call again.
@ ESP_FAIL
Generic failure with no more specific code available.
@ ESP_ERR_INVALID_ARG
A parameter was out of range or null.
int esp_err_t
Result of an esp-hosted call: zero on success, non-zero otherwise.