• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bluetooth crisis ..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bluetooth crisis ..


  • Subject: Re: Bluetooth crisis ..
  • From: Lou Zell <email@hidden>
  • Date: Sat, 07 May 2011 14:24:29 -0700

Hi JP, 

I'm the one that answered your stack overflow question.  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.  If I get one I will share it here and on the cocoaasyncsocket list.  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.  Unfortunately, if you have an app where other devices can join later, you'll have to get creative :)

Lou

On Sat, May 7, 2011 at 2:09 PM, JP May <email@hidden> wrote:
In short:

how the heck can you make real-time networking work on iOS devices?  (device to device)


It works perfectly IF the user does not have silly bluetooth running on the client device.

If you turn on bluetooth on the client, it just doesn't work, all comms are clogged-up.



Here's a full test project:
>> http://www.mediafire.com/?a1cnkodxd5mna6c


here's a video!
>> http://www.mediafire.com/?rie4xpeeptgemvo
(the device that does not work as a client, has bluetooth running on it.)



TCP or UDP, makes no difference.  Turn on bluetooth on the client and it falls apart.



Yet, there do exist iPhone games with realtime networking, which will work even if you forgot to turn off Bluetooth on your iPhone.

What the heck is the solution ?

Is there a way to programmatically turn bluetooth OFF ...??  There must be some solution.



Cheers,
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

 _______________________________________________
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

  • Follow-Ups:
    • the Zell solution ... it works!
      • From: JP May <email@hidden>
    • Re: Bluetooth crisis ..
      • From: JP May <email@hidden>
References: 
 >Bluetooth crisis .. (From: JP May <email@hidden>)

  • Prev by Date: Bluetooth crisis ..
  • Next by Date: Re: Bluetooth crisis ..
  • Previous by thread: Bluetooth crisis ..
  • Next by thread: Re: Bluetooth crisis ..
  • Index(es):
    • Date
    • Thread