PioneerPOS G24-LC Manual De Usuario

Descargar
Página de 444
Chapter 1:  Product Features
 April 15, 2008
G24-L AT Commands Reference Manual
1-7
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-L 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-L (client/server) to WEB (client/server)
The following occurs when creating a UDP/IP connection from the G24-L (client/server) to WEB 
(client/server):
1. Client side:
The G24-L client 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. The G24-L 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. 
5. Server side: 
After receiving the first packet from the client, the server knows the IP address and port 
number of the G24-L. 
The IP address and port number for the specific mobile G24-L should be saved in the DB.
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.
Features and Benefits
The TCP/UDP IP feature provides the terminal with the following benefits:
Up to four simultaneous protocol connections.
Ability to pass data via the protocol stack using AT commands (command mode). This 
relieves the terminal from switching the RS232 to "binary mode" and back to "command 
mode".
Ability to use UDP and TCP simultaneously.
No need for protocol support from the terminal - only data sending and receiving.
Reduced memory utilization. The G24-L manages the protocol stack and therefore saves 
terminal memory.
Ability to receive the incoming TCP connections.
Ability to accept IP connections only if the IP belongs to a defined IP white list.