J9 USB Accessory Mode
-
We've been trying to get a Samsung phone to connect to the VOXL 2 Mini using J9 and have so far been failing to get the connection setup.
We are using libusb on the VOXL and the same test program that we developed on a Ubuntu Laptop. We can see the USB connection in syslog, but the messages are identical if our Accessory Mode program is running, or if it isn't running.
Questions:
-
Is there any hardware reason that would prevent accessory mode from working?
-
Do we need any special software or configuration to make this work?
https://source.android.com/docs/core/interaction/accessories/protocol
Thanks,
Brendon. -
-
We've been trying to get a Samsung phone to connect to the VOXL 2 Mini using J9 and have so far been failing to get the connection setup.
We are using libusb on the VOXL and the same test program that we developed on a Ubuntu Laptop. We can see the USB connection in syslog, but the messages are identical if our Accessory Mode program is running, or if it isn't running.
Questions:
-
Is there any hardware reason that would prevent accessory mode from working?
-
Do we need any special software or configuration to make this work?
https://source.android.com/docs/core/interaction/accessories/protocol
Thanks,
Brendon. -
-
@tom Yes sir.
Voxl 2 mini J9 USB port <=> Android Phone attempting to use accessory mode to directly communicate without additional external hardware for networking or similar.
I've used that port as the host for USB storage previously, ADB, etc. but this use is resisting our efforts.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login