Hello
I am using lolin32 listening to BLE and posting to REST (WiFi). Hence, sometimes I get :
Task watchdog got triggered. The following tasks did not reset the watchdog in time:
- IDLE (CPU 0)
Tasks currently running:
CPU 0: wifi
CPU 1: IDLE
I have put already some delay(500) in the post routine but sometimes it happens again
So, As server coulbe be very loady sometimes lolin32 rest calls may be delayed.
It seems that task watchdog timeout is about 5 seconds. Can I change it to 10 secs? How? Where?
I am using arduino env
Thank you
How to change task watchdog timeout?
Re: How to change task watchdog timeout?
I believe the esp-idf components are compiled into libraries for Arduino(see https://github.com/espressif/arduino-es ... ls/sdk/lib). There is a option to change the task watchdog timeout in esp-idf under sdkconfig, but since for Arduino it is precompiled you might have to switch to using Arduino as a component of esp-idf https://github.com/espressif/arduino-es ... mponent.md
You could also try and find the spot where the task is taking too long and find a better way to handle that =)
I think you can get away with doing more delays but shorter, like 5x100ms.
You could also try and find the spot where the task is taking too long and find a better way to handle that =)
I think you can get away with doing more delays but shorter, like 5x100ms.
Who is online
Users browsing this forum: No registered users and 65 guests