#serial #hardware #system #RS232 #terminal

bin+lib gattii

Cross platform GUI (GTK-based) serial terminal

7 releases (breaking)

0.13.0 Dec 1, 2018
0.11.0 Feb 15, 2018
0.10.0 Jun 13, 2017
0.9.0 Feb 5, 2017
0.1.0 Dec 23, 2016

#269 in Hardware support

Download history 15/week @ 2019-11-27 7/week @ 2019-12-04 99/week @ 2019-12-11 7/week @ 2019-12-25 78/week @ 2020-01-08 35/week @ 2020-01-15 2/week @ 2020-01-22 1/week @ 2020-01-29 7/week @ 2020-02-12 16/week @ 2020-02-19 15/week @ 2020-02-26 14/week @ 2020-03-04 7/week @ 2020-03-11

72 downloads per month

GPL-3.0 license

93KB
1.5K SLoC

Gattii

crates.io version badge Documentation

GitLab CI status Appveyor CI status Travis CI status

Gattii is a serial terminal emulator that allows one to use a serial port for transmitting and receiving data. This project grew out of my desire to learn Rust. It aims to replace RealTerm_, and as such provide a very similar set of functionality. Realterm was invaluable in my robotics work with microcontrollers, but is not actively maintained, difficult to contribute to and improve, and full of bugs, both crashers and usability related.

The canonical repository for this crate is on GitLab, but it is mirrored on GitHub purely for testing via Travis CI. To report any issues or contribute code, please do so using through the GitLab repository.

Etymology

The name Gattii refers to Cryptococcus Gattii, which is named in solidarity with Rust itself, which was named after the rust family of fungi. I forgot why I originally chose this name, but now I like it so I'm just gonna keep it.

Screenshots

Screenshot of main window

Functionality

  • Enumerate ports
  • Easily modify settings/change ports
  • Send file
  • Log to file

Software Requirements

This software is written in Rust, and as such requires the Rust toolchain to be installed to build it. Additionally there are library requirements for some of supporting libraries (gtk-rs). As gtk-rs does not support anything older than the current Rust stable release, gattii is also limited to that.

The only tier-1 platform for this is Linux x64, as that's what I develop and test on. I try to be diligent at testing all functionality on Windows, but as it's not my primary OS, some things may slip through the cracks. Windows has Tier 2 support in that compilation testing is done on it, but I don't actively test functionality. Mac is Tier 3 in that compilation works, but serial enumeration isn't working until the serialport-rs 2.0 release, but do not expect this to work correctly on Mac.

Building

  1. Install Rust stable using rustup (Requires Rust 1.27 or later)
  2. Install library requirements:
  3. Clone the main repository with git clone https://gitlab.com/susurrus/gattii.git
  4. Run cargo build within the project directory

Licensing

This project is licensed under the GPL version 3 or later. See the LICENSE file for the license text.

If you received a compiled version of this code, a copy of the source code can be found online at https://gitlab.com/susurrus/gattii.

How to Contribute

There are two ways to contribute to Gattii. The first is to file issues through the Gitlab issue tracker.

If you'd like to contribute code, you may submit a pull request through Gitlab:

  1. Fork Gattii on Gitlab (you'll need an account first)
  2. Clone your fork: git clone https://gitlab.com/YOUR_NAME/gattii.git
  3. Install build dependencies (listed above under Building)
  4. Create commits and push to Gitlab.
  5. Submit a merge request

Attribution

The send file icon is Upload by AlePio from the Noun Project.

The log to file icon is based on Download by AlePio from the Noun Project.

Dependencies

~15MB
~357K SLoC