AT Command Manual for Sierra MC87XX Module

MC87xx Extended AT Command Reference
94 2130616
!AVCODECTXG
=<profile>, <value>
!AVCODECTXG?
Supporting Mini Cards:
MC8775V
MC8785V
MC8790V
MC8791V
MC8792V
Set / query the TX gain
This command sets the CODEC TX gain for the specified audio profile.
The CODEC TX gain is applied to the digital signal after its conversion
from the analog domain to provide additional gain range from -84dB to
+12dB in the transmit direction.
This setting is stored in non-volatile memory and persists across power
cycles.
Module-specific details:
MC8775V:
· The change to the audio system takes place immediately
if the specified audio profile is active.
· This command has no effect if the specified profile’s
external PCM interface is enabled. Use !AVEXTPCMSEL
to disable the interface.
MC8785V / MC8790V / MC8791V / MC8792V:
· The change to the audio system takes place the next time
the sound device (re)starts.
· This command has no effect if a PCM audio proifile (ID 6
or 7) is enabled.
Usage:
AT!AVCODECTXG=<profile>, <value> sets the CODEC TX gain for
the specified <profile>.
AT!AVCODECTXG?<profile> returns the current CODEC TX gain
(<value>) for the specified <profile>.
Parameters:
<profile> (audio profile number):
0 = Handset
1 = Headset
2 = Car kit
3 = Speaker phone
4 = Auxiliary
5 = TTY
(MC8785V / MC8790V / MC8791V / MC8792V only)
6 = Auxiliary external PCM (128 kHz clock)
(MC8785V / MC8790V / MC8791V / MC8792V only)
7 = Primary external PCM (2 MHz clock)
<value> (gain value—selected <profile>)
Min = 0x0000 (mute)
Max = 0xFFFF
Unity gain = 0x4000
You can calculate the gain in dB using this formula:
Gain = 20 log
10
(<value> / 16384)
Note: In the command, <value> is in hexadecimal format. In the
formula, convert <value> to decimal format.
Table 7-3: Voice command details (Continued)
Command Description