Page 1 of 1

Need help to port telnet server into ESP32-idf SDK

Posted: Wed Nov 09, 2016 9:35 am
by Ritesh
Hi,

I am working on ESP32-idf RTOS SDK and i want to port telnet server into ESP32 using which i can connect with ESP32 device through telnet and want to get some debug data over telnet.

So, My main purpose for telnet is to capture some debug data over telnet which we are getting over UART0.

Please let me know if anyone has ported telnet into ESP32-idf or similar to that.

Re: Need help to port telnet server into ESP32-idf SDK

Posted: Wed Nov 09, 2016 3:14 pm
by kolban
Hi Ritesh,
One option is to use libtelnet ...

https://github.com/seanmiddleditch/libtelnet

I found that this compiled cleanly and worked exactly as advertized. I am using a telnet server combined with JerryScript as a shell to test out JavaScript commands. Some sample snippets of code using the telnet library to build a server on an ESP32 can be found here:

https://github.com/nkolban/esp32-snippe ... ing/telnet

Re: Need help to port telnet server into ESP32-idf SDK

Posted: Wed Nov 09, 2016 4:56 pm
by Ritesh
Hi,

Thanks for Reply.

I will look your code for telnet and will check it into existing ESP32-idf SDK.

I will let you know result after adding code and testing with board.