Problem with Bluetooth Setup Assistant
Problem with Bluetooth Setup Assistant
- Subject: Problem with Bluetooth Setup Assistant
- From: Eriksson HÃ¥kan <email@hidden>
- Date: Mon, 22 Sep 2008 16:34:09 +0200
- Thread-topic: Problem with Bluetooth Setup Assistant
Hi!
I am new to this list, so first of all I apologize if this post is too much of a newbie question. To my defense, I have browsed the list archive from a year back, and haven't found any relevant post that could help me, so I thought I'd dare to post a question myself.
I am working with a HID device that requires a PIN code authentication, but there are no means to input any random PIN on the device; the PIN is hard coded into the device's firmware.
I am able to pair the device on Mac OS 10.4, but not on 10.5. It also works on Windows, och different BT stacks (and possibly different OS versions, I'm not sure about the details).
I get the following behaviour from the Bluetooth Setup Assistant:
1. I choose "Any Device", and select my device from the list and choose passkey option "Use a specific passkey".
2. A popup dialog says that "The device you are setting up requests a passkey", with an option to enter a key.
3. I enter our PIN code and press continue. Then Bluetooth Setup Assistant will (most often) select a random PIN and try that on the device, which rejects it and disconnects.
If I instead choose NOT to pair (in the dialog mentioned in 2. above), the Bluetooth Setup Assistant does NOT send a random PIN to the device, but I get another opportunity to enter PIN, which works fine.
There are some timing issues here. When I wrote the description above, and consequently let the dialog boxes last a bit longer than normally, I managed to connect the device (but I had to enter the PIN twice, which is confusing).
Normally, the Setup Assistant cooks up a random PIN and sends it to the device.
Or maybe it's not related to timing, I cannot reproduce that successful attempt again...
So, sometimes it skips the random PIN altogether, sometimes itr generates a random PIN, and on very few occasions it allowed me to enter PIN myself, a second time.
Anyway, it seems to me that the fact that our device requests a PIN authentication triggers the first popup, and that the Bluetooth Setup Assistant will want to ask for PIN as well, even though the PIN request has already been made from our device.
I also tried passkey option "Do not use passkey with this device", hoping that the PIN request from our device will be enough, but that doesn't work either.
The visible difference between 10.4 and 10.5 is that there is no "The device you are setting up requests a passkey" popup dialog on 10.4. Our device FW is the same, and should request a PIN in borth cases; on 10.4 we don't get that popup, and on 10.5 we do, and to me it seems that that popup is the problem (or a symptom of the problem).
So, that's pretty much it. Any ideas? :-)
Best regards,
H. Eriksson
_______________________________________________
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