Making the PC behave like a headset
"Phillip Berndt" <[email protected]>
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to make my PC behave like a bluetooth headset. I already read through the HSP specification and some code implementing its headset part. (namely a bluetooth plugin for Asterisk and the "ProjectBluezHandfree" [1]). Here's what I did, in order: * Create a RFComm listener socket for the control connection * Register at local SDP server (according to the specs: L2CAP, RFCOMM, generic audio and headset profile, headset service class) * Create a SCO listener socket for the audio connection (SOCK_SEQPACKET & BTPROTO_SCO - bind, listen & accept like with other sockets) * A RFComm handler responds to incoming RINGs. I also changed my dongle's (CSR chipset) service class to audio and told my mobile to use the "headset". The RFcomm part seems to work: The mobile connects to the PC on incoming calls. The PC responds. The mobile accepts the call. As far as I understand the specification, the mobile should establish a SCO link to my PC at that point. This, however, does not happen. What do I do wrong? Thanks in advance, Phillip Berndt Ps. I do not subscribe the ML, please cc to my address [1] http://wall4.soft.uni-linz.ac.at/_wiki/tiki-index.php?page=ProjectBluezHandsfree ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace