[Hilo] Why it takes minutes to close the TCP session?

[Hilo] Why sometimes it takes long time to close the TCP connection by < AT+KTCPCLOSE=1,0>? How to avoid that?

Answer: From firmware HiloV2 5.04, you can use <AT+KTCPCLOSE=1,0> to have a quick close (“OK” will be returned immediately) to avoid waiting for a long time.

When using <AT+KTCPCLOSE=1,1>, in bad cases(For example a sudden power off in remote side), it’ll take about 120 seconds to get the “OK” due to the re-transmission mechanism in TCPIP stack.
So please wait enough time or using <AT+KTCPCLOSE=1,0>.

Also, when using <AT+KTCPSND=1,10000>, in bad cases (For example a sudden power off in remote side), it’ll take about 6.2 minutes to get the “NO CARRIER” due to the re-transmission mechanism in TCPIP stack