• 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
Re: Bluetooth and runloops in a dedicated thread.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bluetooth and runloops in a dedicated thread.


  • Subject: Re: Bluetooth and runloops in a dedicated thread.
  • From: Zach Rosen <email@hidden>
  • Date: Tue, 27 Apr 2010 22:42:53 -0700

>>
>> I don't see how to do the bluetooth communications in another process be non-trivial. Is there a simple approach to that?
>
> I implemented a simple custom protocol over Unix pipes, allowing the
> parent to direct the child in performing some simple Bluetooth
> operations. It certainly wasn't fun to implement, but from what you've
> said so far, I think handling the Bluetooth operations in the same
> process will work fine in your case if you structure it right.

Instead of pipes, you could use an NSDistributedObject to communicate with your Bluetooth process.
In fact, I think this may be how the Bluetooth framework communicates with "blued".


 _______________________________________________
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

References: 
 >Bluetooth and runloops in a dedicated thread. (From: David Giovannini <email@hidden>)
 >Re: Bluetooth and runloops in a dedicated thread. (From: Dave Keck <email@hidden>)
 >Re: Bluetooth and runloops in a dedicated thread. (From: David Giovannini <email@hidden>)
 >Re: Bluetooth and runloops in a dedicated thread. (From: Dave Keck <email@hidden>)
 >Re: Bluetooth and runloops in a dedicated thread. (From: David Giovannini <email@hidden>)
 >Re: Bluetooth and runloops in a dedicated thread. (From: Dave Keck <email@hidden>)

  • Prev by Date: Re: Bluetooth and runloops in a dedicated thread.
  • Next by Date: Re: Bluetooth and runloops in a dedicated thread.
  • Previous by thread: Re: Bluetooth and runloops in a dedicated thread.
  • Next by thread: Re: Bluetooth and runloops in a dedicated thread.
  • Index(es):
    • Date
    • Thread