Skip to content

Commit b1e5749

Browse files
committed
Merge branch 'refactor/tw13078' into 'master'
refactor(tw13078) : Change hint to error code See merge request !23
2 parents 41487b7 + 6a36c33 commit b1e5749

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/at/include/esp_at.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ typedef enum {
101101
ESP_AT_SUB_PARA_PARSE_FAIL = 0x08, /*!< parse parameter fail */
102102
ESP_AT_SUB_UNSUPPORT_CMD = 0x09,
103103
ESP_AT_SUB_CMD_EXEC_FAIL = 0x0A,
104+
ESP_AT_SUB_CMD_PROCESSING = 0x0B, /*!< previous command is processing */
104105
} esp_at_error_code;
105106

106107
#define ESP_AT_ERROR_NO(subcategory,extension) \
@@ -116,6 +117,7 @@ typedef enum {
116117
#define ESP_AT_CMD_ERROR_PARA_PARSE_FAIL(which_para) ESP_AT_ERROR_NO(ESP_AT_SUB_PARA_PARSE_FAIL,which_para)
117118
#define ESP_AT_CMD_ERROR_CMD_UNSUPPORT ESP_AT_ERROR_NO(ESP_AT_SUB_UNSUPPORT_CMD,0x00)
118119
#define ESP_AT_CMD_ERROR_CMD_EXEC_FAIL(result) ESP_AT_ERROR_NO(ESP_AT_SUB_CMD_EXEC_FAIL,result)
120+
#define ESP_AT_CMD_ERROR_CMD_PROCESSING ESP_AT_ERROR_NO(ESP_AT_SUB_CMD_PROCESSING,0x00)
119121

120122
/**
121123
* @brief the result of AT parse

0 commit comments

Comments
 (0)