Re: Bluetooth Foundation Tool
Re: Bluetooth Foundation Tool
- Subject: Re: Bluetooth Foundation Tool
- From: Tim Hewett <email@hidden>
- Date: Sat, 6 Oct 2007 22:39:06 +0100
Hugo,
It seems to me that all you have to do is perform your Bluetooth registration and setup (including setDelegate and registration of notification methods) then run the NSRunLoop.
As an example this is the entry point for my Bluetooth-only NSThread:
- (void)bluetoothServer:(id)sender { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[self publishService];
[[NSRunLoop currentRunLoop] run]; } Tim.
Hello developers,
I can't seem to find much information about this. I am creating a Foundation Tool from an existing bluetooth cocoa application. After i remove all the GUI related stuff the application ceases to work. I checked out, and all the processisng of the application is run on NSRunLoop.
I've read about Runloops and all, but i can't seem to find any example with bluetooth.
Can anyone please guide me on the right path? I'm really lost here.
Thanks, Hugo
|
_______________________________________________
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