Set
AT+CIPSERVER=<mode>[,<port>]
Command
OK
Response
<mode>˖
0: deletes server.
Parameters
1: creates server.
<port>: port number; 5000 by default.
•
A TCP server can only be created when multiple connections are activated
(AT+CIPMUX=1)
•
A server monitor will automatically be created when the TCP server is created.
Notes
•
When a client is connected to the server, it will take up one connection and be
assigned an ID.
AT+CIPMUX=1
Example
AT+CIPSERVER=1,1001
10.3.2.9. AT+CIPMODE Sets Transmission Mode
AT+CIPMODE?
Commands
+CIPMODE:<mode>
Response
OK
<mode>˖
0˖normal transmission mode
1˖UART-Wi-Fi passthrough mode (transparent transmission), which can only be
Parameters
enabled in TCP 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,
WizFi360 will keep trying to reconnect until +++ is input to exit the
Notes
transmission. If it is a normal TCP transmission and the TCP connection breaks,
WizFi360 will give a prompt and will not attempt to reconnectDŽ
AT+CIPMODE=1
Example
10.3.2.10. AT+CIPSTO Sets the TCP Server Timeout
AT+CIPSTO?
Commands
+CIPSTO:<time>
Response
OK
<time>: TCP server timeout within the range of 0 ~ 7200s
Parameter
WizFi360 User Manual
AT+CIPMODE=<mode>
OK
AT+CIPSTO=<time>
OK