From 0f852665eca74f744954b9fff56cb9d2e8d6049a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerhard=20Schw=C3=A4rzler?= <30414723+Ge1963@users.noreply.github.com> Date: Wed, 26 Jul 2017 23:25:14 +0200 Subject: [PATCH] WiFi configuration using new, table based API (#105) --- httpserver-wifi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpserver-wifi.lua b/httpserver-wifi.lua index 53e26c5..20ccad2 100644 --- a/httpserver-wifi.lua +++ b/httpserver-wifi.lua @@ -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())