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

Reset input buffer #1

Open
hajifkd opened this issue Nov 16, 2020 · 0 comments
Open

Reset input buffer #1

hajifkd opened this issue Nov 16, 2020 · 0 comments

Comments

@hajifkd
Copy link
Owner

hajifkd commented Nov 16, 2020

Currently, there is no way to cancel transferIn so that the input buffer cannot be flushed.

  • Can UsbDevice.reset(impl) be used? See libusb source?
  • Use something like a state machine. (I do not prefer this - is portability fine?)
  • Buffer promise so that transferIn looks "cancellable"
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

1 participant