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

@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...

@robamu robamu marked this pull request as ready for review November 12, 2025 17:28
- 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 force-pushed the add-vmin-vtime-and-non-blocking-support branch from 9d4c953 to b6b0397 Compare November 12, 2025 17:34
@robamu
Copy link
Author

robamu commented Nov 13, 2025

Replaced by #306

@robamu robamu closed this Nov 13, 2025
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