Re: Device Pairing Re-revisited
Re: Device Pairing Re-revisited
- Subject: Re: Device Pairing Re-revisited
- From: Joseph Kelly <email@hidden>
- Date: Tue, 7 Feb 2006 16:24:50 -0800
On Feb 7, 2006, at 2:39 PM, Alexander Traud wrote:
If the Bluetooth service needs authentication, than a pairing is
requires.
Bluetooth service? I'm using a simple RFCOMM channel (serial port
service class). Is there something more I should be doing?
Since Mac OS X v10.4.3 since can be done programmatically without
the Apple
Bluetooth Assistant.
How? (Dammit, I'd hate if I missed a new SDK.)
Again: It depends on the security setting of the remote
Bluetooth device, if a pairing is required.
We've tried adjusting the security. It's now at the 0 level (lowest
-- no passcode, etc). And it still fails.
The resulting error code should have been quite informative for such a
case...
There is no resulting error. I make the call to -
openRFCOMMChannelAsync: which returns immediately with 0, and then -
rfcommChannelClosed: gets called almost immediately after. -
rfcommChannelOpenComplete:status: never gets called.
If the device is in range and closes the connection correctly (shut
down,
turning off), it is quite immediately. If the device is out of
range, the
event fires reasonable.
I am now getting -rfcommChannelClosed: messages quite happily. I had
forgotten to add all the delegate methods.
I'm probably going to DTS this one, but I'm hoping someone could say
"oh yeah, we had that problem and we fixed it like this..." This also
could be a problem with the device itself, but since the Bluetooth
Setup Assistant makes everything just work, then dammit, I want
joe
_______________________________________________
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