• 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: Unable To Find Connected Bluetooth Devices In My App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable To Find Connected Bluetooth Devices In My App


  • Subject: Re: Unable To Find Connected Bluetooth Devices In My App
  • From: Jason Conn <email@hidden>
  • Date: Fri, 23 Jan 2015 13:17:41 -0800

Jose - the EA framework is only used for devices that support iAP over Bluetooth, which I suspect your speakers do not. There’s no public interface for other Bluetooth Classic devices.

On Jan 23, 2015, at 12:27 PM, email@hidden wrote:

Hey David, 

Here is a link to my project in case it would be easier for y'all to see it. 

https://www.dropbox.com/sh/7jtv8l04viwd5ic/AAAdJl-N2mNoUVCuepoQ0Cuoa?dl=0

Again, thank you very much for taking of your time to help me. 

Jose Jose Q. 

On Fri Jan 23 2015 at 1:01:40 PM email@hidden <email@hidden> wrote:
Hey David, 

Thank you very much for getting back to me. 

I am using both BTLE via CoreBluetooth and classic Bluetooth via the External Accessory Framework. 

I have read the whole internet. Hahahaha.  At this point, I just want to get the list of classic bluetooth accessories connected to the phone. 

When I execute this code the connectedAccessories array is always empty. Even when I have classic bluetooth speakers playing music from my phone. 

              NSArray *connectedAccessories = [self.externalAccessoryManager connectedAccessories];

Jose Jose Q. 


On Fri Jan 23 2015 at 12:46:24 PM David Chu <email@hidden> wrote:
Hey Jose. 

Sounds like you are trying to use core bluetooth to communicate with devices that are not Bluetooth Low Energy or Bluetooth Smart or Bluetooth 4.0 (whatever the marketing term is). 

I'd suggest searching one of those terms and reading up and then you will know what types of devices you can write apps for. 

Cheers
- Dave 


On Saturday, January 24, 2015, email@hidden <email@hidden> wrote:
Hello Everyone,

I am very excited to join this mailing list as I just started developing an application to communicate with bluetooth accessories.

As of right now I am stuck in not being able to determine which external accessories are connected to my device. I would sincerely appreciate your help in this matter.

Thank you very much in advance, 

Jose Jose Q. 

P.S. I was attaching the .m and .h files of the class I am using to deal with all bluetooth related tasks. But my message was rejected. Moderator told me to trim it to under 24KB. I had also attached an image with the protocols I added in the info.plist. However, my app always returned an empty array for connected devices even when my phone is connected to my car or playing music in a bluetooth speaker.
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
  • Follow-Ups:
    • Re: Unable To Find Connected Bluetooth Devices In My App
      • From: "email@hidden" <email@hidden>
References: 
 >Unable To Find Connected Bluetooth Devices In My App (From: "email@hidden" <email@hidden>)
 >Re: Unable To Find Connected Bluetooth Devices In My App (From: David Chu <email@hidden>)
 >Re: Unable To Find Connected Bluetooth Devices In My App (From: "email@hidden" <email@hidden>)
 >Re: Unable To Find Connected Bluetooth Devices In My App (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Unable To Find Connected Bluetooth Devices In My App
  • Next by Date: Re: Unable To Find Connected Bluetooth Devices In My App
  • Previous by thread: Re: Unable To Find Connected Bluetooth Devices In My App
  • Next by thread: Re: Unable To Find Connected Bluetooth Devices In My App
  • Index(es):
    • Date
    • Thread