mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
Fix #1434 - set will QoS in CONNECT message correctly, and rename qos -> will_qos in struct mg_mqtt_opts
This commit is contained in:
1 parent
f29807aad8
commit
26a97ec36c
8 files changed
+9
-8
No files matched your search
+1
-1
@@ -24,7 +24,7 @@ struct mg_mqtt_opts {
|
||||
struct mg_str client_id; // Client ID
|
||||
struct mg_str will_topic; // Will topic
|
||||
struct mg_str will_message; // Will message
|
||||
uint8_t qos; // Quality of service
|
||||
uint8_t will_qos; // Will message quality of service
|
||||
bool will_retain; // Retain last will
|
||||
bool clean; // Use clean session, 0 or 1
|
||||
uint16_t keepalive; // Keep-alive timer in seconds
|
||||
|
||||
Reference in new issue
Block a user