On iPad Pro, is there any way to access USB device by PTP/MPT with USB-C “wired” connection?

3rd-Gen iPad Pro has USB-C connector.

I want to access USB device by PTP/MTP protocol through USB-C wired connection.


If you know any Framework or API to realize it, please let me know.


I couldn't find it in Apple Developer Documentation.

https://developer.apple.com/documentation/


Thank you.

Replies

Is that device discussed here?

https://support.apple.com/en-us/HT209186


In the case of a camera, as an example, the Photos app may be able to access images on it, but I don't believe there is an API that would allow your app the same freedom.


See h ttps://9to5mac.com/2018/11/07/ipad-pro-usb-c-accessories/

The easiest method I've found to interface an iPad with a generic USB peripheral (not listed in HT209186) is via a Raspberry Pi. I plug the USB device into the Pi, run a server that talks to the appropriate USB driver and serves the data from the peripheral using a network connection to the iOS device. (I currently have an app that uses just that method to connect to USB RTL-SDR radios.)


A wired connection for higher-bandwidth or security is possible via:

iPad Pro -> USB-C-to-Ethernet-dongle -> Pi -> USB peripheral.

Or:

iPad Mini -> Lightning-Camera-Connection-kit -> powered-USB-hub-> USB-to-Ethernet-dongle -> PI -> USB thingy.