Re: Bluetooth and runloops in a dedicated thread.
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