How to access serial port with connect OTG with iPhone and external device

Hello Guys,


I am trying to access serial port of external device, this external device is connected with iPhone with OTG cable.

Is it possible to access the information of external device (like Device ID and Device Version) in iPhone ?


And is it possible to connect external device with Apple Lightning to USB Camera Adapter (MD821ZM/A) to iPhone.

and access serial port.



Thanks & Regards,

Ammy

Answers

Hello Everyone ,


I am trying to access serial port of external device, this external device is connected with iPhone with OTG cable.

Is it possible to access the information of external device (like Device ID and Device Version) in iPhone ?


And is it possible to connect external device with Apple Lightning to USB Camera Adapter (MD821ZM/A) to iPhone.

and access serial port.


Please help me out. i am not able to figure it out.


Thanks & Regards,

Ammy

Access to the USB serial profile from an iOS device may require enrolling in the MFi program and manufacturing a special custom cable. See: https://developer.apple.com/programs/mfi/


Another possible option is to use Core Bluetooth to connect to a BLE serial port bridge device (Arduino,et.al.?). Core Bluetooth comm does not require MFi.

Thank You Sir.

Great help with this.

Was this ever solved?

Was this ever solved?

It’s still the case that iOS has no mechanism for accessing generic serial devices. See this post for more.

Share and Enjoy

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