Chapter 1: Product Features
June 30, 2008 AT Commands Reference Manual 1-7
UDP/IP
The set of AT commands created for the TCP/IP connection is used for the UDP/IP connection as
well. Therefore, UDP/IP must open a UDP stack using the MIPOPEN AT command. The
connection created does not change any concept regarding the UDP/IP known protocol (which is
connectionless), this is just an easy way for the terminal to specify to the G24 which of the four
possible stacks should be used.
When establishing the UDP/IP connection, the G24 is both the "initiator" and the "listener".

Creating UDP/IP Connections

Connection with another G24
The following occurs during a UDP/IP connection with another G24:
1. Side A:
The G24 connects to the GPRS network and receives an IP address (using the +MIPCALL
command).
The G24 opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and selecting
the protocol UDP).
2. Side B:
The G24 connects to the GPRS network and receives an IP address (using the +MIPCALL
command).
The G24 opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and selecting
the protocol UDP).
3. Side A and B previously agree on a port number, and exchange their given IP addresses via
other means of connection (SMS, CSD, Voice, DB and so on).
4. The G24 sends and receives data to and from the targeted site as it knows the IP address and
port number of the target.
5. Sending (accumulating) data is done using the +MIPSEND command.
6. Actual send is done using the +MIPPUSH command, by specifying the IP address and port
number of the destination.
Note: Every +MIPPUSH sets the destination IP address and destination port number for the
current and future transactions. These values are used for the next push if not explicitly
overwritten.
Connection from the G24 (client/server) to WEB (client/server)
The following occurs when creating a UDP/IP connection from the G24 (client/server) to WEB
(client/server):
1. Client side:
The G24 client connects to the GPRS network and receives an IP address (using the
+MIPCALL command).
The G24 opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and selecting
the protocol UDP).
2. The G24 sends data to the Website, as the Web site’s IP address is known and is public, and
the port number is previously agreed upon.
3. Sending (accumulating) data is done by the +MIPSEND command.
4. Actual send is done by the +MIPPUSH command by specifying the Website IP address and
Website port number.