• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IOBluetoothRFCOMMChannel and NSThread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: IOBluetoothRFCOMMChannel and NSThread
      • From: Marco Pontil <email@hidden>
  • Next by Date: Re: IOBluetoothRFCOMMChannel and NSThread
  • Next by thread: Re: IOBluetoothRFCOMMChannel and NSThread
  • Index(es):
    • Date
    • Thread