User`s manual
Command Reference Manual
1199 6-15
6.2.2.12
+VSM - Compression Method Selection
This command causes the modem to set the voice compression method, the silence compression sensitivity, and the voice
sampling rate.
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,7200,0,0 Default
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 (7200, 8000, or 11025).
Note:
At 11025, concurrent tone detection is
not
supported.
<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,(7200,8000,11025),0,0
129,"IMA ADPCM",4,0,(7200,8000),0,0
130,"UNSIGNED PCM",8,0,(7200,8000,11025),0,0
140,"2 Bit ADPCM",2,0,(7200,8000,11025),0,0
141,"4 Bit ADPCM",4,0,(7200,8000,11025),0,0
OK
Result Codes
OK Valid range.
ERROR Otherwise. or if not in Voice Mode.