GPRS/EDGE
3-402 AT Commands Reference Manual June 30, 2008
+MIPSETS, Set Size and Timeout for Automatic Push
This command causes the G24 to set a watermark in the accumulating buffer and set timeout.
When the watermark is reached, data is pushed from the accumulating buffer into the protocol
stack.
Timeout is used to define interval of time between MIPSEND command and time when data will
be automatically pushed from the accumulating buffer into the protocol stack.
Data chunks between the terminal and the G24 are limited to be smaller than 80 characters (160
characters in coded form). In order to reduce the overhead of sending small amounts of data over
the air, the G24 uses an accumulating buffer. The terminal can specify a watermark within the
accumulating buffer size limits to indicate how much data should be accumulated. When the data
in the accumulating buffer exceeds the watermark, only data equal to the watermark is sent. Data
remaining in the buffer is sent with the next packet.
Arriving data to accumulating buffer triggers a start of time (defined in timeout) countdown.
When counter reaches zero, data is moved into the protocol stack. If new data arrived before time
is reached zero, it is re-initialized. If data in accumulating buffer reached watermark it is pushed
to the accumulating buffer as usual, but if after automatic push there is some remaining data, time
countdown is started.
Note: If there is data in the accumulating buffer, the +MIPSETS command will be rejected.
The following table shows the +MIPSETS parameters.
Command
Type Syntax Response/Action Remarks
Set +MIPSETS=
<Socket
ID>,<Size>
[,<Timeout>]
OK
or:
ERROR
+MIPSETS: <err>
Timeout is defined in
milliseconds.
Read +MIPSETS? +MIPSETS: [<SocketID>,<Current Size
Settings>,< Timeout>]
For all ACTIVE sockets.
Test +MIPSETS=? +MIPSETS: (1-4),(list of supported <size>s),
),(list of supported <Timeout>s)
Table 3-266: +MIPSETS Parameters
<Parameter> Description
Size Size of the buffer
1< size 1372
The default value is 1372.
Timeout 0 - 1000
0 means no timeout is used (default).
Extended err 3 Operation not allowed