-->
Page 1 of 1

Debugging over WiFi - how many connections are possible?

PostPosted: Sat Jan 30, 2016 9:41 am
by AdrianM
I must have a fairly typical use-case here: my ESP project uses serial RX/TX lines to communicate with a nearby microcontroller and the ESP is also acting as a webserver for a user interface. So the only available TCP server is tied up, and the serial interface is also unavailable. What options are there left for getting a serial debug output stream?

Ideally it would be over WiFi as well. Using LUA I have already been doing debug over telnet using nodeoutput but this ties up the TCP server. Which makes me think it ought to be possible to set up a telnet server on a PC and connect the ESP as a client. If I've got it right, the ESP can create a number of client connections to remote servers although I don't know how many. What I can't work out is how to set up a simple server on a host computer and get a terminal on it (very easy when using telnet clients like realterm, putty etc.). Any more ideas out there?