Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

zkvL/srialio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serial IO

Simple go code to read from and write to a serial TTY.

No further support for this one due to more advanced alternatives

This tool was used to understand and interact with serial communications but more robust solutions exist to that purpose:

  • TIO - A serial device I/O tool

DEPRECATED License: GNU General Public License v3.0

Usage

❯❯❯ ./srialio -h
Usage of srialio:
      --tty string         Serial TTY device (e.g., /dev/ttyUSB0)
  -o, --operation string   Operation: read or write
  -d, --data string        Input data to write to the serial TTY
  -f, --file string        File containing data to write to the serial TTY
  -b, --baud int           Baud rate for serial communication (default 9600)
  -s, --sleep duration     Sleep duration between write operations
      --debug              Enable debug messages

Examples:
    srialio --tty /dev/cu.usbmodem14301 -o write -f 'serial-input.txt'  --debug
    srialio --tty /dev/cu.usbmodem14301 -o read -b 115200

Install

❯❯❯ go install github.com/zkvL/srialio@latest

About

Simple go code to read from and write to a serial TTY.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages