![GOSUNCN ME3630 Series Command Reference Manual Download Page 127](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368127.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
126
AT Command Reference Guide of Module Product
ME3630
OK
AT+ZIPCLOSE=1
OK
+ZIPSTAT: 1,0
11.5.
AT+ZIPSEND TCP/UDP Send Data in ASCII format
Extensible AT command, this command is used to send data
in ASCII format. The data can be sent only when the socket
state is 1(Socket connection open, both send data and receive data normally), if socket state become to 2(Socket
connection open, receive data normal, but send buffer is full). It will ZIPSTAT: <Socket id>,2 automatically . At
this time, user can not send data until the socket state become to 1.
NOTE: We recommend to use cZIPSENDRAW to send raw data.
Command
Possible response
+ZIPSEND=<Socket id>, <Data>
<CR><LF>OK<CR><LF>
<CR><LF>+ZIPSEND: <Socket id>,<Size><CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+ZIPSEND?
<CR><LF>+ZIPSEND: <Socket id>,<Size> [+ZIPSEND: <Socket
id>,<Size>[...]]<CR><LF>
(For all opened Socket)
<CR><LF>OK<CR><LF>
Defined values
<Socket id>: Socket Connection indication
0:Invalid Socket id
1
~
5:Valid Socket id
<Data>: The data length can be 1024Bytes at more. And the data should be hexadecimal encoded.
Eg: “48656C6C6F21” means “Hello!”.
e.g.
AT+ZIPSEND=1,31323334
OK
+ZIPSEND: 1,4
+ZIPRECV: 1,125.15.143.92,3000,4,31323334
11.6.
+ZIPRECV TCP/UDP Data Receive
Extensible AT command, this command is used to receive data. The data will be reported to TE automatically when
module received data. The data length should less than 1024Bytes.
Command
Possible response
<CR><LF>+ZIPRECV: <Socket id>,<Remote IP>,<Remote port>,<Data len>,<Data><CR><LF>
Defined values
<Socket id>: Socket Connection indication
0:Invalid Socket id