Re: Bluetooth and runloops in a dedicated thread.
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com
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 (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Zach Rosen