[PATCH 5/5] hfpmodem: Send AT+BAC with the supported codecs

2013-04-03 Thread Vinicius Costa Gomes
Before, the AT+BAC command was being sent with fixed information, now we send the command (that inform the AG of the codecs supported by the HF) with the codecs supported by the registered Handsfree Audio Agent. --- drivers/hfpmodem/slc.c | 21 - 1 file changed, 20 insertions(+

[PATCH 3/5] hfp_hf_bluez5: Select the audio card driver based on version

2013-04-03 Thread Vinicius Costa Gomes
--- plugins/hfp_hf_bluez5.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index 4c8f412..41ea549 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -436,7 +436,7 @@ static DBusMessage *profile_

[PATCH 4/5] handsfree-audio: Add function to get the codecs

2013-04-03 Thread Vinicius Costa Gomes
From: Claudio Takahasi This patch adds a new handsfree-audio public function to read the available codecs registered by the agent. --- include/handsfree-audio.h | 1 + src/handsfree-audio.c | 13 + 2 files changed, 14 insertions(+) diff --git a/include/handsfree-audio.h b/inclu

[PATCH 2/5] hfp_hf_bluez5: Add audio card .connect() for HFP 1.6

2013-04-03 Thread Vinicius Costa Gomes
--- plugins/hfp_hf_bluez5.c | 41 - 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c index a6cc156..4c8f412 100644 --- a/plugins/hfp_hf_bluez5.c +++ b/plugins/hfp_hf_bluez5.c @@ -67,6 +67,8 @@ st

[PATCH 1/5] hfp_hf_bluez5: Add extracting version

2013-04-03 Thread Vinicius Costa Gomes
From: Claudio Takahasi This patch parses and reads the profile "Version" that comes in the fd dictionary of the NewConnection method. "Version" is input for Audio Card registration. --- plugins/hfp_hf_bluez5.c | 49 - 1 file changed, 48 insertions(