TCP SYN generated by AT+CIPSTART times out too fast

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

TCP SYN generated by AT+CIPSTART times out too fast

Postby hhc » Wed Jul 22, 2015 2:44 pm

Hi,

We are having issue where AT+CIPSTART timesouts too fast. Log as below.

AT+CIPSTART=0,"TCP","xxx.xxx.xxx.xxx",8888

ERROR
0,CLOSED

The duration between "ERROR" and "AT+CIPSTART" is only around 1.5 second which is too short for TCP SYN to get acknowledge if the destination server is not located in same Wifi network. e.g. located on the other side of the world connected through a congested network. Is it possible to increase the timeout to at least 30 seconds.

Version info as below.

AT+GMR
AT version:0.30.0.0(Jul 3 2015 19:35:49)
SDK version:1.2.0
compile time:Jul 20 2015 18:15:27
OK

Regards,
Hew

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: TCP SYN generated by AT+CIPSTART times out too fast

Postby ESP_Faye » Fri Jul 24, 2015 11:23 am

Hi,

Thanks for your advice !

We will think over it and let you know if there is any update.

You can try to call “AT+CIPSTART” again,if the first connection broke. Could it work ?

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Re: TCP SYN generated by AT+CIPSTART times out too fast

Postby hhc » Mon Jul 27, 2015 6:02 pm

Sometimes retrying will work. Sometimes will fail. Depends how congested network is. So to be reliable, timeout period needs to be increased.

hhc
Posts: 13
Joined: Sat May 30, 2015 1:37 pm

Re: TCP SYN generated by AT+CIPSTART times out too fast

Postby hhc » Tue Aug 11, 2015 9:28 pm

Is this issue fixed in sdk 1.3.0?

Who is online

Users browsing this forum: No registered users and 188 guests