-->
Page 1 of 2

AT+CIPSTART TCP can't connect

PostPosted: Fri Sep 12, 2014 6:45 am
by scjee
I am new about ESP8266 module.
i try connect baidu web site with client.
So i using AT+CIPSTART=4,"TCP","220.181.111.85","80"
i received message with "ERROR unlink" from module.
But i use AT+CIPSTART=4,"UDP","220.181.111.85","80"
It is OK... Why can't connect with TCP?
Please let me know reason about above problem.

Thank you.

Re: AT+CIPSTART TCP can't connect

PostPosted: Sun Sep 14, 2014 12:33 pm
by villTech
you receive error unlink on TCP because your syntax is not correct. port shouldnt be inside " ".
and you receive OK on UDP because udp is stupid. it doesnt really know if it is connected or not. it just reply you with ok even with a wrong syntax or a wrong url.

Re: AT+CIPSTART TCP can't connect

PostPosted: Sat Oct 04, 2014 6:07 am
by kikko_fr
that resolved the same issue for me, thanks villTech!

Re: AT+CIPSTART TCP can't connect

PostPosted: Tue Nov 04, 2014 12:59 pm
by cendev
villTech wrote:you receive error unlink on TCP because your syntax is not correct. port shouldnt be inside " ".
and you receive OK on UDP because udp is stupid. it doesnt really know if it is connected or not. it just reply you with ok even with a wrong syntax or a wrong url.


Thx friend.. looks like documentation has some wrong information. Now i got my client working :)