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!