Data Sheet
!
5. TCP/IP-Related AT Commands
5.2.11. AT+CIPCLOSE—Closes the TCP/UDP/SSL Connection
5.2.12. AT+CIFSR—Gets the Local IP Address
5.2.13. AT+CIPMUX—Enable or Disable Multiple Connections
Parameters
• The command can only be used to record the status of the last 32 segments at most.
• [<linkID>]: ID of the connection (0~4), for multiple connection;
• <segmentID>: the segment ID obtained by calling AT+CIPSENDBUF;
• <status>:
‣ FALSE: the segment-sending failed;
‣ TRUE: the segment was sent successfully.
Notes
This command can only be used when AT+CIPSENDBUF is used.
Commands
Set Command (used in multiple connections):
AT+CIPCLOSE=<linkID>
Function: closes the TCP/UDP Connection.
Execute Command (used in multiple
connections):
AT+CIPCLOSE
Response
OK
Parameters
<linkID>: ID of the connection to be closed. When ID is 5,
all connection will be closed. (In server mode, the ID 5 has no
effect.)
-
Execute
Command
AT+CIFSR
Response
+CIFSR:<SoftAPIPaddress>
+CIFSR:<StationIPaddress>
OK
Parameters
<IPaddress>:
IP address of the ESP8266 SoftAP;
IP address of the ESP8266 Station.
Notes
Only when the ESP8266 Station is connected to an AP can the Station IP can be queried.
Commands
Query Command:
AT+CIPMUX?
Set Command:
AT+CIPMUX=<mode>
Function: to set the connection type.
Response
+CIPMUX:<mode>
OK
OK
Parameters
<mode>:
‣
0: single connection
‣
1: multiple connections
Espressif
! /!49 58
2017.05