I would like to be able to reconnect via serial after tcp connection has closed, it there a way to do it?
// Telnet Server require("net").createServer(function (connection) { connection.pipe(LoopbackA); LoopbackA.pipe(connection); LoopbackB.setConsole(); connection.on('close', function() { // TODO }); if(!global.fullreset) { global.fullreset = global.reset; global.reset = softreset; } }).listen(23);
@heri16 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.
I would like to be able to reconnect via serial after tcp connection has closed, it there a way to do it?