Go Down

Topic: WiFi101 Status does not change even with dropped connection (Read 1 time) previous topic - next topic

BoHeck

Hi I'm looking for some help on this issue of the shield dropping its connection. 

I am running this connection check

void loop() {
  // check the network status connection once every 10 seconds:
  delay(10000);
 Serial.println(WiFi.status());
}

And even if the connection is shut down (router loses power), the status never changes.  It still believes it is connected.

I was hoping to implement a fail safe in the case of dropped connection that it would attempt to reconnect. 

I have been working under the assumption that this status should change if the connection did drop, is this correct?

Thanks

sandeepmistry

@BoHeck I've submitted the following pull request to resolve this: https://github.com/arduino-libraries/WiFi101/pull/45

Once it is merged, your code snippet will work as expected.

Go Up