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

Test USB data connection condition and branch #24

Open
michaesc opened this issue Jan 3, 2019 · 0 comments
Open

Test USB data connection condition and branch #24

michaesc opened this issue Jan 3, 2019 · 0 comments

Comments

@michaesc
Copy link
Contributor

michaesc commented Jan 3, 2019

Feature request

Combine USB blocking and nonblocking mode in one codebase

Currently, Monerujo HW distributes two binaries.

  • Blocking (communicates with a USB host)
  • Nonblocking (does not communicate with a USB host)

Request

On firmware start, test if a USB data connection is present. If yes, ask the user on the device if they want blocking I/O. According to the answer, procede to branch to the appropriate logic accordingly.

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