Pair of pairing with external accessories. connectedAccessories count 0 every time
I want to try reading / writing data using bluetooth
I am trying to pair:
Mac Book ↔ iPod 4
user device ↔ iPod 4
I am trying this Apple sample (EADemo) https://developer.apple.com/library/ios/samplecode/EADemo/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010079
I created a pair in settings -> bluetooth:
Mac Book ↔ iPod 4 - ok (connected)
user device ↔ iPod 4 - ok (connected)
But
[[EAAccessoryManager sharedAccessoryManager] connectedAccessories]
always gets an array with number 0.
Any ideas?
Thank.
+1
source to share
1 answer
EADemo uses an external accessory structure and therefore needs a log line added to the info.plist of your project. This is what apple uses to block connections to non-MFi accessories. Check out the MFi program for more information
+1
source to share