1
0
mirror of https://github.com/adafruit/Adafruit_MQTT_Library.git synced 2025-07-29 02:02:00 +03:00

adds will support to the connect packet

This commit is contained in:
Todd Treece
2015-10-05 09:45:27 -04:00
parent e60be3e972
commit e9e154ab52
2 changed files with 21 additions and 1 deletions

View File

@ -189,6 +189,10 @@ class Adafruit_MQTT {
const char *clientid;
const char *username;
const char *password;
const char *will_topic;
const char *will_payload;
uint8_t will_qos;
uint8_t will_retain;
uint8_t buffer[MAXBUFFERSIZE]; // one buffer, used for all incoming/outgoing
private: