ESP8266 Developer ZoneThe Official ESP8266 Forum2015-05-04T22:40:59+08:00https://bbs.espressif.com:443/feed.php?f=16&t=3522015-05-04T22:40:59+08:002015-05-04T22:40:59+08:00https://bbs.espressif.com:443/viewtopic.php?t=352&p=1616#p1616can 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:002015-04-20T14:13:06+08:00https://bbs.espressif.com:443/viewtopic.php?t=352&p=1431#p1431 Call AT+CIPSTART to create a TCP connection again, if message about disconnection is received.
]]>2015-04-13T15:27:00+08:002015-04-13T15:27:00+08:00https://bbs.espressif.com:443/viewtopic.php?t=352&p=1311#p1311Statistics: Posted by nccchirag — Mon Apr 13, 2015 3:27 pm
]]>2015-04-13T14:43:29+08:002015-04-13T14:43:29+08:00https://bbs.espressif.com:443/viewtopic.php?t=352&p=1309#p1309 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.