tokio-serial
tokio-serial copied to clipboard
A serial port implementation for tokio
This commit tries to clear the role of the `pair` parts. Additional I've added an example and reformat the code with `cargo fmt` This commit was made in response to...
I've spent two or three hours trying to understand why a test case wouldn't work, it went roughly like this: ```rust #[tokio::test] async fn test_serial() -> Result { let (mut...
Depends on merge of: https://github.com/berkowski/mio-serial/pull/42
Dear all, I am having trouble running the project's example using the correct settings on my Windows 10 host to an `ESP32-C6` device. I have a device connected to COM3,...
There was already an implementation in mio_serial that allowed fallible conversions from a TTYPort, this just exposes that in tokio-serial. I have a use case where I can't use the...
A simple example compiles on Linux but fails on Windows: ``` use tokio; use tokio_serial as serial; #[tokio::main] async fn main() { let builder = serial::new("example/port", 9600); if let Ok(stream)...
This enables the `codec` feature just for docs.rs so that `SerialFramed` is also documented.
It's not linked in the docs: https://docs.rs/tokio-serial/latest/tokio_serial/struct.SerialPortBuilder.html#method.open_native While in Mio you can go to it's documentation: https://docs.rs/mio-serial/latest/mio_serial/struct.SerialPortBuilder.html#method.open_native