WiFi configuration using new, table based API (#105)

This commit is contained in:
Gerhard Schwärzler
2017-07-26 16:25:14 -05:00
committed by Marcos
parent dacaf31dc6
commit 0f852665ec
+1 -1
View File
@@ -19,7 +19,7 @@ end
if (conf.wifi.mode == wifi.STATION) or (conf.wifi.mode == wifi.STATIONAP) then
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
print('chip: ',node.chipid())