Vsm - Compression Method Selection - Conexant H08-15355F Reference Manual

Commands for host-processed and host-controlled modems
Table of Contents

Advertisement

5.2.2.13 +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:
+VSM: <cml>,<vsr>,<sds>, <sel>
Example:
+VSM: 130,UNSIGNED PCM,8,0,127,0
Reporting Supported Range of Parameter Values
Command:
+VSM=?
Response:
+VSM: <cml>, <cmid>, <bps>, <tm>,<vsr>,<sds>, <sel>
<cml>
Decimal number identifying the compression method (1, 128 to 133).
<cmid>
Alphanumeric string describing the compression method (UNSIGNED PCM, 8-BIT LINEAR, ADPCM,
ULAW, ALAW, or LINEAR).
<bps>
Decimal number defining the average number of bits in the compressed sample not including silence
compression (4, 8, or 16).
<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 or 8000).
<scs>
<range of values> containing the supported range of sensitivity settings for voice receives (0).
<sel>
<range of values> containing the supported range of expansion values for voice transmits (0).
Example:
AT+VSM=?
1,"UNSIGNED PCM",8,0,(7200,8000),(0),(0)
128,"8-BIT LINEAR",8,0,(7200,8000),(0),(0)
129,"ADPCM",4,0,(7200,8000),(0),(0)
130,"UNSIGNED PCM",8,0,(7200,8000),(0),(0)
131,"ULAW",8,0,(7200,8000),(0),(0)
132,"ALAW",8,0,(7200,8000),(0),(0)
133,"LINEAR",16,0,(7200,8000),(0),(0)
Result Codes
OK
Valid range.
ERROR
Otherwise, or if not in Voice Mode.
5-14
Command Reference Manual
Conexant
1118

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents