Skip to content

JPHutchins/serial-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serial-terminal

A simple serial CLI for Windows, Linux, and MacOS.

Usage

Press Ctrl-t to bring up the menu and exit.

Usage: serial-terminal [OPTIONS] <PORT>

Arguments:
  <PORT>  Path to the serial port, e.g. 'COM1' or '/dev/ttyUSB0'

Options:
  -b, --baud <BAUD>                  [default: 115200]
  -d, --data-bits <DATA_BITS>        5, 6, 7, or 8 [default: 8]
  -f, --flow-control <FLOW_CONTROL>  none, sw, or hw [default: none]
  -p, --parity <PARITY>              none, odd, or even [default: none]
  -s, --stop-bits <STOP_BITS>        1 or 2 [default: 1]
  -h, --help                         Print help information (use `--help` for more detail)
  -V, --version                      Print version information

Development

Requirements

Linux

Setup

Build

  • From repository root use cargo build
    • For release build use cargo build --release
  • To build and then run the target use cargo run
    • To run with arguments, separate the build arguments from the target arguments with --; examples:
      • cargo run -- COM20 -b 9600
      • cargo run --release -- COM8 -b 9600

About

A cross platform CLI for serial devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages