From 5a037a2c4cd54dc9a858b16797feb7a0a50efe66 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sat, 22 Oct 2016 20:46:44 -0700 Subject: [PATCH] document telnet timeout, closes #197 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 00efe40..17ef3a0 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,12 @@ From there, more advanced steps are: In order to connect through the esp-link to a microcontroller use port 23. For example, on linux you can use `nc esp-hostname 23` or `telnet esp-hostname 23`. +The connections on port 23 and 2323 have a 5 minute inactivity timeout. This is standard with +Espressif's SDK and esp-link does not change it. The reason is that due to memory limitations only a +few connections can be open (4 per port) and it's easy for connections to get "lost" staying open +forever, for example, due to wifi disconnects. That could easily make it impossible to connect to +esp-link due to connection exhaustion. Something smarter is most likely possible... + Note that multiple connections to port 23 and 2323 can be made simultaneously. Esp-link will intermix characters received on all these connections onto the serial TX and it will broadcast incoming characters from the serial RX to all connections. Use with caution!