#console #serial-port #serial #command-line #command-line-tool #baud-rate

app serial-console

A command line tool to communicate with a serial console

7 releases (2 stable)

1.0.1 Feb 9, 2023
1.0.0 Jan 21, 2022
0.4.4 Jan 5, 2022
0.4.3 Aug 24, 2021
0.1.0 Aug 4, 2021

#1891 in Command line utilities

MIT license

13KB
277 lines

Scip - Serial Console Interfacing Program

A command line tool to communicate with a serial console written in Rust

Installation

cargo install serial-console

Usage

USAGE:
    scip <DEVICE> [ARGS]

ARGS:
    <DEVICE>          Set the device path to a serial port
    <baud rate>       Set the baud rate to connect at [default: 9600]
    <data bits>       Set the number of bits used per character [default: 8] [possible values:
                      5, 6, 7, 8]
    <parity>          Set the parity checking mode [default: N] [possible values: N, O, E]
    <stop bits>       Set the number of stop bits transmitted after every character [default: 1]
                      [possible values: 1, 2]
    <flow control>    Set the flow control mode [default: N] [possible values: N, H, S]

Escape commands begin with <Enter> and end with one of the following sequences:
    ~~ - send the '~' character
    ~. - terminate the connection

For more verbose help information and parameter suggestions add the --help option:

scip --help

Examples

scip /dev/ttyUSB0 115200
scip /dev/ttyUSB1 19200 6 E 2 H

License

MIT

Dependencies

~5MB
~104K SLoC