!
Response
Parameters
Notes
Example
5.2.17. AT+CIPMODE—Configures the Transmission Mode
Commands
Response
Parameters
Notes
Example
Espressif
+CIPSERVERMAXCONN:<num>
OK
<num>
: the maximum number of clients allowed to connect to the TCP or SSL server, range:
[1, 5]
To set this configuration, you should call the command AT+CIPSERVERMAXCONN=<num> before
creating a server.
AT+CIPMUX=1
AT+CIPSERVERMAXCONN=2
AT+CIPSERVER=1,80
Query Command:
AT+CIPMODE?
Function: to obtain information about
transmission mode.
+CIPMODE:<mode>
OK
<mode>
:
‣ 0
: normal transmission mode.
‣ 1
: UART-Wi-Fi passthrough mode (transparent transmission), which can only be enabled
in TCP/SSL single connection mode or in UDP mode when the remote IP and port do
not change.
The configuration changes will NOT be saved in flash.
•
During the UART-Wi-Fi passthrough transmission, if the TCP connection breaks, ESP32 will
•
keep trying to reconnect until +++ is input to exit the transmission. If it is a normal TCP
transmission and the TCP connection breaks, ESP32 will give a prompt and will not attempt
to reconnect.
The UART-Wi-Fi passthrough mode and the BLE commands cannot be used together, so
•
before enabling UART-WiFi passthrough mode, please ensure that the BLE commands are
not enabled (AT+BLEINIT=0).
AT+CIPMODE=1
34 97
!
5. TCP/IP-Related AT Commands
OK
Set Command:
AT+CIPMODE=<mode>
Function: to set the transmission mode.
OK
/!
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers