Getting USB device properties on iOS

Hi,


I'm working with USB Midi devices on iOS apps, and I'm currently looking for a way to identifiy them.

I know for a fact that getting the different MIDI properties with CoreMIDI API is not sufficiently reliable, as some devices return only generic information like "USB MIDI DEVICE" but are nonetheless recognized by other apps.

After some research, it appears that the the best solution is to get the USB-ID of the device (VID-PID : vendor ID and product ID). My question is the following :


How can I get the USBID of a USB MIDI device on iOS? The IOKit API is not available on iOS, so what is the solution to access USB devices on iOS?


Thank you all for the attention,


Best,


Thomas

Hi,


Thanks for the answer. My problem is that for some devices, all MIDI properties accessible within CoreMIDI are filled with generic names such as "USB MIDI DEVICE", which is not very practical for automatic device detection...

After some test (I tried to modify the configuration files which allways contain thd USBID), I know that other iOS apps identify these devices with their USBID. But

- USBID doesn't seem to be accessible with CoreMIDI,

- I can't understand how to access USB properties on iOS, as I don't have access to IOKit.


Any idea ?

Can you help us?!

It’s unlikely you’ll get help via this ancient DevForums thread. My advice is that you open a DTS tech support incident to get formal support from DTS’s USB and smartcard expert (which, at the moment, happens to be the same person :-).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Getting USB device properties on iOS
 
 
Q