use AT+CIPCLOSE=0 cannot close the connection

dax
Posts: 3
Joined: Thu Jun 02, 2016 11:12 pm

use AT+CIPCLOSE=0 cannot close the connection

Postby dax » Fri Jun 03, 2016 9:30 am

After I sent data and closed the connection,I will receive the response from ESP8266(or actually is my browser?).It seemed the browser was reconnected by itself.If I cannot close the connection,I would fail to send data.


+IPD,0,513:GET /80 HTTP/1.1
Host: 192.168.0.193
Accept-Encoding: gzip, deflate
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,UC/44,ios_plugin/1
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X; zh-CN) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/13E238 UCBrowser/10.9.14.779 Mobile
X-UCBrowser-UA: dv(iPh6,2);pr(UCBrowser/10.9.14.779);ov(9_3_1);ss(320x568);bt(UC);pm(0);bv(0);nm(0);im(0);nt(2);
Accept-Language: en-sg
Cache-Control: max-age=0

AT+CIPSEND=0,7


OK
>

busy s...

Recv 7 bytes

SEND OK
AT+CIPCLOSE=0

0,CLOSED

OK
0,CONNECT

+IPD,0,513:GET /80 HTTP/1.1
Host: 192.168.0.193
Accept-Encoding: gzip, deflate
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,UC/44,ios_plugin/1
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X; zh-CN) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/13E238 UCBrowser/10.9.14.779 Mobile
X-UCBrowser-UA: dv(iPh6,2);pr(UCBrowser/10.9.14.779);ov(9_3_1);ss(320x568);bt(UC);pm(0);bv(0);nm(0);im(0);nt(2);
Accept-Language: en-sg
Cache-Control: max-age=0

AT+CIPCLOSE=0

0,CLOSED

OK
0,CONNECT

+IPD,0,513:GET /80 HTTP/1.1
Host: 192.168.0.193
Accept-Encoding: gzip, deflate
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,UC/44,ios_plugin/1
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X; zh-CN) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/13E238 UCBrowser/10.9.14.779 Mobile
X-UCBrowser-UA: dv(iPh6,2);pr(UCBrowser/10.9.14.779);ov(9_3_1);ss(320x568);bt(UC);pm(0);bv(0);nm(0);im(0);nt(2);
Accept-Language: en-sg
Cache-Control: max-age=0


Thanks in advance!

Her Mary
Posts: 537
Joined: Mon Oct 27, 2014 11:09 am

Re: use AT+CIPCLOSE=0 cannot close the connection

Postby Her Mary » Mon Jun 06, 2016 11:53 am

It is the browser that reconnected to the server. Maybe you should revise the browser, or use other application instead?

Gorkde
Posts: 8
Joined: Mon Jun 06, 2016 10:53 pm

Re: use AT+CIPCLOSE=0 cannot close the connection

Postby Gorkde » Tue Jun 07, 2016 2:04 am

I got this "busy p..." message as well and it seems to mess up the Arduino or Blynk buffers therefore me getting an buffer overflow after some seconds.

What is the reason for the message and is there a way to avoid it?

dax
Posts: 3
Joined: Thu Jun 02, 2016 11:12 pm

Re: use AT+CIPCLOSE=0 cannot close the connection

Postby dax » Thu Jun 09, 2016 2:03 pm

Her Majesty wrote:It is the browser that reconnected to the server. Maybe you should revise the browser, or use other application instead?

Thanks,I borrowed another application instead is able to work,but it is too troublesome for me to borrow from others every time. :?

dax
Posts: 3
Joined: Thu Jun 02, 2016 11:12 pm

Re: use AT+CIPCLOSE=0 cannot close the connection

Postby dax » Thu Jun 09, 2016 2:11 pm

Gorkde wrote:I got this "busy p..." message as well and it seems to mess up the Arduino or Blynk buffers therefore me getting an buffer overflow after some seconds.

What is the reason for the message and is there a way to avoid it?

Maybe the data you send exceed the number of character you set?

Who is online

Users browsing this forum: No registered users and 189 guests