add multiple_sessions

This commit is contained in:
proddy
2022-12-05 20:35:04 +01:00
parent ccc9e6dcfb
commit fd04f8be5a
13 changed files with 44 additions and 20 deletions

View File

@@ -57,6 +57,10 @@ static String generateClientId() {
#define FACTORY_MQTT_MAX_TOPIC_LENGTH 128
#endif
#ifndef FACTORY_MQTT_MULTIPLE_INSTANCES
#define FACTORY_MQTT_MULTIPLE_INSTANCES false
#endif
class MqttSettings {
public:
// host and port - if enabled
@@ -75,6 +79,9 @@ class MqttSettings {
uint16_t keepAlive;
bool cleanSession;
// multiple instances
bool multiple_instances;
// proddy EMS-ESP specific
String base;
uint16_t publish_time_boiler;