I get this error when I call the wifi.sta.getap() function: > PANIC: unprotected error in call to Lua API (stdin:2: bad argument #1 to 'pairs' (table or rotable expected, got nil))
Similarly when I call '=wifi.sta.getconfig()' I get this error: stdin:1: attempt to call field 'getconfig' (a nil value)
Some commands work fine. For instance '=wifi.sta.status()' gives a result of '5'.
Here's the version information that shows at start up:NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4
Is this an earlier build that doesn't support these commands?
Any help will be really appreciated!