added MQTT will topic & payload

This commit is contained in:
proddy
2019-01-12 18:56:10 +01:00
parent 343703fa52
commit 6e3312c772
4 changed files with 23 additions and 10 deletions

View File

@@ -98,7 +98,8 @@ class MyESP {
unsigned long mqtt_keepalive,
unsigned char mqtt_qos,
bool mqtt_retain,
char * mqtt_will,
char * mqtt_will_topic,
char * mqtt_will_payload,
mqtt_callback_f callback);
// debug & telnet
@@ -135,7 +136,8 @@ class MyESP {
unsigned long _mqtt_keepalive;
unsigned char _mqtt_qos;
bool _mqtt_retain;
char * _mqtt_will;
char * _mqtt_will_topic;
char * _mqtt_will_payload;
// wifi
DNSServer dnsServer; // For Access Point (AP) support