Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When USB transmits data larger than 16K, is there a corresponding solution? #6

Open
Swordce opened this issue Aug 14, 2017 · 2 comments

Comments

@Swordce
Copy link

Swordce commented Aug 14, 2017

I'm using the USB API host Android model. I find that the transmission data can only be transmitted by 16K at maximum. I don't find the right solution. Do you have any solutions or suggestions?

@nissimzur
Copy link

16K of what? Bytes ?
If USB is 12Mbit/sec, you can expect 1M bytes transfer rate in bulk mode.
call my Skype nissim.test

@zabilal
Copy link

zabilal commented Dec 30, 2019

Hello am trying to adapt your code to a project of mine and am having issues. In my project am sending bytes of strings from a java application on a PC to my android phone. The android app(your code) on my phone does not seem to work. its doesnt ask for permission on launch. as a result the openAccessory method is not being called. please what can i do to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants