Mipsets, set size for automatic push, Mipsets, set size for automatic push -283, Mipsets parameters -283 – PIONEERPOS AT Commands G24-LC User Manual

Page 347: Mipsets, set size for

Advertising
background image

Chapter 3: AT Commands Reference

April 15, 2008

G24-L AT Commands Reference Manual

3-283

+MIPSETS, Set Size for Automatic Push

This command causes the G24-L to set a watermark in the accumulating buffer. When the
watermark is reached, data is pushed from the accumulating buffer into the protocol stack.

Data chunks between the terminal and the G24-L 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-L 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.

Note:

If there is data in the accumulating buffer, the +MIPSETS command will be rejected.

The following table shows the +MIPSETS parameters.

Example

AT+MIPSETS=1,340

//Asks the G24-L to accumulate 340 bytes on socket 1 prior to sending

(socket should be activated by the +mipopen command

+MIPSETS: 0

OK

AT+MIPSETS=1,200

//Asks the G24-L to accumulate 200 bytes on socket 1 prior to sending

(socket should be activated by the +mipopen command)

+MIPSETS: 0

OK

AT+MIPSETS=2,400

//Asks the G24-L to accumulate 400 bytes on socket 2 prior to sending

+MIPSETS: 0

OK

AT+MIPSETS=?

Command

Type

Syntax

Response/Action

Set

+MIPSETS= <Socket ID>,<Size>

OK

or:

ERROR

+MIPSETS: <err>

Read

+MIPSETS?

+MIPSETS: [<SocketID>,<Current Size Settings>]

For all ACTIVE sockets.

Test

+MIPSETS=?

+MIPSETS: (1-4),(list of supported <size>s)

Table 3-199: +MIPSETS Parameters

<Parameter>

Description

Size

Size of the buffer
1

< size

≤ 1372

The default value is 1372.

Extended err

3

Operation not allowed

Advertising
This manual is related to the following products: