WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
115
+CLOSEUDPCLIENT:2,remote link closed
AT+CLOSEUDPCLIENT=1
+CLOSEUDPCLIENT:1,remote link closed
With parameter: closed one
socket.
AT+CLOSEUDPCLIENT=1
ERROR
No remote client connecting
to socket 1.
AT+CLOSEUDPCLIENT
+CLOSEUDPCLIENT:All remote link closed
Sockets connecting to all
remote clients have been
closed.
Remarks
After being closed by this command, the socket can be used for other
connections.
This command is applicable to E9C33426 and later versions.
15.4 Receiving Data from the Client: +UDPRECV(S)
Description
To receive data from the client
Format
+UDPRECV(S):<socket >,<length>,<data>
Parameter
N/A
Return Value
See the Example.
Example
+UDPRECV(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.
This command is applicable to E9C33426 and later versions.
15.5 Sending Data to the Client: +UDPSENDS
Description
To send data to the client
Format
AT+UDPSENDS=<socket>,<length><CR>
Parameter
<socket>: The value of
AcceptSocket
, that is, the socket of the module.