how to abort a CIPSENDBUF
how to abort a CIPSENDBUF
Postby doughboy » Sun Sep 13, 2015 10:57 am
If say I send a CIPSENDBUF=0,2048
then I decide I don't want to send after all. How do I abort the CIPSENDBUF command?
Is there a character sequence that will "escape" from "data" mode into "command" mode?
There seems to be nothing else I can do until I send 2048 characters,
then I decide I don't want to send after all. How do I abort the CIPSENDBUF command?
Is there a character sequence that will "escape" from "data" mode into "command" mode?
There seems to be nothing else I can do until I send 2048 characters,
Re: how to abort a CIPSENDBUF
Postby doughboy » Mon Sep 28, 2015 11:54 pm
Nothing works.
As it is now, the only way to get back to command mode is to do a hard reset, or to keep writing dummy data until esp8266 gets what it thinks is the amount of bytes it needs to receive. Not a good design by anyone's standards, so definitely room for product improvement.
As it is now, the only way to get back to command mode is to do a hard reset, or to keep writing dummy data until esp8266 gets what it thinks is the amount of bytes it needs to receive. Not a good design by anyone's standards, so definitely room for product improvement.
Re: how to abort a CIPSENDBUF
Postby flyfish » Tue Sep 29, 2015 3:16 pm
Hi,
Which version of your AT and SDK.
following is my log,"+++" works well.String "+++" is without "\r\n".
AT+CIPSENDBUF=10
2,1
OK
>
Recv 10 bytes
2,SEND OK
AT+CIPSENDBUF=10
3,2
OK
> //send string 1234 ,then +++.
SEND Canceled
AT+GMR
AT version:0.50.0.0(Sep 18 2015 20:55:38)
SDK version:1.4.0
compile time:Sep 18 2015 21:32:07
OK
Which version of your AT and SDK.
following is my log,"+++" works well.String "+++" is without "\r\n".
AT+CIPSENDBUF=10
2,1
OK
>
Recv 10 bytes
2,SEND OK
AT+CIPSENDBUF=10
3,2
OK
> //send string 1234 ,then +++.
SEND Canceled
AT+GMR
AT version:0.50.0.0(Sep 18 2015 20:55:38)
SDK version:1.4.0
compile time:Sep 18 2015 21:32:07
OK
Re: how to abort a CIPSENDBUF
Postby doughboy » Thu Oct 01, 2015 9:11 am
you are right, I just tested this just now on 1.4 and it does abort.
I also just verified and confirmed this only works in 1.4. It does not work in 1.3.
For a long time since I posted this thread and emailed espressif about this and asked for an enhancement for ability to switch back to command mode, nobody bothered answering.
Then now conveniently you replied. I'm almost certain you work for espressif.
There was no mention of this new feature either in release notes, nor in updated documentation for 1.4. Hence you must work for espressif to know this.
There is another issue I am dealing with by email, You can probably tell what it is if you are working for espressif.
I also just verified and confirmed this only works in 1.4. It does not work in 1.3.
For a long time since I posted this thread and emailed espressif about this and asked for an enhancement for ability to switch back to command mode, nobody bothered answering.
Then now conveniently you replied. I'm almost certain you work for espressif.

There was no mention of this new feature either in release notes, nor in updated documentation for 1.4. Hence you must work for espressif to know this.
There is another issue I am dealing with by email, You can probably tell what it is if you are working for espressif.
Re: how to abort a CIPSENDBUF
Postby flyfish » Thu Oct 08, 2015 11:45 am
Hi,
It also works well in sdk1.3.
--------------------------------------------------------------------------
AT+GMR
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug 8 2015 17:35:24
OK
AT+CIPSTART="TCP","192.168.0.101",1188
CONNECT
OK
AT+CIPSENDBUF=10
1,0
OK
>
Recv 10 bytes
1,SEND OK
AT+CIPSENDBUF=10
2,1
OK
> //send string 1234 ,then +++.
SEND Canceled
AT+GMR
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug 8 2015 17:35:24
OK
It also works well in sdk1.3.
--------------------------------------------------------------------------
AT+GMR
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug 8 2015 17:35:24
OK
AT+CIPSTART="TCP","192.168.0.101",1188
CONNECT
OK
AT+CIPSENDBUF=10
1,0
OK
>
Recv 10 bytes
1,SEND OK
AT+CIPSENDBUF=10
2,1
OK
> //send string 1234 ,then +++.
SEND Canceled
AT+GMR
AT version:0.40.0.0(Aug 8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug 8 2015 17:35:24
OK
Who is online
Users browsing this forum: No registered users and 188 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.