Closed zenbooster closed 1 year ago
The "dev" branch works out of the box! )
Hello, Zenbooster the "dev" branch work because is based on version 2.0.8 where the declaration of DynamicJsonDocument updateDoc() is like the one modified by you, DynamicJsonDocument updateDoc(BUFFER_BIG); I am experiencing the same problem, it is definitely the DynamicJsonDocumentupdateDoc (ESP.getMaxAllocHeap()) declaration, I think it is not a good idea to use such amount of memory in a multitasking environment.
Hello! My application runs on ESP32 (ESP-WROOM-32), and in addition to the telegram bot, it uses a web server, and also connects to another bluetooth device in master mode. As a result, my application does not receive messages from the getNewMessage function. Here is the log:
Apparently the problem is in the function:
MessageType AsyncTelegram2::getNewMessage(TBMessage &message )
If replace:
with:
...then everything works. I suspect that the same should be done for the ESP8266.
P.S.: I am using SSLClient on WiFiClient because such a bundle consumes less memory compared to WiFiClientSecure, and most importantly - it works!