Unable to create wifi AP
Posted: Wed Feb 27, 2019 1:43 pm
Using the following NodeMCU LUA script:
I get the following error on the wifi.ap.config line:
I tried STATIONAP with the same result. Assuming those are the only two lines of code to start the access point, upon success, should I expect to see TEST in my available wifi connections on my PC?
Code: Select all
assert(wifi.setmode(wifi.SOFTAP))
cfg={}
cfg.ssid='TEST'
cfg.pwd='testingtesting'
assert(wifi.ap.config(cfg))
I get the following error on the wifi.ap.config line:
Code: Select all
bad argument #1 to 'assert' (value expected)
I tried STATIONAP with the same result. Assuming those are the only two lines of code to start the access point, upon success, should I expect to see TEST in my available wifi connections on my PC?