modified error type to be a generic handle to capture different types of errors

This commit is contained in:
David Cermak committed 2019-07-04 09:12:40 +02:00
1 parent 65bf2255d7
commit 0cc4077bd3
2 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ typedef struct {
int topic_len; /*!< Length of the topic for this event asociated with this event */
int msg_id; /*!< MQTT messaged id of message */
int session_present; /*!< MQTT session_present flag for connection event */
esp_err_t last_err; /*!< MQTT last error captured in transports */
void* error_handle; /*!< esp-tls error handle referencing last error/flags captured in transports */
} esp_mqtt_event_t;
typedef esp_mqtt_event_t *esp_mqtt_event_handle_t;