Search found 4 matches

by CompilerError
Mon Apr 19, 2021 9:41 am
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15578

Re: WiFi.begin(ssid, password) and timeout

:)

Thank you!
by CompilerError
Thu Apr 15, 2021 8:58 am
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15578

Re: WiFi.begin(ssid, password) and timeout

Thank you,

How would I stop that WiFi.begin 'connect task' ?

It seems to me the ESP32 is quite eager to being connected to the internet/network ..
by CompilerError
Tue Apr 13, 2021 12:33 pm
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15578

Re: WiFi.begin(ssid, password) and timeout

Thank you ....

With WiFi.begin("YourSSID", "YourPassword") I'm generally wondering if the ESP32 will try to connect indefinitely?
So is this some kind of background task running forever if unsuccessful?

Also is there a documentation for the WiFi Class / Methods?
WiFiClass.JPG
WiFiClass.JPG (24.51 KiB) Viewed 15518 times
by CompilerError
Sun Apr 11, 2021 5:39 pm
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15578

WiFi.begin(ssid, password) and timeout

Hello! Quick question: When does WiFi.begin(ssid, password) actually timeout when not able to connect? I 'solved' the the 'problem' with the following code but find it not very elegant. while (WiFi.status() != WL_CONNECTED && (millis() - startTime) <= 5000) // try for 5 seconds { delay(500); Serial....