I wanted to make an app that communicates with MIDI interface accessories for iOS. I bought an MFI licensed device (iConnectMidi), plugged in, and created a simple project that calls [[EAAccessoryManager sharedAccessoryManager] connectedAccessories] after app launch, but was not able to get accessories read in. I was wondering if anyone that has similar experience can shed some light on this?
EAAccessoryManager does not read MFI accessory
1k views Asked by Sterling At
1
There are 1 answers
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in EXTERNAL-ACCESSORY
- MFi Program by Apple
- is there any way to control usb cam from iOS device?
- What's the exact difference b\w homekit & external accessory framework?
- Can I connect single MFI accessory with two apps at a time
- iOS External Accessories Framework with Bluetooth High-BT Using MFI
- iPad Air - CoreBluetooth[ERROR] Cancelling picker as we couldn't communicate with Bluetooth
- Apple MFI for InHouse distribution
- How to list out all MFI devies into the iOS app?
- create a DEMO External Accessory application for IOS
- is it possible to connect bluetooth device, without pairing them in iOS?
- Xamarin iOS External Accessory: check whether hands free device (car) is available
- External Accessory unknown when plugged in since boot
- External Accessory Framework of iOS to detect other iPhone or iMac
- External accessory framework test hardware
- how to find Bluetooth audio devices in iOS
Related Questions in MFI
- iOS can't get audio focus when app in background
- Reading data from a non-MFi external accessory on iOS over USB-C port
- How to get a thumbnail from MFi Card reader accessories?
- Developing App for iXpand Flash Drive required MFI Program?
- How to get Bluetooth device name on BT version below 4.2
- Issue with MFI program signup
- EAExternalAccessory Bluetooth Accessory Picker doesn't display on screen
- How reconnect programatically Classic Bluetooh on IOS with MFi and external-accessory framework
- How MFi communication works?
- How to detect launch app via MFi device on iPhone
- Apple MFi - Homekit Software Authentication
- EASession stream function doesn't fire
- How to differentiate between a device paired via Bluetooth and a device "paired" via cable using ExternalAccessory?
- Is it possible to add ethernet interface in iPAD external accessory device?
- How to pair an iOS device to other device around through bluetooth and setting PIN programmatically?
Related Questions in MIDI-INTERFACE
- How to read current MIDI status for AKAI MIDIMIX?
- Problem with midi setup on Raspberry Pi with midi board for RPi
- Sending MIDI up the USB using Arduino
- GTK3/poll complex multithreading issue
- Python equivalent to AudioKit in Swift?
- Improving quality of sound extracted from a midi file
- How do I convert this data to an MIDI file?
- Convert MIDI file to list of notes with length and starting time
- Can Silverlight communicate with a MIDI instrument?
- inconsistent midi naming when using multiple devices of the same type
- is it possible to input android program using electronic keyboard?
- What do the numbers in the 'value' argument mean in the control change message in mido (regarding bank changes) in python?
- Does event order matters in midi file
- Pianoroll matrix to MIDI conversion
- EAAccessoryManager does not read MFI accessory
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As par mentioned in the comments above, if you don't specify the protocol string in the plist, the app won't recognize the device. In my case I am using a MFI midi interface, the EAAccessoryManager won't read the device because I don't have any protocol setup for the
UISupportedExternalAccessoryProtocolsfield in the plist file. However, I was able to detect the device using the CoreMidi framework. There's a little sample code I found https://github.com/petegoodliffe/PGMidi, if anyone ever comes to the same confusion I had.