Expand description
Serial port communication library for tuiserial
This crate provides serial port operations including port enumeration, connection management, and data transmission.
Re-exports§
pub use serialport;pub use tokio;
Functions§
- bytes_
to_ hex - Convert bytes to hex string representation
- bytes_
to_ string - Convert bytes to string, escaping non-printable characters
- hex_
to_ bytes - Convert hex string to bytes
- list_
ports - List all available serial ports on the system
- open_
port - Open a serial port with the given configuration
- read_
data - Read data from the serial port
- write_
data - Write data to the serial port