Skip to content

Conversation

@mallexxx
Copy link

@mallexxx mallexxx commented Feb 6, 2024

  • Added support to provide custom open flags by rawValue, added more PortMode options
  • Refactored writeBytes procedure to wait for file descriptor to become ready to write and to write data in chunks to support sending long messages (inspired by https://github.com/wjwwood/serial/blob/main/src/impl/unix.cc)
  • Refactored PortError to use actual OSError under the hood and provide localized description
  • Added some docs

…iteBytes to write long buffer by chunks; Add some documentation; Use OSError code as PortError rawValue
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.

1 participant