PIONEERPOS G24-LC manual Udp/Ip

Models: G24-LC G24-L

1 444
Download 444 pages 51.67 Kb
Page 36
Image 36

Improved OEM Features

2.The G24-L opens a TCP/IP stack as one of its "sockets" (it must know the target’s IP address and port number).

3.Once the connection is established, data is transferred freely in both directions (upload and download).

Connection with another G24-L using the "GPRS Manager"

The following occurs when creating a TCP/IP connection with another G24-L using the "GPRS Manager":

1.The OEM on the target side (server) uses the "GPRS Manager" application. When using this application the TCP/IP is external to the OEM. (External TCP stack is used).

2.The target side activates the "server application" (The term "server application" means an application that has the ability to listen on a given IP address and port number).

3.After connecting to the GPRS network, the "server" sends its IP address to the G24-L using an alternative connection (for example, CSD, SMS and so on).

4.The server application listens on a known port, waiting for G24-L to connect.

5.The G24-L connects to the same GPRS network as the server, and receives an IP address (using the +MIPCALL command).

6.The G24-L initiates a TCP/IP connection with the listening "server". (It knows the IP address and port number of the server).

7.Once the server is connected, the TCP/IP connection is created and data can be transferred freely in both directions (upload and download).

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-L which of the four possible stacks should be used.

When establishing the UDP/IP connection, the G24-L 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-L connects to the GPRS network and receives an IP address (using the +MIPCALL command).

The G24-L opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and selecting the protocol UDP).

2.Side B:

The G24-L connects to the GPRS network and receives an IP address (using the +MIPCALL command).

The G24-L opens a UDP/IP stack as one of its "sockets" (using the +MIPOPEN and selecting the protocol UDP).

1-6

G24-L AT Commands Reference Manual

April 15, 2008

Page 36
Image 36
PIONEERPOS G24-LC manual Udp/Ip