linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] [Patch] org.bluez.audio.headset.Connect() to handsfree
@ 2007-12-06 11:27 Frédéric Dalleau
  2007-12-06 11:30 ` Frédéric Dalleau
  2007-12-06 11:40 ` Marcel Holtmann
  0 siblings, 2 replies; 6+ messages in thread
From: Frédéric Dalleau @ 2007-12-06 11:27 UTC (permalink / raw)
  To: BlueZ development

Hello,

As of today, when calling org.bluez.audio.headset.Connect(), the hfp 
profile is searched only if the headset->hfp_handle is initialized.
This member variable is initialized upon CreateDevice the first time the 
device is created (during resolve_services).
The variable is not initialized when the audio service is restarted, so 
after restarting audio service, it is no longer possible to connect to hfp.

The attached patch fix the problem as follow : first search the hfp 
profile handle, then search an hsp profile handle, by getting rfcomm 
channel to connect to.

It is based against latest git tree.

Frederic.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-11 15:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-06 11:27 [Bluez-devel] [Patch] org.bluez.audio.headset.Connect() to handsfree Frédéric Dalleau
2007-12-06 11:30 ` Frédéric Dalleau
2007-12-06 11:40 ` Marcel Holtmann
2007-12-06 15:16   ` Frédéric Dalleau
2007-12-07 14:02     ` Frédéric Dalleau
2007-12-11 15:44       ` [Bluez-devel] [Patch] Service Level Connection for HFP Alok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).