ESP8266 Developer Zone The Official ESP8266 Forum 2015-05-04T22:40:59+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=352 2015-05-04T22:40:59+08:00 2015-05-04T22:40:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=352&p=1616#p1616 <![CDATA[Re: TCP client mode - auto re-connect ?]]> can the SDK take care of the auto re-connection ... ?
eg. firmware would autoconnect to wireless router if it is rebooted .. but the TCP connection would have to be manually initiated from the MCU via AT command

Statistics: Posted by nccchirag — Mon May 04, 2015 10:40 pm


]]>
2015-04-20T14:13:06+08:00 2015-04-20T14:13:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=352&p=1431#p1431 <![CDATA[Re: TCP client mode - auto re-connect ?]]>
Call AT+CIPSTART to create a TCP connection again, if message about disconnection is received.

Statistics: Posted by ESP_Faye — Mon Apr 20, 2015 2:13 pm


]]>
2015-04-13T15:27:00+08:00 2015-04-13T15:27:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=352&p=1311#p1311 <![CDATA[Re: TCP client mode - auto re-connect ?]]> Statistics: Posted by nccchirag — Mon Apr 13, 2015 3:27 pm


]]>
2015-04-13T14:43:29+08:00 2015-04-13T14:43:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=352&p=1309#p1309 <![CDATA[Re: TCP client mode - auto re-connect ?]]>
So sorry that there is no auto reconncet.

You could call espconn_connect in espconn_disconnect_callback(normal disconnect) or espconn_reconnect_callback(abnormal disconnect) to reconnect TCP server.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Mon Apr 13, 2015 2:43 pm


]]>
2015-04-11T21:06:05+08:00 2015-04-11T21:06:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=352&p=1296#p1296 <![CDATA[TCP client mode - auto re-connect ?]]> Embedded Linux Server - TCP Server

if the tcp client on ESP is disconnected from server, how to enable auto reconnect ?

kindly guide

Statistics: Posted by nccchirag — Sat Apr 11, 2015 9:06 pm


]]>