Instructions
" " ! "  
 Espressif Systems
ESP8266 
AT Instruction Set
Parameters
<link ID> ID of network connection (0~4), used for multi-connection 
<type> string, "TCP" or "UDP" 
<remote IP> string, remote IP 
<remote port> string, remote port 
[<UDP local port>] optional, UDP port of ESP8266 
[<UDP mode>] optional. In UDP transparent transmission, it has to be 0. 
0 : destination peer entity of UDP will not change, default option. 
1 : destination peer entity of UDP can change once. 
2 : destination peer entity of UDP is allowed to change. 
Note: [<UDP mode>] can only be used when [<UDP local port>] is set.
AT+CIPSTART – Function 3: Establish SSL connection
Example
AT+CIPSSLSIZE=4096 
AT+CIPSTART="SSL", "iot.espressif.cn", 8443
Single connection 
(AT+CIPMUX=0)
AT+CIPSTART= 
<type>, <remote IP>, <remote port>[, <TCP keep alive>]
Multiple connection 
(AT+CIPMUX=1)
AT+CIPSTART=<link ID>, 
<type>, <remote IP>, <remote port>[, <TCP keep alive>]
Response
OK or ERROR 
If TCP is already connected, returns 
ALREADY CONNECT
Parameters
<link ID> ID of network connection (0~4), used for multi-connection 
<type> string, "SSL" 
<remote IP> string, remote IP address 
<remote port> string, remote port number 
[<TCP keep alive>] optional, detection time interval when TCP is kept alive, 
this function is closed by default. 
0 : disable TCP keep-alive 
1 ~ 7200 : detection time interval, unit: second
Espressif Systems   /   Friday, July 15, 201656 73










