I am trying to change this in the following way as per the wiki but when I reboot I get
lua: run_config.lua:18: '}' expected near ':'
(line 18 is is the "cfg =..." line)
wifi.setmode(wifi.STATIONAP)
cfg = {"ip":"192.168.200.1", "netmask":"255.255.255.0", "gateway":"192.168.200.1"}
cfg.ssid = ssid
cfg.pwd = psw
wifi.ap.config(cfg)I have also tried:
cfg =
{
"ip":"192.168.1.1",
"netmask":"255.255.255.0",
"gateway":"192.168.1.1"
}
wifi.ap.setip(cfg)
But same results