mqtt support for sending fragmented messages and full mqtt message length support

This commit is contained in:
David Cermak
2018-10-25 16:38:25 +02:00
parent cf5b8eda89
commit e0bbbebc08
5 changed files with 142 additions and 39 deletions

View File

@@ -72,7 +72,8 @@ typedef struct mqtt_message
{
uint8_t* data;
uint32_t length;
uint32_t fragmented_msg_total_length; /*!< total len of fragmented messages (zero for all other messages) */
uint32_t fragmented_msg_data_offset; /*!< data offset of fragmented messages (zero for all other messages) */
} mqtt_message_t;
typedef struct mqtt_connection