User manual

AT Command Set
MC35_ATC_01_V05.00 Page 205 of 256 15.07.2002
8.19 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 8.26).
^SNFA: <atten> OK
<atten> integer type value
0 (0x0) – 65535 (0xFFFF)
attenuation = 20 log(<atten>/32767)
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 8.26) 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 8.22).
· 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 an alternative to
AT^SNFI (see Chapter 8.21) The parameter <inCalibrate> of AT+SNFI is iden-
tical with <atten> of AT^SNFA.
· To make the changes persistent use AT^SNFW (see Chapter 8.28).
· Command does not require a PIN.
Examples
^SYSSTART
at^snfa=?
^SNFA: (0-65535)
OK
at^snfa?
^SNFA: 32767
OK
at^snfs=4
OK
at^snfa=1