Losing Internet connection (not wifi) locks the board

When the INTERNET is lost, (NOT WIFI CONNECTION) my Board gets blocked until it regains the connection. Is there any way to change the connection interval to ArduinoCloud, or other solution?

For this case I use a Generic ESP32, although I have read that it happens on other official boards.

Thanks

The problem occurs when the Internet connection is lost, not when the Wifi is lost. Is that taken into account in the library or should I start writing my code?

Why are you screaming with all bold?

Please do not bump.

I feel like the bold text might bother you, things about doing it from my phone.

About the second message, My intention was to explain myself better, which when editing the first post, seemed like what you describe, sorry

Regarding the problem, do you recommend using, for example, libraries like espping and controlling myself whether there is internet or not? Isn't that situation natively considered in the ArduinoCloud library? Thank you very much!

The idea is not to dirty or overload my code more than necessary.

To replicate the error, disconnect the ONT from your router.

The problem was that ArduinoCloud.update(); was taking priority over all other tasks and blocking everything else.

To fix it, I put ArduinoCloud.update(); on one Core and the rest of the tasks on the other. That way, it doesn't block.

Without an ESP32 and freertoos, I don't know how I could have solved it.

Anyway, this thread can now be closed.

1 Like