Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH v2 3/3] hfp_hf_bluez5: Register the SDP record with correct features
Date: Thu, 25 Apr 2013 03:41:04 -0500	[thread overview]
Message-ID: <5178EC20.7000306@gmail.com> (raw)
In-Reply-To: <1366752112-8007-3-git-send-email-vinicius.gomes@openbossa.org>

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

Hi Vinicius,

On 04/23/2013 04:21 PM, Vinicius Costa Gomes wrote:
> ---
>   plugins/hfp_hf_bluez5.c | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>

Patch has been applied, thanks.

> diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
> index 826796f..06b6fd3 100644
> --- a/plugins/hfp_hf_bluez5.c
> +++ b/plugins/hfp_hf_bluez5.c
> @@ -636,10 +636,15 @@ static const GDBusMethodTable profile_methods[] = {
>
>   static void connect_handler(DBusConnection *conn, void *user_data)
>   {
> +	uint16_t features = HFP_SDP_HF_FEATURE_3WAY |
> +				HFP_SDP_HF_FEATURE_CLIP |
> +				HFP_SDP_HF_FEATURE_REMOTE_VOLUME_CONTROL |
> +				HFP_SDP_HF_FEATURE_WIDEBAND_SPEECH;
> +

Can we check whether the kernel supports wideband speech features here 
and not set this flag if it does not?

>   	DBG("Registering External Profile handler ...");
>
>   	bt_register_profile(conn, HFP_HS_UUID, HFP_VERSION_1_6, "hfp_hf",
> -					HFP_EXT_PROFILE_PATH, NULL, 0);
> +					HFP_EXT_PROFILE_PATH, NULL, features);
>   }
>
>   static gboolean has_hfp_ag_uuid(DBusMessageIter *array)

Regards,
-Denis

  reply	other threads:[~2013-04-25  8:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 21:21 [PATCH v2 1/3] bluez5: Unify bt_register_profile_* into a single function Vinicius Costa Gomes
2013-04-23 21:21 ` [PATCH v2 2/3] hfp: Add defines for HFP SDP feature bits Vinicius Costa Gomes
2013-04-25  8:40   ` Denis Kenzior
2013-04-23 21:21 ` [PATCH v2 3/3] hfp_hf_bluez5: Register the SDP record with correct features Vinicius Costa Gomes
2013-04-25  8:41   ` Denis Kenzior [this message]
2013-04-25 18:48     ` Vinicius Costa Gomes
2013-04-25  8:39 ` [PATCH v2 1/3] bluez5: Unify bt_register_profile_* into a single function Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5178EC20.7000306@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox