[SYS] Use PicoMQTT for MQTT communication (#1954)

* Update Arduino core for selected configurations

* Use PicoMQTT for MQTT communication
This commit is contained in:
Michał Leśniewski authored and GitHub committed 2024-07-03 11:39:58 -05:00
1 parent b20f2c4819
commit 9257433a50
8 files changed
+214 -233

No files matched your search

+1 -1
View File
@@ -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);
}