Skip to content

Conversation

robamu
Copy link

@robamu robamu commented Aug 29, 2025

I still need to test this with some actual hardware (it might not work at all, I am still new to nix/termios etc. with Rust :)) but this possibly fixes #272 and #277 .

  • Add set_vmin_time method to configure VMIN and VTIME termios parameters
  • Add set_non_blocking method to set VMIN and VTIME to 0

- Add `set_vmin_time` method to configure VMIN and VTIME termios parameters
- Add `set_non_blocking` method to set VMIN and VTIME to 0
@robamu robamu changed the title Added new API for TTYPort Added new VMIN/VTIME API for TTYPort Aug 29, 2025
@robamu
Copy link
Author

robamu commented Aug 29, 2025

I implemented something more generic, but I am not fully sure how that interacts with the poll API used. I guess I'll find out during testing...

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 this pull request may close these issues.

Support configuration of VMIN and VTIME

1 participant