User guide

Chapter 15 – Audio Commands
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide (PN S000478C) 80
Speaker & Microphone Selection +SPEAKER
Description: This command is used to select the voice path, and activates a speaker/microphone audio path.
The modem provides three audio paths: analog1, analog2, and digital1. An audio path is
functional only with appropriate external hardware.
Voice paths may be changed while a call is in progress as well as in the idle state.
Syntax: Command Syntax: AT+SPEAKER=<n>
Command Possible Responses
AT+SPEAKER=0
Note: Select analog1 audio path.
OK
Note: Command valid.
AT+SPEAKER
Note: Select analog1 audio path.
OK
Note: Command valid (default path)
AT+SPEAKER=1
Note: Select analog2 audio path.
OK
Note: Command valid.
AT+SPEAKER=2
Note: Select digital1 audio path.
OK
Note: Command valid.
AT+SPEAKER? +SPEAKER: 1
OK
Note: analog2 audio path active.
AT+SPEAKER=?
Note: Get the range of values.
+SPEAKER: (0-2)
Defined Values:
< n >
0 Analog1 – LINE_IN and HPH_OUT. (default)
1 Analog2 – MIC2 and SPKR_OUT.
2 Digital1 – PCM.
If no argument is supplied to the command, the default value is assumed. The configuration is
saved immediately. The Analog 1 output is designed to drive a 32 speaker, while the Analog
2 output is designed to drive an 8 speaker. See the Audio Overview section for more
information.
Microphone Gain Enable +MGE
Description: This command enables or disables the 24dB microphone gain amplifier.
Syntax: Command Syntax: AT+MGE=<val1>
Command Possible Responses
AT+MGE OK
Note: Sets default value of 0
AT+MGE=0 OK
Note: Disable amplifier
AT+MGE?
Note: Interrogate value
+MGE: 1
OK
Note: Current value
AT+MGE=?
Note: Test command
+MGE : (0-1)
OK
Note: Possible values
Values: <Gain>
0 Amplifier Disabled (0dB gain) (default)
1 Amplifier Enabled (24dB gain)
If no argument is supplied to the command, the default value is assumed. The configuration
is saved immediately. See the Audio Overview section for more information.