Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
+CLOSELISTEN:0,local link closed
6.3 Closing Connections of the Client: +CLOSECLIENT
To close all connections with the client
AT+CLOSECLIENT[=<socket>]
<CR><LF>+CLOSECLIENT:<socket>,remote link closed<CR><LF>
+CLOSECLIENT:1,remote link closed
There is a parameter in this command.
Close the connection on socket 1 with the
client.
+CLOSECLIENT:0,remote link closed
+CLOSECLIENT:1,remote link closed
There is no parameter in this command.
All connections with the client are closed
successfully.
6.4 Receiving Data from the Client: +TCPRECV(S)
To receive data from the client
<CR><LF>+TCPRECV(S):<SOCKET>,<length>,<data><CR><LF>
<length>: The length of the data received
<data>: The data received
Add
0x0d 0x0a
to the end of the data. You can identify the end based on <
length
>.
+TCPRECV(S):1,10,1234567899
Socket 1 receives 10-byte data in char
format from the client.
Additional
(s)
makes this command different from the receive mode of the client mode in
format.
6.5 Sending Data to the Client: +TCPSENDS
To send data to the client