Re: [LightBlue-devel] Use of lightblue in multithreaded applications
Status: Alpha
Brought to you by:
blammit
From: Lukas H. <Lu...@gm...> - 2010-02-09 07:55:18
|
Hello, as multithreading isn't possible I tried to switch to a asynchronous behaviour. Is it possible to speficy a callback that gets called when there is new data availabe? Should rfcommChannelData:rfcommChannel:data:length not be called when there is new data available? I added a NSLog output in this function, but it is only shown after I call the recv method of the socket. Does anybody know why? Lukas |