Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too much text seems to freeze MCU or API #136

Open
DK9GZ opened this issue Feb 7, 2024 · 0 comments
Open

Too much text seems to freeze MCU or API #136

DK9GZ opened this issue Feb 7, 2024 · 0 comments

Comments

@DK9GZ
Copy link

DK9GZ commented Feb 7, 2024

Hi @cotestatnt,

I am using Async2 V2.3.0, ArduinoJson V7.0.2 and echoBot_wifiNINA example on Ardunio Nano 33 IoT.

It seems when sending a certain amount of text from TG to the device for an echo, the code or API freezes. Using 40 words of lorem lipsum , the message is echoed correctly, but the device freezes afterwards. After a manual reset via push button, the device comes back but get stuck again after repeating that last blocking message. This is a loop that can only be broken by loading another code onto the Nano that just "cleans the pipe" (API?) without echoing any message, but just sending minor amout of text. See screenshot:

grafik

Is the number of bytes allowed to be sent (or echoed) via the lib limited by the myBot.setJsonBufferSize(1024); or #define BUFFER_BIG 2048 in DataStructures.h or any other parameter that can be adjusted? I had the DEBUG enabled, but no error was listed in the serial console.

thanks!
73, DK9GZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant