IOBluetoothRFCOMMChannel and NSThread
IOBluetoothRFCOMMChannel and NSThread
- Subject: IOBluetoothRFCOMMChannel and NSThread
- From: Yann Bizeul <email@hidden>
- Date: Sun, 2 May 2004 11:04:12 +0200
Hello List,
I used to open a RFCOMM channel without using threads with no
problems. But this is blocking sometimes when the device is not
reachable.
So I wanted to open the connection in a Thread. The problem is that I
do no longer receive any data from the device, I set the delete of
IOBluetoothRFCOMMChannel to self, but my
- (void)rfcommChannelData:(IOBluetoothRFCOMMChannel*)rfcommChannel
data:(void *)dataPointer length:(size_t)dataLength;
Is never called.
Can somebody explain why using thread could change something ?
Thanks
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.