I need to connect magic leap2 and external USB hardware and make MagicLeap2 work as accessory mode and external usb hardware as host.
I am planning to use Android Open Accessory for this purpose.
Does MagicLeap2 support Android Open Accessory?
Finally, I will call the library from unity applications.
Unity Editor version: 2022.3.14f1 ML2 OS version:1.7.0 Unity SDK version:1.12.1 Host OS: Windows
We do support this feature. The FEATURE_USB_ACCESSORY feature is available via adb.
adb shell pm list features | grep usb.accessory
Keep in mind that this does not mean that we support all devices since some drivers might not be compatible with our platform or Android version. If you run into any issues, please feel free to let us know.