Issues with wlan.isconnected() not returning True in 1.20.0.rc11
-
I am using a LoPy4 running 1.20.0.rc11 where the bug fix list includes:
• Fix wlan.isconnected not returning True when station is connected in AP mode Issue #244However, I attempt to run plan.isconnected() in AP mode and the LoPy still does not return True despite two computers being connected. Is anyone else having issues or am I missing something here?
Code:
def performSpeedtest(self): wlan = WLAN(mode=WLAN.STA) wlan = WLAN() wlan.init() # while wlan.isconnected() == False: # print("doing cycle") # if wlan.isconnected() == True: # break if wlan.isconnected() == True: uiperf3.client(self.IPForiPerf) print("do them tests\n\n\n") return else: return -
Hey @aidanlok Hope you are doing well. Just curious, were you able to perform speedtest? Also, how did you installed the uiperf3 ? Copy uiperf3.py in the lib folder?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login