Need help to port telnet server into ESP32-idf SDK

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Need help to port telnet server into ESP32-idf SDK

Postby Ritesh » Wed Nov 09, 2016 9:35 am

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.
Regards,
Ritesh Prajapati

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

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

Postby kolban » Wed Nov 09, 2016 3:14 pm

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

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

Postby Ritesh » Wed Nov 09, 2016 4:56 pm

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.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Basalt and 352 guests