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

Finishing reading when read canceled #156

Closed
wants to merge 9 commits into from
Closed

Finishing reading when read canceled #156

wants to merge 9 commits into from

Conversation

karelbilek
Copy link
Contributor

@karelbilek karelbilek commented Mar 29, 2019

Fixes #154 , but the resulting code is so complex that I am not sure it's worth this.

(Since it will probably have bugs because of the complexity.)

Tested on UDP and Trezor T2.

Depends on #153 (so see just the last commit for actual changes)

(Note that UDP emulator will hang, but that's not the issue of this fix. If we want to fix the hang/the black screen, we would also need to send empty Initialize after the read here, and then read the result.)

Fixes #154 , but the
resulting code is so complex that I am not sure it's wort this.

(Since it will probably have bugs because of the complexity.)

Tested on UDP and Trezor T2.

(Note that UDP emulator will hang, but that's not the issue of this fix.
If we want to fix the hang/the black screen, we would also need to send empty Initialize
after the read here.)
@trezor trezor deleted a comment from Besiktas19033 May 31, 2021
@trezor trezor deleted a comment Jul 3, 2021
@trezor trezor deleted a comment Jul 3, 2021
@karelbilek karelbilek closed this Sep 1, 2022
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

Successfully merging this pull request may close these issues.

Wrong message type is passed from device
2 participants