![GOSUNCN ME3630 Series Скачать руководство пользователя страница 128](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368128.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
127
AT Command Reference Guide of Module Product
ME3630
1
~
5:Valid Socket id
<Remote port>:Server port of Remote server, range: 1-65535
<Local port>:Local port,range: 1-65535
<Data len>: The length of received data, should less than 1024Bytes.
<Data>: The received raw data(“Hello!” for example) in default. If you want to receive data in ASCII format(“48656C6C6F21” indicate
to “Hello!”), please send cZIPSETRPT to set the format of received data.
e.g.
+ZIPRECV: 1,125.15.143.92,3000,4,ABCD
AT+ZIPSERRPT=0
OK
+ZIPRECV: 1,125.15.143.92,3000,4,61626364
11.7.
AT+ZIPSTAT Query Socket State
Extensible AT command, this command is used to Query Socket State. When the socket state changed, the new state
will be reported automatically.
Command
Possible response
+ZIPSTAT=<Socket id>
<CR><LF>+ZIPSTAT: <Socket id>,<Status><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+ZIPSTAT=?
<CR><LF>+ZIPSTAT: (list of supported <Socket id>s)<CR><LF>
<CR><LF>OK<CR><LF>
Defined values
<Socket id>: Socket Connection indication
0:Invalid Socket id
1
~
5:Valid Socket id
<Status>: State of Socket Connection
0: Socket connection closed.
1: Socket connection open, both send data and receive data normally.
2: Socket connection open, receive data normal, but send buffer is full.
3: Socket connection opening.
4: Socket connection closing.
e.g.
AT+ZIPSTAT=1
+ZIPSTAT: 1,1
OK
11.8.
AT+ZIPSLCFG Set Parameters of TCP/UDP Server
Extensible AT command, this command is used to Set parameters of TCP/UDP server.
Command
Possible response
+ZIPSLCFG=<Server Type>,<Source port>,<Time out>
<CR><LF>OK<CR><LF>