Other Parts Discussed in Thread: MSP432E401Y, SYSBIOS
Hi,
I have a customer issue on telnet application using TI NDK 3.60. The same can also be reproduce on TI NIMU_emacExampleClient_EVMC6657C66BiosExampleProject by creating a Telnet server using:
hTelnet = DaemonNew (SOCK_STREAM, 0, 23, (int(*)(SOCKET,uint32_t))telnetClientProcess, OS_TASKPRINORM, OS_TASKSTKLOW,
(uint32_t)ConsoleOpen, 2 );
The observation is:
- After run the application on C6657, I was able to do telnet connection to it from a host Win 10 PC.
- I was able to run some command like “help”
- If I keep idle for a few minutes, the connection is lost
- Most of the time, I can telnet to it again.
- If I continue running the “help” command or ping the EVM (tried >1 hours), the telnet session never lost.
It looks there is a time-out, the network socket is closed if no activity for a while. Customer mentioned that in the old NDK 1.94 there is no such issue.
From TI Network Developer's Kit (NDK) v2.24 User's Guide
2.2.3.2 Telnet Server
The client example application also includes a console application with several tests and status query
functions available. In order to get to the console, simply telnet into the application's IP address. Note that
the console program will timeout and disconnect after a period of inactivity.
So, this is a known issue! How do avoid it?
Regards, Eric