Data Sheet

!
5. TCP/IP-Related AT Commands
5.2.6. AT+CIPSENDEX—Sends Data
5.2.7. AT+CIPSENDBUF—Writes Data into the TCP-Send-Buffer
Set
Command
1. Single connection: (+CIPMUX=0)
AT+CIPSENDEX=<length>
2. Multiple connections: (+CIPMUX=1)
AT+CIPSENDEX=<link󰐇ID>,<length>
3. Remote IP and ports can be set in UDP transmission:
AT+CIPSENDEX=[<link󰐇ID>,]<length>[,<remote󰐇IP>,<remote󰐇port>]
Function: to configure the data length in normal transmission mode.
Response
Send data of designated length.
Wrap return > after the Set Command. Begin receiving serial data. When the requirement of data length,
determined by <length>, is met, or when \0󰐇appears in the data, the transmission starts.
If connection cannot be established or gets disconnected during transmission, the system returns:
ERROR
If data are successfully transmitted, the system returns:
SEND󰐇OK
Parameters
<link󰐇ID>: ID of the connection (0~4), for multiple connections.
<length>: data length, MAX: 2048 bytes.
When the requirement of data length, determined by <length>, is met, or when \0 appears, the
transmission of data starts. Go back to the normal command mode and wait for the next AT
command.
When sending \0, please send it as \\0.
Set
Command
1. Single connection: (+CIPMUX=0)
AT+CIPSENDBUF=<length>
2. Multiple connections: (+CIPMUX=1)
AT+CIPSENDBUF=<link󰐇ID>,<length>
Espressif
! /!46 58
2017.05