code:
wifi.setmode(wifi.STATION)
wifi.startsmart(0,
function(ssid, password)
--do something
end
)
When it fails or reboots, then run:
--Get current Station configuration
ssid, password, bssid_set, bssid=wifi.sta.getconfig()
print("\nCurrent Station configuration:\nSSID : "..ssid
.."\nPassword : "..password
.."\nBSSID_set : "..bssid_set
.."\nBSSID: "..bssid.."\n")
Let me know what the SSID and Password is..
Thanks in advance!