Returns the network name for the selected network. See an example here.
Must run a wifi.scan() first.
bla$ = wifi.ssid({var or network number})
Here is a scan program...
memclear
cls
button "Set Wifi Settings", [WifiSet]
button "End Program", [endprog]
wprint "<br> <br>"
wait
[WifiSet]
listWifis = ""
n = wifi.scan()
n = wifi.scan()
n = n - 1
wprint "Number of network found = "
wprint n
for x = 1 to n
listWifis = listWifis & wifi.ssid(x)
listWifis = listWifis & ","
next x
testn = len(listWifis)
testn = testn - 1
listWifis = left(listWifis,testn)
serialprintln listWifis
wprint "<br>Select SSID: "
dropdown selWifi,listWifis
wprint "<br>Password: "
passwordbox netPW
wprint "<br>"
button "Connect To Wifi", [connWifi]
wprint "<br> <br>"
wprint "Standalone Access Point (AP) without connecting to your wifi use this! <br> <br> Enter AP Name: "
textbox netSSID
wprint "<br>Enter AP Password: "
passwordbox netPWap
wprint "<br>"
button "Start AP", [StartAP]
wprint "<br>"
wait
[StartAP]
WiFioff
bla = wifi.ap(netSSID,netPWap)
wait
[connWifi]
WiFioff
bla2 = wifi.connect(selWifi,netPW)
wait
[endprog]
end