GPRS
3-278  G24-L AT Commands Reference Manual April 15, 2008
Example
+MIPOPEN: 1 2 3 4 //All sockets closed
+MIPOPEN: 1 3 4  //Socket 2 opened
The following table shows the +MIPOPEN parameters.
Note: Motorola does not recommend using port numbers below 1024. These numbers are 
defined to be reserved for operating systems.
Read
AT+MIPOPEN? +MIPOPEN:[<SocketID>]
for each socket that can be opened
or:
+MIPOPEN 0 
if there are no free sockets.
The Read command 
returns the numbers of 
the sockets that can be 
opened.
Test
AT+MIPOPEN=? +MIPOPEN: (list of supported 
<socket ID>s),(list of supported 
<source port>s),(list of 
supported<"Destination IP">s),
(list of <destination port>s),(list of 
supported <protocol>s) 
Table 3-196: +MIPOPEN Parameters
<Parameter> Description
Socket ID A unique number that identifies a connection (provided by the terminal application).
0 Invalid socket number
1,2,3,4 Valid socket number
Source Port Port of source site.
Port range: 1-65535 (decimal digits)
Destination 
Address
IP: IP of the destination site in the format "AAA.BBB.CCC.DDD". The range of each 
octant is 0-255. The value can be written in 1, 2, or 3 digits.
Host name: Host-name of destination site. The host-name do not validate, except the 
maximum length (255 characters), the host-name convention should meet the rules as 
describe in RFC-1035 section: 2.3. Conventions.
Destination 
Port
Port of destination site. 
Port range: 1-65535 (decimal digits).
Protocol Type of protocol stack.
0TCP
1 UDP
State State of socket or error indication.
0 Inactive
1Active
Command Type Syntax Response/Action Remarks