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 #244

    However, 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?


Log in to reply
 

Pycom on Twitter