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

Termios API does not allow for getting or setting arbitrary baud rates on BSDs #842

Closed
Susurrus opened this issue Jan 24, 2018 · 0 comments

Comments

@Susurrus
Copy link
Contributor

The BSDs don't need to use the baud rate constants and instead can specify the baud rates directly. Unfortunately this isn't exposed through nix's APIs.

I think the best option here is to change the termios API for the BSDs and add From<BaudRate> for u32, then you could call both functions by using rate.info().

bors bot added a commit that referenced this issue Jan 26, 2018
843: Support arbitrary baud rates on BSDs r=Susurrus a=Susurrus

Closes #842
bors bot added a commit that referenced this issue Jan 26, 2018
843: Support arbitrary baud rates on BSDs r=asomers a=Susurrus

Closes #842
@bors bors bot closed this as completed in #843 Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant