add qos and dup to MQTT_EVENT_DATA

This commit is contained in:
Bert Melis
2021-09-20 12:07:53 +02:00
committed by David Cermak
parent 89894bd0c6
commit e1d5a9402f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -153,6 +153,8 @@ typedef struct {
int session_present; /*!< MQTT session_present flag for connection event */
esp_mqtt_error_codes_t *error_handle; /*!< esp-mqtt error handle including esp-tls errors as well as internal mqtt errors */
bool retain; /*!< Retained flag of the message associated with this event */
int qos; /*!< qos of the messages associated with this event */
int dup; /*!< Dup flag of the message associated with this event */
} esp_mqtt_event_t;
typedef esp_mqtt_event_t *esp_mqtt_event_handle_t;