AT Command Manual for Sierra MC87XX Module

Voice Commands
Rev 2.9 Oct.08 93
!AVCODECSTG
=<profile>, <value>
!AVCODECSTG?
<profile>
Supporting Mini Cards:
MC8775V
MC8785V
MC8790V
MC8791V
MC8792V
Set / query CODEC sidetone gain
This command sets / queries the CODEC sidetone gain for the specified
audio profile. The side tone is the sound of the mobile user's own voice
as heard on the mobile's speaker, and the gain ranges from -84dB to
+12dB.
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!AVCODECSTG=<profile>, <value> sets the CODEC sidetone
gain for the specified <profile>.
AT!AVCODECSTG?<profile> returns the current CODEC sidetone
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