EAAcessory unable to list device with showBluetoothAccessoryPickerWithNameFilter: method

1.5k views Asked by At

I am using this method

 [[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:nil completion:^(NSError *error) {
}

to list out available bluetooth devices which are in MFI program. It shows the picker but there is no list of devices unlike other answers on stackoverflow that It should show the devices in list. I am normally able to connect up mobile and External device by going in settings and also successfully passed values. But I want to do it without going manually to settings inside app. Am I missing something! Thanks for your help.

1

There are 1 answers

1
brianLikeApple On

Did you add protocol string to your Info.plist?

In apple documents.

Note: The picker displays only Bluetooth devices that include an iAP over Bluetooth unique ID in their extended inquiry response.

You need protocol string of Device to be added in "Supported external accessory protocols"