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
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to