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

Switch to write_all and add CLI #1

Merged
merged 4 commits into from
Aug 6, 2023

Conversation

sirhcel
Copy link
Contributor

@sirhcel sirhcel commented Aug 6, 2023

Thank you for this example! It allows me to reproduce missing data on the wire on macOS with a FT232R based device.

As write might result in fewer bytes being written than requested, let's use write_all to rule this out. This PR also adds a CLI for specifying the port and some parameters for testing different scenarios without modifying the code.

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