Error collecting accessories EAAccessoryManager

I am trying to create an application that communicates with an external accessory (via Bluetooth). To make the application user-friendly, I would like it to not go into the settings for connecting to an accessory, but to show an accessory builder that includes iOS 6.0.

To achieve this, a simple call will sound:

[[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:nil completion:nil];

I currently do not use filter and termination (both can be zero according to iOS Class Reference ) - even if I tried to use them too.

Now the problem is that my accessory appears for 2 to 10 seconds , and then disappears from the list until I cancel the popup and show it again. Another problem is that sometimes it does not appear at all. I also made sure that the device is already paired but not connected.

I tried to use another accessory (one that I myself did not do) and with different devices (iPhone 4, 4S, 5 - iPad - iPod Touch) without success.

Are there any similar problems? If so, how did you solve it? Is this an iOS bug? Is this an additional error?

Thanks for any answer.

+5
source share
4 answers

, iOS 7 BETA 4 . bluetooth RN 42 APL ( , MFI)

, , , RN 42 5,36 ( iAP)

( ), ... , , , !

+3

, iOS 6.1.3

, APL RN42 ( MFI). Roving Networks ( Microchip), , ... Microchip , , iOS 6.

iOS 7.0 ...

+2

, . RN-42-APL-X Roving Networks, , 100%, .

showBluetootAccessoryPickerWithNameFilter , , 0,5 6 ...

2013-03-13 00: 45: 22.006 EADemo [356: 907] BTM: "myDevice" device found 00: 08: 36: 4B: A4: 49

2013-03-13 00: 45: 22.631 EADemo [356: 907] BTM: lost device "myDevice" 00: 08: 36: 4B: A4: 49

+1
source

Just got an answer from Apple to these questions. Apple said that this is a mistake, and they are going to fix it with a future release of ios. Not sure when this will happen. But do not waste time on this as a mistake. until the new fix works, this is a pair of devices on the bluetooth settings screen, and then use it in the application.

+1
source

All Articles