Crate tuiserial_serial

Crate tuiserial_serial 

Source
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