https://github.com/y252328/aterm-cpp
A simple serial terminal implemented in Qt
https://github.com/y252328/aterm-cpp
cpp qt5 send-file serialport
Last synced: about 2 months ago
JSON representation
A simple serial terminal implemented in Qt
- Host: GitHub
- URL: https://github.com/y252328/aterm-cpp
- Owner: y252328
- License: mit
- Created: 2020-01-13T07:20:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-14T05:57:00.000Z (over 6 years ago)
- Last Synced: 2025-03-04T16:25:53.750Z (over 1 year ago)
- Topics: cpp, qt5, send-file, serialport
- Language: C++
- Homepage:
- Size: 4.87 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ATerm-CPP
This project, ATerm-CPP, is a simple serial terminal implemented in Qt. \
ATerm-CPP is the C++ version of [this](https://github.com/y252328/ATerm). 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
```yaml
---
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