Add user define MQTT_CLEAN_SESSION

Add user define MQTT_CLEAN_SESSION (#6816)
This commit is contained in:
Theo Arends 2019-11-04 12:23:20 +01:00
parent b46c6ef3e5
commit 62c0c89cfb
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@
// -- MQTT ---------------------------------------- // -- MQTT ----------------------------------------
#define MQTT_TELE_RETAIN 0 // Tele messages may send retain flag (0 = off, 1 = on) #define MQTT_TELE_RETAIN 0 // Tele messages may send retain flag (0 = off, 1 = on)
#define MQTT_CLEAN_SESSION 1 // Mqtt clean session connection (0 = No clean session, 1 = Clean session (default))
// -- MQTT - Domoticz ----------------------------- // -- MQTT - Domoticz -----------------------------
#define USE_DOMOTICZ // Enable Domoticz (+6k code, +0.3k mem) #define USE_DOMOTICZ // Enable Domoticz (+6k code, +0.3k mem)