mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-17 19:30:36 +00:00
Fixes in MQTT for AWS support
PUBLISHED_FROM=2b82f3793b3c6d0cf1266e4cc0e67930f43002c5
This commit is contained in:
1 parent
fffb54e2c6
commit
d0c50632cd
5 files changed
+31
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user