Hello, I am planning to implement iAP2 support on my iMX6 Ultra lite board, running a Linux . Currently I am able to get enumeration of USB device and Apple device is getting connected now i want to communicate between Apple (i-phone and board) so any one can help me how we can achieve the same.
What do I currently have: iAP2 is in my cased based on the USB layer, including a USB role switch.
Thus I connect the iPhone to the USB OTG port of the board, and send the phone an Apple-specific USB command, which is supposed to trigger a role switch on USB side.
This works, as the iPhone resets its USB port (as specified in the iAP2 specification).
After this step how we can communicate with the i-phone device and imx6ul board ?
for understanding one can refer to apple_usb_role_switch_user_guide.pdf included
in 3.10.17_1.0.0-patch.7z.zip on link
Latest NXP linux BSPs include support for USB HNP & SRP, linux documentation link: