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
Explore... Chat... Share...
function(table): a callback function to receive ap table when scan is done
this function receive a table, the key is the ssid, value is other info in format: authmode,rssi,bssid,channel
In case of a scanning error the functions receives nil. Make sure to check for nil before accessing the parameter.
kriegste wrote:This callback is from one of the examples.
The PANIC crashes Nodemcu, causing a reset.
Sometimes it hangs after the restart.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]