Serialport connection with IOS devices

I’m one of your customers who has passion to develop beautiful products. As an independent developer, I am writing to seek your advice regarding a communication between microcontroller’s USB (CDC device) and iOS devices via lightning connector.

I have been working on a project where I aim to establish USB communication between the microcontroller and Android devices. I have encountered difficulties when attempting to establish the same connection with iOS devices.

I used different STM32 microcontrollers with USB device capability by now. I use F series and L series generally for my projects.

I have explored various approaches, but the communication consistently fails. I believe that may be missing a certain circuitary part or specifications required for compatibility with iOS devices. Therefore, I kindly request your guidance and support to identify and meet these requirements. Any recommendations, resources, or updates that could assist me in establishing a successful connection with iOS devices would be greatly appreciated. Specially, can you even say your microcontrollers USB 2.0 protocol is compatible with ios devices? Is there a prototype, project or tutorial about this issue?

Thank you in advance for your attention to this matter. I eagerly await your response and any assistance you can provide. Please feel free to contact me if you require any additional information or if there is a more appropriate channel through which I can seek support.

Best regards,

Arda Sumbul
arda.sumbul@ozu.edu.tr

AFAIK, there is no Apple Computer supported method of direct interfacing to a standard serial port in iOS/iPadOS. I think you have to jailbreak the Apple device and write your own drivers and application software to make it work.

Ref:
https://discussions.apple.com/thread/7998856?answerId=31947678022#31947678022

There are some companies that make TIA-232 to WiFi adapters that provide iOS/iPadOS software for reading the data over WiFi.

A Google search turned up this small company from New Zealand.