Quantcast
Channel: MicroPython Forum (Archive)
Viewing all articles
Browse latest Browse all 40

ESP8266 boards • Re: sta_if.isconnected() unexpectedly returns false

$
0
0
hello friends

In my case too I was unable to use isconnected() to verify the connection state in a script,
the result would be the same no matter if connected or disconnected.
Why it does happen , I have no idea.
when testing this same function in the repl, it seemed to work.
The workaround was to do an actual connection to some site and verify if it got some data or not.

Statistics: Posted by fangis — Sat Jun 10, 2023 1:26 am



Viewing all articles
Browse latest Browse all 40