You are reading a single comment by @samppa and its replies. Click here to read the full conversation.
  • Yes @Gordon I removed the at.debug() and added the AT.CIPSTO like this:

     console.log("Web server at: " + JSON.stringify(ip));
            var http = require("http");
    //        E.enableWatchdog(2);
            wifi.at.cmd("AT+CIPSTO=2\r\n",1000,function(d) {
              print(d);
              var server = http.createServer(pageHandler);
              if (server) {
                server.listen(80)
              } else {
                console.log("ERROR createServer() returned false."); 
                console.log(err); 
                setTimeout(function() {reboot();}, 5000);
                return;           
              }
            }
    

    But it made no difference..

About

Avatar for samppa @samppa started