Huawei MC509 Network Router User Manual


 
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Internet Service Interface Commands
Issue 01 (2011-08-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
115
contained in the returned value when the read command is executed. For details, see
"Example."
<dest_port>: An integer, specifying the port of the peer server to be connected to.
The value ranges from 1 to 65535.
<local_port>: An integer, specifying the local sending and receiving port. The value
ranges from 1 to 65535.
10.2.4 Example
AT^IPOPEN=1,"TCP","129.11.18.8",10000,9000
OK
AT^IPOPEN=2,"TCP","129.11.18.8",10000,8000
OK
AT^IPOPEN=3,"UDP","129.11.18.8",7000,6000
OK
AT^IPOPEN?
^IPOPEN:1,TCP,9000,129.11.18.8,10000
^IPOPEN:2,TCP,8000,129.11.18.8,10000
^IPOPEN:3,UDP,6000,129.11.18.8,7000
OK
10.3 ^IPLISTENCommand for Enabling Server Listening
10.3.1 Syntax
Command
Possible Response(s)
^IPLISTEN=<type>,
<listen_port>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF> or
<CR><LF>+CME ERROR:<err><CR><LF>
^IPLISTEN?
<CR><LF>^IPLISTEN:<type>,<listen_port>,<idle_nu
m><CR><LF>
<CR><LF>OK<CR><LF>
^IPLISTEN=?
<CR><LF>^IPLISTEN:(supported <type>
list),(supported <listen_port> list),(supported
<idle_num> list)<CR><LF>
<CR><LF>OK<CR><LF>