Inquiry on Serial Data Reading Through Magic Leap 2's C-Type Port

Dear Magic Leap Developer Community,

I am currently engaged in a project involving a third-party device that incorporates a BL653u Bluetooth module. This device is equipped with a USB stick, which acts as an intermediary for processing Bluetooth data and facilitating serial communication.

image

My specific inquiry pertains to the feasibility of reading serial communication data through the C-type port on the Magic Leap 2. To elaborate, I am keen to understand if it is possible to effectively access and utilize the serial communication capabilities of the USB stick when connected to the Magic Leap 2.

Any insights or guidance you can provide on this matter would be immensely valuable to my project.

Sincerely,

Eudald

Unity Editor version: 2022.2.21f1
ML2 OS version: 1.5.0
Host OS: Windows

Hi @esangeni,

I have reached out to our team regarding this question and I will report back as soon as I learn more.

Best,

El

Hi @esangeni,

Magic Leap 2 supports the same peripheral device communications as other Android 10 devices. Although, be cautious of using a peripheral device that requires a specific driver as it might not be supported on the device. To communicate with a serial USB device over Android, you will need a library that can handle the USB host mode and the serial protocol of your device. Such as USB-Serial-For-Android or UsbSerial

Best,

El