Fixes in MQTT for AWS support

PUBLISHED_FROM=2b82f3793b3c6d0cf1266e4cc0e67930f43002c5
This commit is contained in:
Alexander Alashkin authored and Cesanta Bot committed 2016-11-09 10:05:40 +00:00
1 parent fffb54e2c6
commit d0c50632cd
5 files changed
+31 -1

No files matched your search

+5
View File
@@ -4712,6 +4712,11 @@ struct mg_send_mqtt_handshake_opts {
const char *password;
};
/* mg_mqtt_proto_data should be in header to allow external access to it */
struct mg_mqtt_proto_data {
uint16_t keep_alive;
};
/* Message types */
#define MG_MQTT_CMD_CONNECT 1
#define MG_MQTT_CMD_CONNACK 2