Re: EAAccessoryManager shows 0 connected devices, settings shows otherwise
Re: EAAccessoryManager shows 0 connected devices, settings shows otherwise
- Subject: Re: EAAccessoryManager shows 0 connected devices, settings shows otherwise
- From: Reid Belton <email@hidden>
- Date: Tue, 01 Apr 2014 22:31:57 +0000
- Thread-topic: EAAccessoryManager shows 0 connected devices, settings shows otherwise
Just trying to “bump” this question…no closer to resolving it. I cannot understand why both the iPad and the accessory “show” that they are connected to each other, but EAAccessoryManager tells me there are ZERO connected accessories of any kind and I’m dead in the water. Does Bluetooth just suck? Is there nothing to be done about it?
I know that MFi is super-secret but my question is confined to the EAAccessory framework, the documentation for which is available to anybody in the dev program…
Would appreciate any advice at all. Sorry for the frustration.
Thanks,
-Reid
Hello all,
I’m having a connectivity problem and would greatly appreciate any pointers or advice. Basically, I am connecting to an MFi accessory using the EAAccessory API. I don’t appear to have any outward issues; the iPad shows itself as connected to the accessory in bluetooth settings, and the accessory shows that it is connected as well. Most of the time, everything’s gravy; I can pair, open a session and do what I need to do.
However, about 1/10 times, seemingly at random, my app is unable to connect to the device and start a session. In fact the API seems to be telling me that there’s nothing to connect to, despite the indications to the contrary. I receive no EAAccessoryDidConnectNotification events at all, and when I call [[EAAccessoryManager sharedManager] connectedAccessories], I get an empty array, even though (again) I can go into settings and the iPad seems to be telling me that I’m connected.
I’m reasonably confident that I am properly registered and listening to these notifications, because whenever I connect successfully I do receive them (and I get the expected device when I call connectedAccessories).
What would cause this kind of intermittent problem and how can I resolve it?
Would greatly appreciate any help. Thanks in advance!
-Reid
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden