Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
78
Return
Value
<CR><LF>+CLOSECLIENT:<socket>,remote link closed<CR><LF>
Example
AT+CLOSECLIENT
+CLOSECLIENT:1,remote link closed
+CLOSECLIENT:2,remote link closed
No parameter, closed multiple connections.
AT+CLOSECLIENT=1
+CLOSECLIENT:1,remote link closed
With parameter: closed one connection.
AT+CLOSECLIENT=1
ERROR
No remote client on link 1.
AT+CLOSECLIENT
+CLOSECLIENT:All remote link closed
All remote clients have been closed.
Remarks
N/A
12.5 Receiving Data from the Client: +TCPRECV(S)
Description
To receive data from the client
Format
+TCPRECV(S):<socket>,<length>,<data>
Parameter
N/A
Return
Value
See the Example.
Example
+TCPRECV(S):1,10,1234567899
Socket 1 receives data from the client.
Remarks
Additional
(s)
makes this command different from the receive mode of the client mode in
format.
12.6 Sending Data to the Client: +TCPSENDS
Description
To send data to the client
Format
AT+TCPSENDS=<socket>,<length>
Parameter
<socket>: The value of
AcceptSocket
, that is, the socket of the module. See the
description of the
AT+TCPLISTEN
command.
<length>: The length of the data to be sent, value ranges from
1
to
1024
, unit: byte.
Return
Value
See the Example.
Example
AT+TCPSENDS=0,10
>1234567890
10-byte data is successfully sent through link
0.