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:
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?