Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
8.
AT+CIPBUFSTATUS – Check status of TCP-send-buffer
Please do not use this command on SSL connections.!
AT+CIPBUFSTATUS – Check status of TCP-send-buffer
Example
Single connection:
AT+CIPBUFSTATUS returns 20, 15, 10, 200, 7
20 : means the latest segment ID is 19, next time AT+CIPSENDBUF is called,
the segment ID returned will be 20;
15: means that the TCP segment having ID 15 is the latest segment that was
sent(may not succeed);
10: means TCP segment having ID 10 was sent successfully;
200: TCP-send-buffer has 200 bytes available;
7: available TCP queue number, it is not reliable; when queue number is 0,
no more TCP data can be sent.
Single connection
(+CIPMUX=0)
AT+CIPBUFSTATUS
Multiple connection
(+CIPMUX=1)
AT+CIPBUFSTATUS=<link ID>
Response
<next segment ID>, < segment ID of which has sent >, < segment ID of
which sent successfully>, <remain buffer size>, <queue number>
OK
If connection is not established, returns
ERROR
Parameters
<link ID> ID of the connection (0~4), for multi-connect
<next segment ID> next segment ID will be obtained by AT+CIPSENDBUF;
<segment ID of which has sent> the latest segment that was sent (may not
succeed);
<segment ID of which sent successfully> the latest segment that was sent
successfully;
<remain buffer size> TCP-send-buffer remaining buffer size;
<queue number> available TCP queue number, it’s not reliable;when queue
number is 0, no more TCP data can be sent.
Espressif Systems / Friday, July 15, 201662 73