update mqttClient, works with tasmota-arduino 2.14 / 3.0 without WiFiSecure

This commit is contained in:
MichaelDvP
2023-12-19 13:47:10 +01:00
parent 9f3e2dbcd3
commit 446601c6e0
6 changed files with 172 additions and 8 deletions

View File

@@ -8,6 +8,10 @@ the LICENSE file.
#pragma once
#ifndef TASMOTA_SDK
#define EMC_CLIENT_SECURE
#endif
#ifndef EMC_TX_TIMEOUT
#define EMC_TX_TIMEOUT 2000
#endif
@@ -53,6 +57,10 @@ the LICENSE file.
#define EMC_TASK_STACK_SIZE 5120
#endif
#ifndef EMC_MULTIPLE_CALLBACKS
#define EMC_MULTIPLE_CALLBACKS 0
#endif
#ifndef EMC_USE_WATCHDOG
#define EMC_USE_WATCHDOG 0
#endif