Table 7-3: Voice command details (Continued)
!AVCODECSTG
=<profile>, <value>
!AVCODECSTG?
<profile>
Supporting Mini Cards:
•
MC8775V
•
MC8785V
•
MC8790V
•
MC8791V
•
MC8792V
Rev 2.9 Oct.08
Command
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:
•
•
Usage:
•
•
Parameters:
<profile> (audio profile number):
•
•
•
•
•
•
•
•
<value> (gain value—selected <profile>)
•
•
•
You can calculate the gain in dB using this formula:
Gain = 20 log
Note: In the command, <value> is in hexadecimal format. In the
formula, convert <value> to decimal format.
Description
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
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.
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>.
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)
Min = 0x0000 (mute)
Max = 0xFFFF
Unity gain = 0x4000
(<value> / 16384)
10
Voice Commands
!AVEXTPCMSEL
93