
!
5. TCP/IP-Related AT Commands
5.2.4. AT+CIPSSLSIZE—Sets the Size of SSL Buffer
5.2.5. AT+CIPSEND—Sends Data
Set Command
AT+CIPSSLSIZE=<size>
Response
OK
or
ERROR
Parameters
<size>
: the size of the SSL buffer; range of value: [2048, 4096].
Example
AT+CIPSSLSIZE=4096
Commands
Set Command:
1. Single connection: (
+CIPMUX=0
)
AT+CIPSEND=<length>
2. Multiple connections: (
+CIPMUX=1
)
AT+CIPSEND=<link ID>,<length>
3. Remote IP and ports can be set in UDP
transmission:
AT+CIPSEND=[<link ID>,]<length> [,<remote
IP>,<remote port>]
Function: to configure the data length in normal
transmission mode.
Execute Command:
AT+CIPSEND
Function: to start sending data in transparent
transmission mode.
Response
Send data of designated length.
Wrap return
>
after the Set Command. Begin
receiving serial data. When data length defined by
<length>
is met, the transmission of data starts.
If the connection cannot be established or gets
disrupted during data transmission, the system
returns:
ERROR
If data is transmitted successfully, the system
returns:
SEND OK
Wrap return
>
after executing this command.
Enter transparent transmission, with a 20-ms
interval between each packet, and a maximum of
2048 bytes per packet.
When a single packet containing
+++
is received,
ESP8266 returns to normal command mode.
Please wait for at least one second before
sending the next AT command.
This command can only be used in transparent
transmission mode which requires single
connection.
For UDP transparent transmission, the value of
<UDP mode>
has to be
0
when using
AT+CIPSTART
.
Parameters
•
<link ID>
: ID of the connection (0~4), for multiple
connections.
•
<length>
: data length, MAX: 2048 bytes.
•
[<remote IP>]
: remote IP can be set in UDP
transmission.
•
[<remote port>]
: remote port can be set in UDP
transmission.
-
Example
For more information please see:
ESP8266 AT Command Examples
.
Espressif
!
/
!
45 58
2017.05