I'm running micropython and connecting to office wifi that is available. However, i keep getting an error; the error is = OSError: [Errno 110] ETIMEDOUT
the device is ‘approved’ to connect to office wifi thus it's not an issue of needing access.
I’ve tried connecting from my personal mobile hotspot and it works well. The scan wifi code runs and it is able to detect the office wifi too. However connecting to wifi fails as the code does not detect and GET the same value (whereas on personal hotspot it successfully does so).
Running a template 'connect' script gets me the
# We should have a valid IP now via DHCP
print("WiFi Connected ", wlan.ifconfig()
However when i combine it into my code it returns
Error connecting: 1
AttributeError: 'NoneType' object has no attribute 'ifconfig'
It is probably not connecting correctly or at all as the rest of the code doesn't retrieve the details needed.