Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android USB isochronous data transfer

Tags:

android

usb

I am currently trying to find a way to handle USB data transfer on an isochronous endpoint on my Android 3.2 tablet (Host Mode supported). After writing some prototype code, I noticed that in the constants file for USB_ENDPOINT_XFER_ISOC states that "Isochronous endpoint type (currently not supported)".

Is this possible without rooting the device? If so how would I go about doing this?

Ideally I was hoping to stay within the java API, but if this is possible only via the NDK I would have to pursue that instead. I also understand that there might be some USB bandwidth issues based on the following post: User mode USB isochronous transfer from device-to-host

like image 864
glyph5 Avatar asked Jan 17 '12 01:01

glyph5


1 Answers

I have written a Java class for USB isochronous data transfer under Android (or Linux): UsbIso

It uses JNA to access the USBFS API via IOCTL calls.

like image 80
Christian d'Heureuse Avatar answered Sep 19 '22 01:09

Christian d'Heureuse