Open sky9971 opened 4 years ago
An important tip is to provide some logs as in your make monitor
. Without that, no one can found where is the bug.....
Best regards, NS.
@nsfilho Thanks for your suggestion. I have updated the following information, please check.
Please, let me suggest you something: mqtt protocol use a async
function to control the messages id
. Sometimes our application send or receive a lot of messages simultaneous and could be faster than this async
function happens.
What I do in my case, if I need send more than 1 message, I use a delay between then, approximately 100ms between each of them.
You can see a sample in my code mqtt.c in firmware https://github.com/nsfilho/E12AIO3
Please let me know after you use some delays what happens. Because this async loop timer you can't control. All you can do is control how rush you send or receive :)
Best regards, NS.
Environment
Problem Description
Firmware is crashing unexpectedly after updating to the latest 3.2 RTOS SDK In the previous version it used to work well. but now it throws the wdt on mqtt task.
Make monitor Output
Note: the crash is not consistent that is it only occurs 1 out of 4 times.