I have a weird issue: when the Bean (acting as a HID device) is detected with the PTDBeanManager scanner everything is okay, it finds the bean, and then it connects to it.
This results in a pairing request from iOS. Once paired the first time I keep using my PTDBean and I can work with it, send and receive Serial data etc.
Well. Now, when the iOS device was not connected then comes in the range of the paired Bean, iOS automagically connects to it - that is a nice thing... However the PTDBeanManager does not see it, and I have no chance to get this freshly connected Bean as a PTDBean object in order to work with it.
So now it has been paired, how can I get it back upon all future connections ?
I was trying to circumvent this issue with the EAAccessoryManager framework but sadly I cannot test this solution as long as I cannot declare the Bean specific UISupportedExternalAccessoryProtocols in my Plist file... This protocol is supposed to be vendor/manufacturer specific (for example to connect to a Peeble it is "com.getpebble.public" as written in this SO answer)...
Do you have such a protocol to share ? Or any other solution to get the paired+connected Bean back ?
(edit : sorry I just realized it is a duplicate of my own question here... no way to delete it but maybe is the issue better explained here?)