When the WiFi101 library loses its connection, does it auto-reconnect to the Wi-Fi

Hello, guys!

As I have a ATWINC1500 connected to a feather, I was wondering if it automatically reconnected to Wi-Fi. I've seen both sides, and wondered how people handle getting kicked off a Wi-Fi network due to a bad router or a momentary loss of signal.

Thanks

no it doesn't reconnect.
you can do something like

if (WiFi.status() != WL_CONNECTED) {
   WiFi.begin(SECRET_SSID, SECRET_PASS); // for WiFiNINA and WiFi101
}

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.