core: Set EchoCancelingNoiseReduction to TRUE by default
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Tue, 23 Apr 2013 17:21:40 +0000 (14:21 -0300)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 23 Apr 2013 15:20:02 +0000 (10:20 -0500)
commit275fe0df8140955fef218396e0c8c622fd1f94f9
treeaef1cf7fb462c248e8d803bf819111cbbb167e3f
parent6ef7d4fa8890e76979f90c52ee2bbf0ffeaee5a4
core: Set EchoCancelingNoiseReduction to TRUE by default

According to Bluetooth HFP spec: By default, if the AG supports its
own embedded echo canceling and/or noise reduction functions, it shall
have them activated until the AT+NREC command is received. The
configuration set by the HF shall by used by the AG while the Service
Level Connection is active.

Since there isn't a command to query the current value, it is being
assumed that Echo Canceling and Noise Reduction is enabled when the
connection is established and the gateway supports this feature.
src/handsfree.c