Specifications
TC35i AT Command Set
Confidential / Released
TC35i_ATC_V01.05 Page 213 of 278 04.08.2003
7.24 AT^SNFA Set or query microphone attenuation
Test command
AT^SNFA=?
Response
^SNFA: (list of supported <atten>s)
Parameter
See read command
Read command
AT^SNFA?
Response
TA returns the current attenuation value on the microphone path for the current
audio device (selected with AT^SNFS, see section 7.31).
^SNFA: <atten> OK
<atten> Integer type value. Range: 0 – 65535.
Multiplication factor for input samples. Parameter <atten> is identical
with <inCalibrate> of AT^SNFI.
Formula used to calculate microphone attenuation (negative gain):
Gain in dB = 20 * log(<atten>/32768)
0 = Microphone is muted.
32767 = No attenuation on the microphone path. Values
greater than 32767 are not used.
Write command
AT^SNFA=
<atten>
TA controls the large-scale attenuation on the microphone path for the current au-
dio device (selected with AT^SNFS, see 7.31) with the following restrictions:
· It is not allowed for audio device 1.
· As long as the microphone is muted, the write command is temporarily dis-
abled.
· Setting of value 0 is not allowed (use AT^SNFM=0 for this; see section 7.28).
· For values greater than 32767, 32767 will be used.
Response
OK
If error is related to ME functionality
+CME ERROR: <err>
Parameter
See read command
Reference
Note
· The command is provided for compatibility with M20 and is a subset to
AT^SNFI (see Chapter 7.27) The parameter <inCalibrate> of AT+SNFI is iden-
tical with <atten> of AT^SNFA.
· To make the changes persistent use AT^SNFW (see Chapter 7.33). To restore
factory defaults use AT^SNFD (see Chapter 7.26).
· The write command works only in audio modes 2 to 6.
· Command does not require a PIN.
Examples
^SYSSTART
at^snfa=?
^SNFA: (0-65535)
OK
at^snfa?