Skip to content

Commit

Permalink
doc: Additional clarifications in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mochalins committed Jan 31, 2025
1 parent 8f6514b commit 2680b20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

![Linux Port Iteration Result](assets/Linux_Iteration_Demo.png)

Cross-platform serial port library, with convenient poll/read/write interface.
Kept up to date to work with latest Zig master branch.

The Windows/Linux backends are exercised in certain corporate dev tools, and
thus are somewhat reliable. MacOS backend is not actively tested.

## Todo

- [x] Refactor backends to expose public API best suited for OS, then use these
APIs in platform-agnostic API implementation
- [ ] Support flow control status check
- [ ] Offer both blocking and non-blocking reads/writes
- [ ] Port descriptions and information
- [ ] Export C library
- [ ] Async port interface (dependent on re-introduction of Zig async)

## Examples

Expand Down
4 changes: 2 additions & 2 deletions src/serialport.zig
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ pub const Config = struct {
none,
/// XON-XOFF software flow control is used.
software,
/// Hardware flow control with RTS (RFR) / CTS is used. A.k.a. hardware
/// handshaking, pacing.
/// Hardware flow control with RTS (RFR) / CTS is used. A.k.a.
/// hardware handshaking, pacing.
hardware,
};
};
Expand Down

0 comments on commit 2680b20

Please sign in to comment.