TCP client mode - auto re-connect ?
Re: TCP client mode - auto re-connect ?
Postby ESP_Faye » Mon Apr 13, 2015 2:43 pm
Hi,
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 !
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 !
Re: TCP client mode - auto re-connect ?
Postby nccchirag » Mon May 04, 2015 10:40 pm
with AT commands, AT+CIPSTART would have to be issued by the MCU
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
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
Who is online
Users browsing this forum: No registered users and 2 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.