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..
@samppa started
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.
Yes @Gordon I removed the at.debug() and added the AT.CIPSTO like this:
But it made no difference..