Commit: 7a81358e60237026f00b00f34413fb47d1711f05
Parent: 1b3f0a167ee6e31f5699fbf966c3855aa8764ad7
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-10-30 12:41:19
Tree: 9ce091cecbb925fc35b766149e3e505169900a8d

android/handsfree: Add helper to check codec negotiation support This patch adds helper to test if codec negotiation is supported. This patch fixes also logic behind that. So far we assumed that codec negotiation is there if HFP HF does support it, even HFP AG does not support it. It cause a problem with e.g. SLC creation in scenario where HFP AG is not supporting codec negoctiation. In such a case we incorrectly reply with ERROR on AT+CIND? because we incorretly expected AT+BAC before that command. Issue found on UPF.

Diffstat

M android/handsfree.c | 18 ++++++++++++- - - - - -

1 files changed, 12 insertions(+), 6 deletions(-)

View Full Diff | Patch