gensio

Stream I/O library providing abstraction for serial, TCP, and other I/O

brewmacoslinux
Try with needOr install directly
Source

About

Stream I/O Library

Commands

gensiogensiotools

Examples

Connect to a serial port using gensio$ gensio /dev/ttyUSB0,9600
Create a TCP connection to a remote host$ gensio tcp,localhost,9000
Display gensio version and available transports$ gensio --version