Improved OEM Features
1-8 AT Commands Reference Manual June 30, 2008
5. Server side:
After receiving the first packet from the client, the server knows the IP address and port
number of the G24.
The IP address and port number for the specific mobile G24 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.
Online Data Mode
The Online Data Mode (ODM) feature, allows the user to transfer raw data (without using the
+MIPSEND and +MIPPUSH commands) between G24 and Network. The data transfers via
established network connection (socket), based on internal TCP or UDP protocol stack. RS232
connection between G24 and terminal with Hardware flow control is required for the feature
execution.
A special AT Command +MIPODM (instead of +MIPOPEN) is used to open a socket in Online
Data Mode. The command provides a set of parameters for the feature configuration and corrects
performance, see “+MIPODM, Open a Socket (UDP or TCP) in Online Data Mode” on
page 3-397. When a socket is successfully opened in Online Data Mode, all data, comes from
terminal, "as is" is being sent to Network and vice versa: all data, comes from Network, "as is" is
being sent to terminal.
Each socket, opened in Online Data Mode, allocates an accumulating buffer whose size is 1372
bytes. When the user sends amount of data, less then the buffer size, the data is being sent to
Network after a spooling timeout (200 mS), otherwise the data is being sent to Network
immediately.
When ODM feature is executed, pseudo-command mode is enabled in PREMUX state and
disabled in MUX state by default (see RS232 Multiplexer Feature). ODM feature allows the user
to disable pseudo-command mode, when G24 is in PREMUX state by setting "pseudo-command
mode enable/disable" parameter to "1" - see “+MIPODM, Open a Socket (UDP or TCP) in
Online Data Mode” on page 3-397. Disabled pseudo-command mode provides better data
transfer performance.
When G24 is in MUX state and ODM feature executed, a pseudo-command mode is not
supported.
The user can suspend an opened in Online Data Mode socket by entering, for example, ESC
sequence (by default "+++") from terminal, when pseudo-command mode is enabled. In this case
G24 switches to pseudo-command mode, allowing the user to enter AT commands from terminal.
The ATO command used to resume Online Data Mode from pseudo-command mode. When a
data comes from Network and G24 is in pseudo-command mode, a special unsolicited event
(+MIPDATA) is being sent to terminal (see “+MIPDATA, Network Incoming Data Unsolicited
Indication in Pseudo-command Mode” on page 3-409).
When socket is in Online Data Mode (not in pseudo-command mode), RS232 communication
DCD line is enabled.
There are two options to suspend a socket, opened in Online Data Mode, when G24 is in
PREMUX state:
Enter ESC sequence from terminal.
Disable DTR line on RS232 communication port in case of AT&D1 parameter configuration.