Hi all, I am new here, but not new in microcontrolers and PLC world.
I have few project for my hime made with ESP32, but i have some problem with wifi
I have one quetions for expirianced ESP32 devolopers.
Is it possible make ESP32 to continue work even if he disconnected from wifi?
When ESPs disconnect or lose wifi they are trying to reconnect, and it lasts until they connected. Is there a way to try a couple of times to connwct to wifi, if they don't connect to keep going and run her code, and periodically try to connect. I'm asking this because I don't like a process to stand because of wifi.
Thanks a lot in adition.
ESP32 and wifi
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 and wifi
Yeah, of course, that's more or less the default way it works, dependent on which SDK you use. Would be a bit stupid if e.g. a WiFi-connected fridge would stop working simply because the WiFi went away.
Re: ESP32 and wifi
Thanks for the answer, you are right. so I assumed but do you have some code example or some page where I can finde some examples.
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 and wifi
Again, it depends on the SDK you are using. Might help to look throught he SDK documentation as well, most of them have example code or sketches.
Re: ESP32 and wifi
I am using ESP32-WROOM-32U board, programming with VSC and Platformio and for Wifi I using wifi.h library.
Ok, I will try to find some examples and test with my board.
Thanks for help
Ok, I will try to find some examples and test with my board.
Thanks for help
Who is online
Users browsing this forum: Bing [Bot] and 114 guests