Vish
Vish

Reputation: 341

EAAcessory unable to list device with showBluetoothAccessoryPickerWithNameFilter: method

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.

Upvotes: 0

Views: 1531

Answers (1)

brianLikeApple
brianLikeApple

Reputation: 4371

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"

Upvotes: 1

Related Questions