Re: Pairing with a device that requires authentication using an "empty password"
Re: Pairing with a device that requires authentication using an "empty password"
- Subject: Re: Pairing with a device that requires authentication using an "empty password"
- From: "P.Cardinot" <email@hidden>
- Date: Fri, 5 Sep 2008 00:10:50 +0200
Can you send me the bluetooth documentation you use?
Thanks!
Patrick
Le 4 sept. 08 à 23:13, Felix Schwarz <email@hidden>
a écrit :
Hello everybody,
I'm currently writing an OS X driver for a new Bluetooth device. I
do, however, have problems to get a baseband connection to the
device through all of
- [IOBluetoothDevice
openConnection:withPageTime:authenticationRequired:]
returns 4 via the delegate connectionComplete:status:, even when
pageTimeout is (4 * kDefaultPageTimeout))
- [IOBluetoothDevice openConnection:]
returns 4 via the delegate connectionComplete:status:
- [IOBluetoothDevice requestAuthentication]
returns 2
In PacketLogger, I can see page timeouts for
Write_Authentication_Enable as well as Create_Connection.
On the other hand - [IOBluetoothDevice getServices] returns the
device information (but then I'm aware that that info may be from
the cache of the BT stack from previous successful pairings => see
below).
After a few tries, I can pair the device successfully when going
through the OS X Bluetooth Assistant, selecting "All" and "Empty
password". I'd like to be able to directly pair with that device,
though, using IOBluetoothInquiry and IOBluetoothDevice.
I tried IOBluetoothPairingController as a middle way, but it doesn't
seem to allow me to set that an "empty password" be sent instead of
prompting the user. Instead, it will prompt the user for a password.
Is there any API I've missed that allows me to pair directly with a
device that requires authentication with an "empty password"?
Also, what does "empty password" mean in technical terms? I couldn't
find any info on this in the Bluetooth specs.
Thanks for any insight and help you can provide. I can't wait to get
support for that device into the hands of OS X users.
Best regards,
Felix Schwarz
_______________________________________________
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