mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Exported MQTT result codes
This commit is contained in:
1 parent
d6e1a3ab4c
commit
85d300ce71
4 files changed
+4
-4
No files matched your search
@@ -1230,6 +1230,8 @@ int64_t mg_sntp_parse(const unsigned char *buf, size_t len);
|
||||
#define MQTT_CMD_DISCONNECT 14
|
||||
#define MQTT_CMD_AUTH 15
|
||||
|
||||
enum { MQTT_OK, MQTT_INCOMPLETE, MQTT_MALFORMED };
|
||||
|
||||
struct mg_mqtt_opts {
|
||||
struct mg_str user; // Username, can be empty
|
||||
struct mg_str pass; // Password, can be empty
|
||||
|
||||
Reference in new issue
Block a user