... from some chat:
WiFi settings are stored in a section of flash called "NVS"
from python you can just do
import wifi
wifi.connect()
then you can check connection state via wifi.status()
or you can wait for wifi to connect with wifi.wait()
wifi.wait()
wifi.wait has a default timeout
so be sure to check the returned boolean
false means could not connect
... from some chat: WiFi settings are stored in a section of flash called "NVS" from python you can just do
import wifi
wifi.connect() then you can check connection state via wifi.status() or you can wait for wifi to connect with wifi.wait() wifi.wait()
wifi.wait has a default timeout
so be sure to check the returned boolean
false means could not connect