WiFi configuration using new, table based API (#105)
This commit is contained in:
parent
dacaf31dc6
commit
0f852665ec
@ -19,7 +19,7 @@ end
|
|||||||
|
|
||||||
if (conf.wifi.mode == wifi.STATION) or (conf.wifi.mode == wifi.STATIONAP) then
|
if (conf.wifi.mode == wifi.STATION) or (conf.wifi.mode == wifi.STATIONAP) then
|
||||||
print('Client MAC: ',wifi.sta.getmac())
|
print('Client MAC: ',wifi.sta.getmac())
|
||||||
wifi.sta.config(conf.wifi.station.ssid, conf.wifi.station.pwd, 1)
|
wifi.sta.config(conf.wifi.station)
|
||||||
end
|
end
|
||||||
|
|
||||||
print('chip: ',node.chipid())
|
print('chip: ',node.chipid())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user