Data transceiver(monitor)/realtime plotter/shortcut/file transceiver over serial port/Bluetooth/network on Windows/Linux/Android/macOS | 跨平台串口/蓝牙/网络调试助手,带数据收发/实
A versatile test tool running on Windows/Linux/macOS/Android. Works as data transceiver/realtime plotter/shortcut/file transceiver. Supports serial port, Bluetooth SPP client/server, Bluetooth LE client, TCP client/server, UDP.
cd ~
git clone https://github.com/wh201906/SerialTest.git --depth=1
cd SerialTest
mkdir build && cd build
3. Choose how to import QCustomplot
Use QCustomPlot source file(recommended)
You need to download QCustomPlot archive, extract the qcustomplot.cpp and qcustomplot.h in the /src folder(replace the existing qcustomplot.h), then build.
bash
wget https://www.qcustomplot.com/release/2.1.1/QCustomPlot-source.tar.gz
tar -xzf QCustomPlot-source.tar.gz
cp qcustomplot-source/qcustomplot.* ../src
Use QCustomPlot library
If the qcustomplot.cpp doesn't exist in the src/ folder, the qmake will try to find the library file(xxx.so/xxx.dll) in the building directory(where you call the qmake command) and the default library directory.
4. Build and run
bash
export QT_SELECT=qt5
qmake ../src
make -j4 && make clean
./SerialTest
Install from the Linux software repository
Flathub
bash
flatpak install flathub io.github.wh201906.serialtest
# run this app
flatpak run io.github.wh201906.serialtest
Arch Linux
bash
# Install the release
yay -S serialtest
# Install the development version
yay -S serialtest-git
Translation
The project uses Weblate to manage translation. If you'd like to help with the translation, please visit the Weblate translation page or create a PR to the weblate branch.
The src/qcustomplot.h and the files in src/qdarkstyle/ are licensed under the same licenses as their respective projects. The source code in src/ is licensed under GPL 3.0. The source code in demo/(excluding dependencies), translations, documents and other parts of this project are licensed under MIT.