OnCell G2150I AT Command Set

Data Commands

Select Data Compression: %C

Description: This command enables or disables data compression negotiation if this feature is supported by the product.

Command syntax:

AT%C<n>

 

 

 

Command

 

Possible responses

AT%C0

 

OK

Note: Command

 

Note: Feature supported

AT%C2

 

OK

Note: Command

 

Note: V42bis supported

AT%C?

 

2

Note: Current value

 

OK

 

 

Note: Command valid

Defined values: <n>

0:no compression (default value)

2:V42bis compression if supported

V42 bis Data Compression: +DS

Description: This command enables or disables V.42bis data compression if this feature is supported by the product. Beware that the product only allows the MNP2 protocol.

Command syntax: AT+DS=[[<dir>][,[<neg>][,[<P1>][,[<P2>]]]]

Command

Possible responses

AT+DS=?

+DS: (0-3),(0,1),(512-2048),(6-250) OK

Note: Test command

 

AT+DS=3,0, 2048,250

OK

Note: Set new parameters

Note: Command valid

AT+DS?

+DS: 3,0,2048,250

Note: Current values

OK

 

Note: Command valid

Defined values:

<dir >: specifies the desired direction(s) of operation of the data compression function; from the DTE point of view

0Negotiated … no compression

1Transmit only

2Receive only

3Both directions, accept any direction (default value)

<neg >: specifies whether or not the DCE should continue to operate if the desired result is not obtained

0Do not disconnect if V.42 bis is not negotiated by the remote DCE as specified in <dir> (default value)

1Disconnect if V.42 bis is not negotiated by the remote DCE as specified in <dir>

<P1 >: specifies the maximum number of dictionary entries that should be negotiated (default is 2048)

Range 512 to 2048

<P2 >: specifies the maximum string length to be negotiated (default is 20).

Range 6 to 250

8-6

Page 80
Image 80
Moxa Technologies G2150I Select Data Compression %C, V42 bis Data Compression +DS, AT%C0 AT%C2 AT%C?, At+Ds=?, At+Ds?