Project

sterm

0.0
No commit activity in last 3 years
No release in over 3 years
Shows data transmitted from a serial device
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 10.0

Runtime

~> 3.0.0
~> 1.3.1
 Project Readme

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.