help: SSID and Password lookup after failed wifi startsmart
Posted: Fri Nov 20, 2015 5:50 pm
Hi, I'm using firmware dev096. Can someone do a quick test for me... Set wifi to wifi.STATION mode and start wifi.startsmart. When failed, what is the default SSID and Password? I forgot fallback code and tested the wifi.startsmart feature. I don't have my USB to Serial adaptor with me. Need to figure out what's the default SSID and Password after failed startsmart so I can reconnect to the ESP.
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!
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!