Skip to content

SerialTerm is a very simple command line tool to output data received from a serial device.

Notifications You must be signed in to change notification settings

guineec/serial-term

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SerialTerm

SerialTerm is a very simple command line tool to output data received from a serial device. It's built in ruby, and the serialport gem does most of the heavy lifting.

I've only tested this with one device but it should work for anything that uses a serial output. If you find errors/exceptions feel free to report them or fix them and issue a pull request.

Installation

To install, just run:
$ gem install sterm

Usage

$ sterm DEVICE_PATH [-b BAUD_RATE -d DATA_BITS -s STOP_BITS -e LINE_ENDING]

Default baud rate is 115200
Default data bits is 8
Default stop bits is 1

LINE_ENDING is the hex value of the desired terminating string.
Default line ending is 0d0a (which is "\r\n" in hex).

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/guineec/serial-term.

License

This program is licensed under the GNU GPLv2.0 as required by the use of serialport.

About

SerialTerm is a very simple command line tool to output data received from a serial device.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published