EasyManua.ls Logo

Neoway M590E - Client Connection Management

Neoway M590E
65 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...
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
45
+CLOSELISTEN:0,local link closed
AT+CLOSELISTEN
+CLOSELISTEN:ERROR
No listening connection
Remarks
N/A
6.3 Closing Connections of the Client: +CLOSECLIENT
Description
To close all connections with the client
Format
AT+CLOSECLIENT[=<socket>]
Parameter
<Socket>: Socket ID
Return Value
<CR><LF>+CLOSECLIENT:<socket>,remote link closed<CR><LF>
Example
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
+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.
Remarks
N/A
6.4 Receiving Data from the Client: +TCPRECV(S)
Description
To receive data from the client
Format
<CR><LF>+TCPRECV(S):<SOCKET>,<length>,<data><CR><LF>
Parameter
< SOCKET>: Socket number
<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
>.
Return Value
See the Example.
Example
+TCPRECV(S):1,10,1234567899
Socket 1 receives 10-byte data in char
format from the client.
Remarks
Additional
(s)
makes this command different from the receive mode of the client mode in
format.
6.5 Sending Data to the Client: +TCPSENDS
Description
To send data to the client

Table of Contents

Related product manuals