I'm using iOS9 and Swift 2 to build an app that gets notification when the iPhone is connected/disconnected to the car's bluetooth.
I'm using EAAccessoryManager.sharedAccessoryManager().connectedAccessories
to get a list of connected accessories.
I've added UISupportedExternalAccessoryProtocols
in Info.plist, but I don't know what protocols to add. Can someone nudge me in the direction where I can get these protocol names. I hope the protocol names are generic that they work with the bluetooth device in any car.
When I run the app I get 0 connected device even though my phone is connected to my car's bluetooth.
Thank You!
You have to request the provider to get the protocol-name of the given hardware.
But as far as I understood these accessory-thing, the requirements to detect hardware via Bluetooth (with the special iPod Accessory Protocol” > iAP-Protcol) are:
ps.: your phone is connected via Bluetooth Low Energy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With