PIONEERPOS G24-L +MIPSETS, Set Size for Automatic Push, 199 +MIPSETS Parameters, Extended err

Models: G24-LC G24-L

1 444
Download 444 pages 51.67 Kb
Page 347
Image 347

Chapter 3: AT Commands Reference

+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.

 

 

 

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)

 

 

 

 

 

 

The following table shows the +MIPSETS parameters.

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

 

 

 

 

 

 

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=?

April 15, 2008

G24-L AT Commands Reference Manual

3-283

Page 347
Image 347
PIONEERPOS G24-L +MIPSETS, Set Size for Automatic Push, 199 +MIPSETS Parameters, Parameter Description Size, Extended err