Re: Handsfree Profile (HFP) Implementation
Re: Handsfree Profile (HFP) Implementation
- Subject: Re: Handsfree Profile (HFP) Implementation
- From: Bubba Giles <email@hidden>
- Date: Wed, 05 Jul 2006 18:39:38 -0700
- Thread-topic: Handsfree Profile (HFP) Implementation
Title: Re: Handsfree Profile (HFP) Implementation
I’m sure that you need to make your PowerBook not be a “Computer”. Using the CoD section of the Bluetooth Explorer, you probably need to make you computer look like an Audio/HandsFree Device Class, and you might add “Audio” and “Telephony” to the service classes. I am sure the phone is very picky about what it considers to be the “right” type of device for it. Note that these values are not “sticky” - on a restart, your computer will show up as device class “Computer” again.
The Explorer should be able to to tell you a few things about a device – when doing a discovery, the discovery list shows what major/minor class a device has. With 10.4.7, there’s a backdoor in which you can find out more information about what services are on a particular device. To see the detailed info, launch the Setup Assistant from the menu extra. Select “Any Device” and continue, and then wait for your device to show up in the list of devices. Now hold down the option key and click Continue. On the next screen a textbox will appear during the gathering services phase, and in it you’ll get a printout of what services a device has, and what channels they are. It isn’t totally comprehensive, but it is better than nothing. We are thinking about adding a utility function to the Explorer to get all SDP from a device and display it, but not until Leopard. If you think this would be a useful addition, let us know and we’ll make sure to include it.
I hope that helps,
Jason
Thanks for the reply Marco,
My device is discoverable, sorry I forgot to mention that.
I'm not all that familiar with the service discovery in Bluetooth, but it sounds like the phone will be listening for devices which broadcast themselves as supporting the profile it's interested in, correct? In that case, could there be something I'm setting incorrectly so that the phone ignores my powerbook as a valid handsfree device?
Also, are there tools for either Mac or Windows ( preferably free, i'm a poor grad student ) that I can use to view the profiles supported by other devices? It would probably help to have something that gives a bit more information than the phone.
Thanks,
Andrew Cooper
On Jul 5, 2006, at 12:08 PM, Marco Pontil wrote:
Hello Andrew,
Make sure your device is discoverable. Also Packet Logger would not tell you if your device is discovered (discovery is all managed by the HW, all you can do is to tell to the HW to be discoverable or not), but it can tell you what happens once a device connects to you.
.. Marco
On Jul 5, 2006, at 12:52 AM, Andrew Cooper wrote:
As far as I can tell, these are the correct values according to the spec.
Now, when I use my phone to search for new Handsfree devices, it does not find my machine. Also, PacketLogger.app does not capture any packets while the phone is searching, which seems odd. Is there anything else I need to do to let the phone see the new handsfree device? I noticed that there are a lot of checkboxes in the Class of Device section of Bluetooth Explorer, but I did not change them since I'm not exactly sure what they do. Perhaps I need to add Audio or Telephony to my machine's class?
_______________________________________________
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
_______________________________________________
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