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

Undefined method Serial.set_buffer_size method for non windows environment #11

Open
amoncusir opened this issue Oct 25, 2023 · 0 comments

Comments

@amoncusir
Copy link

self.s.set_buffer_size(rx_size=min(32768, 57 * (count // 4)))

This method only exist in the serialwin32.py implementation for SerialBase, then in different systems broke the current code.
Check the impl: https://github.com/pyserial/pyserial/blob/master/serial/serialwin32.py#L418

@amoncusir amoncusir changed the title Incompatible Serial set_buffer_size method for non windows environment Undefined method Serial.set_buffer_size method for non windows environment Oct 25, 2023
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 a pull request may close this issue.

1 participant