[SYS] Use PicoMQTT for MQTT communication (#1954)
* Update Arduino core for selected configurations * Use PicoMQTT for MQTT communication
This commit is contained in:
1 parent
b20f2c4819
commit
9257433a50
8 files changed
+214
-233
No files matched your search
+1
-1
@@ -803,7 +803,7 @@ void coreTask(void* pvParameters) {
|
||||
while (true) {
|
||||
if (!BTProcessLock) {
|
||||
int n = 0;
|
||||
while (client.state() != 0 && n <= InitialMQTTConnectionTimeout && !BTProcessLock) {
|
||||
while (mqtt->connected() && n <= InitialMQTTConnectionTimeout && !BTProcessLock) {
|
||||
n++;
|
||||
delay(1000);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user