Specifications

I2S Audio Commands
Rev. 8 May.12 Proprietary and Confidential 169
!AVREGVALWID
Supporting chipsets (voice-
enabled devices only):
MDM8200A (min f/w rev:
R0.2.15.0)
Note: This command is not
password protected.
Set codec register bit width
(This command is used only when the modem is controlling a codec in commercial
mode[AT!AVUSEMCU=0 and AT!AVMODESET=1].)
Set the register bit width of the customer’s I2S audio codec.
The change takes effect immediately but is non-persistent (the bit width reverts to
default when the device power cycles).
Usage:
Execution: AT!AVREGVALWID=<value>
Response:
OK
Purpose: Set the audio codec’s register bit width.
Query: AT!AVREGVALWID?
Response:
!AVREGVALWID: <value>
OK
Purpose: Return the register bit width.
Query list: AT!AVREGVALWID=?
Purpose: Return the command format, and supported <values>.
Parameters:
<value> (Bit width of codec register)
8=8 bits
16=16 bits (Default)
!AVRXDECGAIN
Supporting chipsets (voice-
enabled devices only):
MDM8200A (min f/w rev:
T3_0_1_5)
Set/report voice decoder gain
Set/report the voice decoder gain for a specific audio profile.
Usage:
Execution: AT!AVRXDECGAIN=<profile>,<value>
Response:
OK
Purpose: Set the decoder gain for the specified profile.
Query: AT!AVRXDECGAIN?<profile>
Response:
<value>
OK
Purpose: Return the decoder gain for the specified profile.
Parameters:
<profile> (Voice profiles)
Valid range: 0–2 (See !AVSETDEV on page 173 for available profiles.)
<value> (QCT Rx decoder gain)
The value is entered/returned in hexadecimal format.
Valid range: 0x2000 (0 dB)0xFFFF (18.06 dB)
Typical value: 0x2000
Table 8-2: I2S audio command details (Continued)
Command Description