Re: Pairing with a device that requires authentication using an "empty password"
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Can you send me the bluetooth documentation you use? Thanks! Patrick Hello everybody, - [IOBluetoothDevice openConnection:] returns 4 via the delegate connectionComplete:status: - [IOBluetoothDevice requestAuthentication] returns 2 Best regards, Felix Schwarz _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/pcardinot%40netscape.ne... _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... Le 4 sept. 08 à 23:13, Felix Schwarz <felix.schwarz@iospirit-gmbh.de> a écrit : 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)) 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. This email sent to pcardinot@netscape.net This email sent to site_archiver@lists.apple.com
participants (1)
-
P.Cardinot