Re: Single-Threaded-App
Re: Single-Threaded-App
- Subject: Re: Single-Threaded-App
- From: Bubba Giles <email@hidden>
- Date: Tue, 28 Sep 2004 10:14:20 -0700
You need to make sure you have a runloop, otherwise you're app will never
get the callbacks.
Check out:
CFRunLoopRun()
Jason
email@hidden
> Hi List Memebers again,
>
> I'm still trying to figure out the problem with the connections to by
> remote devices. Therefore, I am trying to write a minimal Application
> to connect to that device. But so far with no luck.....
> Is it possible to write a signle threaded console-App, that connects to
> a RFComm-Channel and receives Callback-Events ? The connection seems
> to be successfull and also IOBluetoothRFCommWriteSync commands return
> 0. But my Callback-Function never receives any events (the device
> should be responing). In multi-threaded Apps this seems to be working.
>
> Any help ?
>
> Greetings
>
> Moritz
>
> _______________________________________________
> 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
_______________________________________________
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