That mistake I had several years ago
It turned out that one of my routers was teasing.
I use the showed up start and since then there have been no problems.
The other routers have no problems.
function lan() {
wlan.connect(logon.ssid, {password: logon.pass}, function (s) {
boola = true;
if(s==='bad password') {
if(debug>0) {console.log('restart lan');}
lan();
}
});
if(debug)console.log("Frida is my watchdog");
if(debug)console.log(wlan.getIP().ip);
} // end lan()
setTimeout(lan,400);
wlan.on('connected', function(s) {
if(debug)console.log('Starter test', wlan.getIP().ip);
if(boola) {
boola = false;
startTimeServer();
//httpSrv.listen(80);
}
});
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That mistake I had several years ago
It turned out that one of my routers was teasing.
I use the showed up start and since then there have been no problems.
The other routers have no problems.