I want to display the list of all MFI passed apple devices which are not paired before from iOS settings.
I can list out the connected devices using below code:
NSArray *accessories = [[EAAccessoryManager sharedAccessoryManager]
connectedAccessories];
So My Query is:
- Can i scan all the available unpaired MFI devices using "External Accessories" framework in to the iOS app and then i can pair them from the iOS app.
Please help me for shorting this out.
Lots of thanks in advance.....
Yes, You can.
From iOS 6 EA Framework provides built-in bluetooth pairing function within app.
Check this:
You can also use filter parameters to filter your devices.
Edit:
OK, I will list step by step of MFI world.
It pops up a small tableView to show all available Bluetooth devices.
Just click a cell shown in the table. It will automatically connect to device.
Check following code, You should understand what is it.
Check the following notifications.
There are a lot things you can research on MFI, so it is better go through Apple documents and example code to understand it deeply.