Technical information

Table Of Contents
Chapter 3: AT Commands Reference
January 31, 2007 AT Commands Reference Manual 3-309
The following table shows the +MIPODM parameters.
Note: Motorola does not recommend using port numbers below 1024. These numbers are
defined to be reserved for operating systems.
Example
Opening socket 3 in Online Data Mode, using TCP protocol, from port 1104, designation IP
123.245.213.012, designation port 1124:
AT+MIPODM=3,1104,"172.90.237.221",1124,0
OK
+MIPODM: 3,1
Read
AT+MIPODM? +MIPODM:[<SocketID>]
for each socket that can be opened
or:
+MIPODM 0,0
if there are no free sockets.
When a socket opens in
Online Data Mode, the
command returns actual
Socket ID value and '1'
value (active). G24 will
be in pseudo-command
mode for receiving the
command.
Test
AT+MIPODM=? +MIPODM: (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-202: +MIPODM Parameters
<Parameter> Description
Socket ID A unique number that identifies a connection.
Valid socket numbers - 1,2,3 and 4
Source Port Port of source site.
Port range: 1-65535 (decimal digits)
Remote IP IP of the remote site in the format "AAA.BBB.CCC.DDD". The range of each octet is
0-255. The value can be written in 1, 2, or 3 digits.
Host-name of remote site. The host-name convention should meet the rules as
describe in RFC-1035 section: 2.3 Conventions. Syntax is not validated, except the
maximum length (255 characters).
Remote Port Port of remote site.
Port range: 1-65535 (decimal digits) for outgoing connection.
Port 0 for incoming connection.
Protocol Type of protocol stack.
0TCP
1 UDP
State 0 Inactive
1Active
Command Type Syntax Response/Action Remarks