Telenetics 56 User Manual

Page 201

Advertising
background image

AT Commands

Page 193

+VSM - Compression Method Selection

This command causes the modem to set the voice compression method, the
silence compression sensitivity, and the voice sampling rate.

Reporting Supported Range of Parameter Values

Syntax

+VSM=<cml>,<vsr>,<sds>,<sel>

Defined Values

<cml> Decimal number identifying the compression method.

<vsr> <range of values> containing the supported range of voice

samples per second of the analog signal.

<scs> <range of values> containing the supported range of sensitivity

settings for voice receives.

<sel> <range of values> containing the supported range of expansion

values for voice transmits.

Reporting Current or Selected Values
Command: +VSM?
Response: <cml>,<vsr>,<sds>,<sel>
Example:

1,8000,0,0

For the default setting.

Reporting Supported Range of Parameter Values
Command: +VSM=?
Response: <cml>,<cmid>,<bps>,<tm>,<vsr>,<sds>,<sel>

<cml> Decimal number identifying the compression

method (1, 129, 130, 140, or 141).

<cmid> Alphanumeric string describing the compression

method (UNSIGNED PCM, IMA ADPCM,
UNSIGNED PCM, 2 Bit ADPCM, or 4 Bit
ADPCM).

<bps> Decimal number defining the average number

of bits in the compressed sample not including
silence compression (2, 4 or 8).

<tm> Decimal number (0) reporting the time interval,

in units of 0.1 second, between timing marks. A
value of 0 reports that timing marks are not
supported.

<vsr> <range of values> containing the supported

range of voice samples per second of the
analog signal (8000).

<scs> <range of values> containing the supported

range of sensitivity settings for voice receives
(0). A 0 indicates not supported.

<sel> <range of values> containing the supported

range of expansion values for voice transmits
(0). A 0 indicates not supported.

Example: 1,"UNSIGNED PCM",8,0,8000,0,0

129,"IMA ADPCM",4,0,8000,0,0
130,"UNSIGNED PCM",8,0,8000,0,00
140,"2 Bit ADPCM",2,0,8000,0,0
141,"4 Bit ADPCM",4,0,8000,0,0
OK

Result Codes

OK Valid

range.

Advertising