Re: Handsfree Profile (HFP) Implementation
Re: Handsfree Profile (HFP) Implementation
- Subject: Re: Handsfree Profile (HFP) Implementation
- From: Andrew Cooper <email@hidden>
- Date: Mon, 10 Jul 2006 03:29:54 -0500
So I got the phone to see my laptop vending the handsfree profile and
was able to establish the connection by following the procedures in
the spec. It seems that all I was lacking for the phone to see to see
the powerbook was a Major Service Class of Audio on the powerbook's
device class. Setting that through the Bluetooth Explorer.app allowed
me to connect the two devices and establish the RFCOMM channel that
HFP runs over.
Now, the next step is to get an SCO audio connection established with
the phone. I have read several accounts from 2003 how SCO wasn't
available or couldn't be used, but hardly anything recent. I've been
able to use the IOBluetoothAddSCOAudioDevice successfully to create
an audio input/output device pair, but trying to select that device
in the sound prefpane results in errors like
Jul 10 03:01:42 HKCPBG4 kernel[0]: REQUIRE failure:
mSCOConnectionHandle != 0 - file: /SourceCache/IOBluetoothFamily/
IOBluetoothFamily-175.3.10/Drivers/IOBluetoothSCOAudioDriver/
IOBluetoothSCOAudioDevice_new.cpp, line: 342
Jul 10 03:01:42 HKCPBG4 kernel[0]: REQUIRE failure: mBluetoothDevice !
= NULL - file: /SourceCache/IOBluetoothFamily/
IOBluetoothFamily-175.3.10/Drivers/IOBluetoothSCOAudioDriver/
IOBluetoothSCOAudioEngine_new.cpp, line: 236
in the system log. Is it even possible to use the current SCO Audio
Device implementation to communciate with an Audio Gateway device? If
so, how would I go about connecting it with the Built-in audio?
That's probably a question better suited for the CoreAudio list, but
I would like to know if my plan is even currently possible.
I do think that the ability to see the full SDP data could be useful.
Probably not for the average user, but a developer could likely find
the extra data quite useful. Perhaps as an Inspection function of the
Device Discovery List in Bluetooth Explorer.
Thanks,
Andrew Cooper
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden