How to find an existing RFCommChannel on device
How to find an existing RFCommChannel on device
- Subject: How to find an existing RFCommChannel on device
- From: Peter Sichel <email@hidden>
- Date: Thu, 13 Aug 2009 10:55:16 -0400
I'm working on a program which connects to Bluetooth phones following
Apple's sample code.
Sometimes, when I attempt to open an RFCommChannel, I get the
following error
Error - open sequence failed. ioResult=e00002c5 ***
Aug 13 10:16:45 Zippy PhoneAmego[20543]: kIOReturnExclusiveAccess -
exclusive access and device already open
because the channel is already open by a previous instance of my own
program but I no longer have the IOBluetoothRFCOMMChannel object.
My question is how to recover the IOBluetoothRFCOMMChannel object if
the channel is already open?
Should I close the connection to the device and start over, or is
there some other way to recover
an existing RFCommChannel given the service record or channelID?
Thanks for any insight,
- Peter Sichel
Sustainable Softworks
_______________________________________________
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