opengitway / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

How to using BTstack receive RFCOMM data when application is in background? #330

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was using BTstack,and all the thing is working,but when the Application is in 
background,The Application can't reveive data right now.How to using BTstack 
receive RFCOMM data when application is in background? Like the BTstack Mouse / 
Keyboard / GPS.

Any thoughts or suggestions would be greatly appreciated.

Original issue reported on code.google.com by byy...@gmail.com on 6 Apr 2013 at 1:55

GoogleCodeExporter commented 9 years ago
That's not an issue. you should post on the developer mailing list, although 
that's not even an issue with BTstack, but a general "how do I run a program in 
background". First, running an app in background is bad design (I was young, 
and didn't know better). You should create a launch daemon and use BTstack in 
that. Anyway, please read Apple's iOS docu on background operation of apps. You 
can call "[application beginBackground....{}}" and it will run for 10 minutes.

Original comment by matthias.ringwald@gmail.com on 7 Apr 2013 at 8:40

GoogleCodeExporter commented 9 years ago
I  was tried to used the launch daemon.I will tell you when it is work.Thank 
you for you answer.it is very important for me! 

best regards!

Original comment by byy...@gmail.com on 14 Apr 2013 at 5:00

GoogleCodeExporter commented 9 years ago
I was create a daemon.It is working.

Original comment by byy...@gmail.com on 19 Jan 2014 at 3:36