/ATerm-CPP

A simple serial terminal implemented in Qt

Primary LanguageC++MIT LicenseMIT

ATerm-CPP

This project, ATerm-CPP, is a simple serial terminal implemented in Qt.
ATerm-CPP is the C++ version of this. The functions are almost same with Python version at same version number.
ATerm not only can send/recive ascii text but also send file(binary).

Setting

This section will talk about how to config ATerm(e.g., priority of ports, default baud rate, etc.) through writing the setting file. The setting file is a YAML file and place in the directory of program. There are following options in file.

  • priority: a list of string. ATerm will compare available com ports with this list and select the highest priority and available port on refresh bottom clicked.
  • baud: the key/value pairs. Key is the port name. Value is the baud rate.
  • path: a string. Default directory of open file dialog of sending file.
  • custom_baud: a list of integer. ATerm will add this list into the baud rate combo box.(1.3.0+)

Example

---
baud:
  ch340: 9600
  cp210: 115200

path: D:/terminal/

custom_baud:
- 15151

priority:
- cp210
- ch340

note: The name in baud and priority don't need identical to the name in ports combobox.

Requirement

  • Qt 5.14.0
  • yaml-cpp 0.6.3