Huawei MC509 Benutzerhandbuch

Seite von 156
 
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. 
114 
 
10.2 ^IPOPEN–Command for Establishing a TCP/UDP 
Connection 
10.2.1 Syntax 
Command 
Possible Response(s) 
^IPOPEN=<link_id>,
<type>, 
<dest_ip>,<dest_port
>, 
<local_port> 
<CR><LF>OK<CR><LF> 
In case of an MT-related error: 
<CR><LF>ERROR<CR><LF> 
^IPOPEN? 
If a connection is established: 
<CR><LF>^IPOPEN:<link_id>,<type>,<local_port>[,<dest_i
p> 
[,<dest_port>]] 
[<CR><LF>^IPOPEN:<link_id>,<type>,<local_port>[,<dest_i
p> 
[,<dest_port>]] 
[...]]<CR><LF> 
<CR><LF>OK<CR><LF> 
If no connection is established: 
<CR><LF>OK<CR><LF> 
^IPOPEN=? 
<CR><LF>^IPOPEN:(supported <link_id> list), (supported 
<local_port> list),(supported <dest_port> list)<CR><LF> 
<CR><LF>OK<CR><LF> 
 
10.2.2 Interface Description 
This command establishes a wireless connection with one or more remote servers to 
complete data exchange. TCP and UDP modes are supported. 
10.2.3 Parameter Description 
<link_id>: Specifies the ID of a connection. The value ranges from 1 to 5. 
<type>: A string, specifying the connection type. Double quotation marks are used in 
the execution command. Double quotation marks are not contained in the returned 
value when the read command is executed. For details, see "Example." 
"TCP": A TCP connection is established. 
"UDP": A UDP connection is established. 
<dest_ip>: A string, specifying the target IP address to be connected to. Double 
quotation marks are used in the execution command. Double quotation marks are not