Open Source Telephony
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: ofono@ofono.org
Subject: Re: [RFC v0 00/11] External HFP Profile
Date: Fri, 23 Nov 2012 13:43:06 +0200	[thread overview]
Message-ID: <20121123114306.GA10157@x220.ger.corp.intel.com> (raw)
In-Reply-To: <1353606808-25032-1-git-send-email-claudio.takahasi@openbossa.org>

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

Hi Claudio,

On Thu, Nov 22, 2012, Claudio Takahasi wrote:
> BlueZ supports now external profile registration, see:
> bluez/doc/profile-api.txt
> 
> This patch series has the initial implementation of the HFP external
> profile in oFono. HandsfreeAgent and HandsfreeGateway interfaces were
> removed from BlueZ.

I also got this weirdness:

ofonod[9813]: plugins/hfp_hf.c:profile_new_connection() Profile handler NewConnection
ofonod[9813]: plugins/hfp_hf.c:profile_new_connection() /org/bluez/hci0/dev_70_F9_27_18_1F_B9: doesn't support HFP

Which seems to be from the following set of code in
profile_new_connection():

	hfp_data = g_hash_table_lookup(hfp_hash, device);
	if (hfp_data == NULL) {
		DBG("%s: doesn't support HFP", device);
		goto error;
	}

You can't rely on SDP having been completed by the time there's an
incoming HFP connection. This is a very likely scenario when the remote
initiates the connection. In such a case the mere fact that the remote
has connected HFP to us *is* the proof that the remote supports HFP and
you should just accept such connection attempts.

Johan

  parent reply	other threads:[~2012-11-23 11:43 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22 17:53 [RFC v0 00/11] External HFP Profile Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 01/11] hfp_hf: Add HFP external Profile registration Claudio Takahasi
2012-11-26 11:08   ` Johan Hedberg
2012-11-26 11:24     ` Johan Hedberg
2012-11-22 17:53 ` [RFC v0 02/11] hfp_hf: Add BlueZ Profile handler Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 03/11] hfp_hf: Add parsing of Profile NewConnection call Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 04/11] hfp_hf: Add SLC setup Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 05/11] hfp_hf: Add Profile1 Release Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 06/11] hfp_hf: Remove HandsfreeAgent and HandsfreeGateway Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 07/11] hfp_hf: Register HFP modem dynamically Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 08/11] hfp_hf: Fix updating alias Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 09/11] bluetooth: Reuse D-Bus dictionary parser function Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 10/11] hfp_hf: Add Version and Features parsing Claudio Takahasi
2012-11-22 17:53 ` [RFC v0 11/11] bluetooth: Use generic function to parse dict Claudio Takahasi
2012-11-23  8:44 ` [RFC v0 00/11] External HFP Profile Johan Hedberg
2012-11-23  8:54   ` Johan Hedberg
2012-11-23 11:43 ` Johan Hedberg [this message]
2012-11-26 13:26 ` [RFC v1 00/15] " Claudio Takahasi
2012-11-26 13:26   ` [RFC v1 01/15] hfp_hf: Add HFP external Profile registration Claudio Takahasi
2012-11-26 13:26   ` [RFC v1 02/15] hfp_hf: Add BlueZ Profile handler Claudio Takahasi
2012-11-26 13:26   ` [RFC v1 03/15] hfp_hf: Add parsing of Profile NewConnection call Claudio Takahasi
2012-11-26 13:26   ` [RFC v1 04/15] hfp_hf: Add SLC setup Claudio Takahasi
2012-11-26 13:26   ` [RFC v1 05/15] hfp_hf: Add Profile1 Release Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 06/15] hfp_hf: Remove HandsfreeAgent and HandsfreeGateway Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 07/15] hfp_hf: Register HFP modem dynamically Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 08/15] hfp_hf: Fix updating alias Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 09/15] bluetooth: Reuse D-Bus dictionary parser function Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 10/15] hfp_hf: Add Version and Features parsing Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 11/15] bluetooth: Use generic function to parse dict Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 12/15] hfp_hf: Request secure connections Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 13/15] bluetooth: Fix memory leak of adapter_any_path Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 14/15] hfp_hf: Handle connections before probe Claudio Takahasi
2012-11-26 13:27   ` [RFC v1 15/15] bluetooth: Fix memory leak of UUIDs list Claudio Takahasi
2012-12-03 13:11   ` [PATCH v0 00/14] External HFP Profile Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 01/14] hfp_hf: Add HFP external Profile registration Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 02/14] hfp_hf: Add BlueZ Profile handler Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 03/14] hfp_hf: Add parsing of Profile NewConnection call Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 04/14] hfp_hf: Add SLC setup Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 05/14] hfp_hf: Add Profile1 Release Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 06/14] hfp_hf: Remove HandsfreeAgent and HandsfreeGateway Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 07/14] hfp_hf: Register HFP modem dynamically Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 08/14] hfp_hf: Fix updating alias Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 09/14] bluetooth: Reuse D-Bus dictionary parser function Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 10/14] hfp_hf: Add Version and Features parsing Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 11/14] bluetooth: Use generic function to parse dict Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 12/14] bluetooth: Fix memory leak of adapter_any_path Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 13/14] hfp_hf: Handle connections before probe Claudio Takahasi
2012-12-03 13:11     ` [PATCH v0 14/14] bluetooth: Fix memory leak of UUIDs list Claudio Takahasi
2012-12-17 14:28     ` [PATCH v0 00/14] External HFP Profile Claudio Takahasi

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=20121123114306.GA10157@x220.ger.corp.intel.com \
    --to=johan.hedberg@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