![GOSUNCN ME3630 Series Command Reference Manual Download Page 129](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368129.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
128
AT Command Reference Guide of Module Product
ME3630
or
<CR><LF>+CME ERROR: <err><CR><LF>
+ZIPSLCFG?
<CR><LF>+ZIPSLCFG:<Server Type>,<Source port>,<Time out><CR><LF>
[<CR><LF>+ZIPSLCFG:<Server Type>,<Source port>,<Time out><CR><LF>]
<CR><LF>OK<CR><LF>
+ZIPSLCFG=?
<CR><LF>+ZIPSLCFG: (list of supported <Server Type>s), (list of supported <Source
port>s), (list of supported <Time out>s)<CR><LF>
<CR><LF>OK<CR><LF>
Defined values
<Type>: Protocol type
0 - TCP
1 - UDP
<Source port>: the Listening port, range: 1-65535
<Time out>: Max idle time of UDP connection. When the max idle time large than the value of time out, this udp
connection will be released automatic, the parameter just used for udp server.
0 – the idle time is infinite.
1~3600 – idle time, means several seconds, the default value is 600 seconds.
e.g.
AT+ZIPSLCFG=0,5000,0
OK
AT+ZIPSLCFG=1,5001,60
OK
AT+ZIPSLCFG?
+ZIPSLCFG: 0,5000,0
+ZIPSLCFG: 1,5001,60
OK
11.9.
AT+ZIPLISTEN Open/Close TCP/UDP Server
Extensible AT command, this command is used to Open/Close TCP/UDP server. It can support a udp server and a tcp
server simultaneously, the information of remote client connected to the server will be reported automatically.
Command
Possible response
+ZIPLISTEN=<Mode>,<Type>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
+ZIPLISTEN?
<CR><LF>+ZIPLISTEN:<Status>,<Type>
[<CR><LF>+ZIPLISTEN:<Status>,<Type>]
[<CR><LF>+ZIPLISTEN: <Status>,<Type>,<Socket id><Remote Address>,<Remote port>]
[<CR><LF>+ZIPLISTEN: <Status>,<Type>,<Socket id><Remote Address>,<Remote port>[...]]<CR><LF>
<CR><LF>OK<CR><LF>
+ZIPLISTEN=?
<CR><LF>+ZIPLISTEN: (range of supported <Mode>s),<Remote Address>, (range of supported
<Type>s)[,(range of supported <Source port>s)]<CR><LF>