!
5.2.13. AT+CIFSR—Gets the Local IP Address
Execute
Command
Response
Parameters
Notes
5.2.14. AT+CIPMUX—Enables/Disables Multiple Connections
Commands
Response
Parameters
Notes
Example
Espressif
AT+CIFSR
+CIFSR:APIP,<SoftAP IP address>
+CIFSR:APMAC,<SoftAP MAC address>
+CIFSR:STAIP,<Station IP address>
+CIFSR:STAMAC,<Station MAC address>
OK
<IP address>
:
IP address of the ESP32 SoftAP;
IP address of the ESP32 Station.
:
<MAC address>
MAC address of the ESP32 SoftAP;
MAC address of the ESP32 Station.
Only when the ESP32 Station is connected to an AP can the Station IP be queried.
Query Command:
AT+CIPMUX?
+CIPMUX:<mode>
OK
<mode>:
‣ 0
: single connection
‣ 1
: multiple connections
The default mode is single connection mode.
•
Multiple connections can only be set when transparent transmission is disabled
•
(AT+CIPMODE=0).
This mode can only be changed after all connections are disconnected.
•
If the TCP server is running, it must be deleted (AT+CIPSERVER=0) before the single
•
connection mode is activated.
AT+CIPMUX=1
32 97
!
5. TCP/IP-Related AT Commands
Set Command:
AT+CIPMUX=<mode>
Function: to set the connection type.
OK
/!
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers