PANIC: unprotected error in call to Lua API... and solution!
Posted: Tue Jun 09, 2015 6:55 pm
function listap(t) for k,v in pairs(t) do print(k.." : "..v) end end wifi.sta.getap(listap)
often causes a
PANIC: unprotected error in call to Lua API (stdin:2: bad argument #1 to 'pairs' (table or rotable expected, got nil))
The solution I found is this:
https://github.com/nodemcu/nodemcu-firm ... /435/files
often causes a
PANIC: unprotected error in call to Lua API (stdin:2: bad argument #1 to 'pairs' (table or rotable expected, got nil))
The solution I found is this:
https://github.com/nodemcu/nodemcu-firm ... /435/files