blufi: When the format of the received data packet is wrong, reply with an error response

This commit is contained in:
wangcheng
2020-06-08 19:56:55 +08:00
parent 011379dbb5
commit 999ca60657
2 changed files with 11 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ typedef enum {
ESP_BLUFI_DH_PARAM_ERROR,
ESP_BLUFI_READ_PARAM_ERROR,
ESP_BLUFI_MAKE_PUBLIC_ERROR,
ESP_BLUFI_DATA_FORMAT_ERROR,
} esp_blufi_error_state_t;
/**