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

baud rate 2M #39

Open
lubko opened this issue Jan 15, 2016 · 2 comments
Open

baud rate 2M #39

lubko opened this issue Jan 15, 2016 · 2 comments

Comments

@lubko
Copy link

lubko commented Jan 15, 2016

please consider adding more supported baud rates,
there are few more that should work: http://play.golang.org/p/OvvdWmL56N
i have tried using 2M, and it works,
later i can provide a pull request.

@tarm
Copy link
Owner

tarm commented Jan 31, 2016

As I mentioned in #37 (comment) higher baud rates are likely not portable. Testing on one OS is not enough.

I am open to adding higher baud rates on platforms that support it iff it can be done in a portable manner. That might be build constraints or #defines in cgo code.

@Timmmm
Copy link

Timmmm commented Feb 21, 2016

It is possible (on Windows at least) to query the baud rates supported by a port. However, some ports return a list of "standard" rates but actually support arbitrary rates (e.g. I've used 111111 baud).

I don't think you can do anything other than allowing the user to set any baud rate, and failing if it doesn't succeed.

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

3 participants