You are reading a single comment by @Frida and its replies. Click here to read the full conversation.
  • I did alot of try and error on my esp8266, and I found out that this little snippet works for me.

      var boola;
      function lan() {
        wlan.connect(logon.ssid, {password: logon.pass}, function (s) {
          boola = true;
          if(s==='bad password') {
            if(debug)console.log('restart lan');
            lan();
          }
        });
    
About

Avatar for Frida @Frida started