Re: Bluetooth crisis ..
Re: Bluetooth crisis ..
- Subject: Re: Bluetooth crisis ..
- From: JP May <email@hidden>
- Date: Sat, 07 May 2011 23:46:18 +0200
Hi Lou,
On 7 May 2011, at 23:24, Lou Zell wrote:
> Hi JP, I'm the one that answered your stack overflow question.
I am sending over 500 points! :)
> I have a bug report filed with Apple and I suggest you do the same. AFAIK, there is no way to turn off Bluetooth without using a private API, but that isn't really what you want to do to your customers anyway! I am in the process of using one of my developer incident tickets to _hopefully_ get a workaround.
I'm doing the same thing...good one.
The two things that totally mystify me:
(1) there is a billion dollars worth of iPhone games being sold per year: after "opening PNGs", "realtime networking" is about the most basic issue in games. How come this isn't the number 1, most talked about issue, in the entirety of the iPhone universe? What do you have if you can't do realtime networking? It just doesn't make sense that you and me are seemingly the only people the issue it has ever come up for? How can the platform exist without dozens of realtime networking solutions laying around everywhere? Shouldn't the "bluetooth problem" be the biggest thing around? I just don't get it.
(2) In fact: there are a few name games I have found where it DOES WORK: you can have realtime networking, even if you "forget to turn of Bluetooth". (Say - "chopper 2" .. many examples exist.)
What's up with that? How did they do it? I don't get the impression that merely writing at a lower level, makes any difference.
> If I get one I will share it here and on the cocoaasyncsocket list.
For sure, thanks.
> What I can tell you now, though, is if you stop the NSNetServiceBrowser you should see much better performance when bluetooth is on. If you only need to find devices when you first launch your app, then this could be enough.
That's a HUGE lead, thanks!!
For the record, I tend to use CoreNetwork, eg CFNetServiceCreate etc - but I believe both are wrappers for the same so the same will apply. I will completely investigate that, and thanks again - priceless.
It occurs to me, perhaps Technical Q&A QA1297 is similar, also. (cancel your Resolve). My code has a comment "I must try cancelling the resolve one day".
Anyway I will do what you say and report back. Thanks again. Awesome.
> Unfortunately, if you have an app where other devices can join later, you'll have to get creative :)
My "creative" is all burned out! :-/
Fat Johnnie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden