Copyright © Neoway Technology Co., Ltd
10.2 Closing the Listening Connection: +CLOSELISTEN
To close the listening connection and close all connections
+CLOSELISTEN: 0,local link closed
The host closes the connection or
network abnormalities occur.
AT+CLOSELISTEN
+CLOSELISTEN: 0,local link closed
The local link will be closed if there
is any connection to the client.
10.3 Closing Connections with the Client: +CLOSECLIENT
To close all connections with the client
AT+CLOSECLIENT[=<socket>]<CR>
<CR><LF>+CLOSECLIENT: <socket>,remote link closed<CR><LF>
AT+CLOSECLIENT
+CLOSECLIENT: 1,remote link closed
+CLOSECLIENT: 2,remote link closed
There is no parameter in this
command.
All connections with the client are
closed successfully.
AT+CLOSECLIENT=1
+CLOSECLIENT: 1,remote link closed
There is a parameter in this
command.
Close the connection on socket 1 with
the client.