How to get a list of paired devices via Bluetooth in iOS?

This is for the AppStore, so I do not want any private frameworks.

I want to get a list of paired (not even connected).

IOS has the main Bluetooth and External Accessary interfaces. I tried both of them, but nothing is indicated.

+3
source share
1 answer

Tyr use this one, but I'm not sure if it works or not for standalone devices.

Create an EAAccessory object and initialize it. Then call the property name on your optional object

NSArray *accessories = [[EAAccessoryManager sharedAccessoryManager] connectedAccessories]; EAAccessory *accessory = nil; for (EAAccessory *obj in accessories) { NSLog(@"Found accessory named: %@", obj.name); } 
-1
source

All Articles