EasyManua.ls Logo

Neoway N11 V2 - Closing Listening Connection (+CLOSELISTEN); Closing Connections with Client (+CLOSECLIENT)

Neoway N11 V2
134 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
73
10.2 Closing the Listening Connection: +CLOSELISTEN
Description
To close the listening connection and close all connections
Format
AT+CLOSELISTEN<CR>
Parameter
N/A
Return Value
See the Example.
Example
+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.
Remarks
N/A
10.3 Closing Connections with the Client: +CLOSECLIENT
Description
To close all connections with the client
Format
AT+CLOSECLIENT[=<socket>]<CR>
Parameter
<Socket>: Socket ID
Return Value
<CR><LF>+CLOSECLIENT: <socket>,remote link closed<CR><LF>
Example
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.
AT+CLOSECLIENT=1
ERROR
No client on socket 1.
Remarks
N/A

Table of Contents

Related product manuals