Is TELNET the right way to go?
Posted: Wed Jun 21, 2017 11:09 am
I may be missing something here, but if I am, I'm sure someone will put me right!
I want to monitor the progress of a program running on the ESP over a considerable period. Because the device is remotely mounted, I can't use the serial port, so it has to be done via wifi.
I guess I could write the output to the browser screen, but that seems to fill up the page buffer quite quickly.
So I had in mind to use telnet to connect to my PC and use the msdos echo command to append the diagnostic information to a file, which could keep growing as long as needed.
I have tried to follow the telnet commands but, although I can connect to the telnet server, the login seems to fail and I get random bits of messages returned from the server (which I am viewing on a serial port, as this is being done on another ESP for testing).
Does anyone have any good examples of using telnet? There don't seem to be any on Mike's examples pages, nor in the link to additional example programs.
All suggestions appreciated!
Phil
I want to monitor the progress of a program running on the ESP over a considerable period. Because the device is remotely mounted, I can't use the serial port, so it has to be done via wifi.
I guess I could write the output to the browser screen, but that seems to fill up the page buffer quite quickly.
So I had in mind to use telnet to connect to my PC and use the msdos echo command to append the diagnostic information to a file, which could keep growing as long as needed.
I have tried to follow the telnet commands but, although I can connect to the telnet server, the login seems to fail and I get random bits of messages returned from the server (which I am viewing on a serial port, as this is being done on another ESP for testing).
Does anyone have any good examples of using telnet? There don't seem to be any on Mike's examples pages, nor in the link to additional example programs.
All suggestions appreciated!
Phil