#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
|
| const char * | esp_err_to_name (esp_err_t code) |
| |
| const char * | esp_err_to_name_r (esp_err_t code, char *buf, size_t buflen) |
| |
| void | _esp_error_check_failed (esp_err_t rc, const char *file, int line, const char *function, const char *expression) |
| |
| void | _esp_error_check_failed_without_abort (esp_err_t rc, const char *file, int line, const char *function, const char *expression) |
| |
◆ ESP_OK
◆ ESP_FAIL
◆ ESP_ERR_NO_MEM
| #define ESP_ERR_NO_MEM 0x101 |
◆ ESP_ERR_INVALID_ARG
| #define ESP_ERR_INVALID_ARG 0x102 |
◆ ESP_ERR_INVALID_STATE
| #define ESP_ERR_INVALID_STATE 0x103 |
◆ ESP_ERR_INVALID_SIZE
| #define ESP_ERR_INVALID_SIZE 0x104 |
◆ ESP_ERR_NOT_FOUND
| #define ESP_ERR_NOT_FOUND 0x105 |
◆ ESP_ERR_NOT_SUPPORTED
| #define ESP_ERR_NOT_SUPPORTED 0x106 |
◆ ESP_ERR_TIMEOUT
| #define ESP_ERR_TIMEOUT 0x107 |
◆ ESP_ERR_INVALID_RESPONSE
| #define ESP_ERR_INVALID_RESPONSE 0x108 |
◆ ESP_ERR_INVALID_CRC
| #define ESP_ERR_INVALID_CRC 0x109 |
◆ ESP_ERR_INVALID_VERSION
| #define ESP_ERR_INVALID_VERSION 0x10A |
◆ ESP_ERR_INVALID_MAC
| #define ESP_ERR_INVALID_MAC 0x10B |
◆ ESP_ERR_NOT_FINISHED
| #define ESP_ERR_NOT_FINISHED 0x10C |
◆ ESP_ERR_NOT_ALLOWED
| #define ESP_ERR_NOT_ALLOWED 0x10D |
◆ ESP_ERR_WIFI_BASE
| #define ESP_ERR_WIFI_BASE 0x3000 |
◆ ESP_ERR_MESH_BASE
| #define ESP_ERR_MESH_BASE 0x4000 |
◆ ESP_ERR_FLASH_BASE
| #define ESP_ERR_FLASH_BASE 0x6000 |
◆ ESP_ERR_HW_CRYPTO_BASE
| #define ESP_ERR_HW_CRYPTO_BASE 0xc000 |
◆ ESP_ERR_MEMPROT_BASE
| #define ESP_ERR_MEMPROT_BASE 0xd000 |
◆ ESP_ERROR_CHECK
| #define ESP_ERROR_CHECK |
( |
|
x | ) |
|
Value: do { \
_esp_error_check_failed(__err_rc, __FILE__, __LINE__, \
__func__, #x); \
} \
} while (0)
int esp_err_t
Definition esp_err.h:41
#define ESP_OK
Definition esp_err.h:45
◆ ESP_ERROR_CHECK_WITHOUT_ABORT
| #define ESP_ERROR_CHECK_WITHOUT_ABORT |
( |
|
x | ) |
|
Value: do { \
_esp_error_check_failed_without_abort(__err_rc, __FILE__, \
__LINE__, __func__, #x); \
} \
} while (0)
◆ esp_err_t
◆ esp_err_to_name()
| const char * esp_err_to_name |
( |
esp_err_t |
code | ) |
|
◆ esp_err_to_name_r()
| const char * esp_err_to_name_r |
( |
esp_err_t |
code, |
|
|
char * |
buf, |
|
|
size_t |
buflen |
|
) |
| |
◆ _esp_error_check_failed()
| void _esp_error_check_failed |
( |
esp_err_t |
rc, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
function, |
|
|
const char * |
expression |
|
) |
| |
◆ _esp_error_check_failed_without_abort()
| void _esp_error_check_failed_without_abort |
( |
esp_err_t |
rc, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
function, |
|
|
const char * |
expression |
|
) |
| |