implemented support for non-string type last will messages

This commit is contained in:
Tijn Kooijmans committed 2017-07-21 21:39:24 +02:00
1 parent be91ed4a2c
commit fa087cb2fe
4 files changed
+8 -2

No files matched your search

+1
View File
@@ -58,6 +58,7 @@ typedef struct mqtt_settings {
char password[CONFIG_MQTT_MAX_PASSWORD_LEN];
char lwt_topic[CONFIG_MQTT_MAX_LWT_TOPIC];
char lwt_msg[CONFIG_MQTT_MAX_LWT_MSG];
uint32_t lwt_msg_len;
uint32_t lwt_qos;
uint32_t lwt_retain;
uint32_t clean_session;
+1
View File
@@ -93,6 +93,7 @@ typedef struct mqtt_connect_info
char* will_topic;
char* will_message;
int keepalive;
int will_length;
int will_qos;
int will_retain;
int clean_session;