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

Invalid baudrates should throw instead of fail silently in some edge cases #1676

Open
reconbot opened this issue Sep 23, 2018 · 0 comments
Open
Labels

Comments

@reconbot
Copy link
Member

💥 Proposal

Sometimes custom baud rates on linux do not get set. This can vary due to kernel versions and driver versions.

What feature you'd like to see

I'd like open() to check that an opened port's baudrate is what is expected and fail if that is the case. We'd get to remove the binding.getBaudRate() function if this was the case.

Motivation

cleaner api

Pitch

The less api surface area we have the better.

@reconbot reconbot added feature-request Feature or Enhancement bug and removed feature-request Feature or Enhancement labels Sep 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant