So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By John Bell
#80836 Using the following NodeMCU LUA script:

Code: Select allassert(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 allbad 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?