Git Product home page Git Product logo

serialportassistant's Introduction

Serial Port Assistant

Author: Kang Lin ([email protected])


🇨🇳 中文

GitHub stars star

GitHub forks GitHub issues

Release Download SerialPortAssistant

All releases downloads Download SerialPortAssistant

build


Introduction

Download

Donate

If you are satisfied, you can donate to me

donation

If it cannot be displayed, please open:

Developer

Dependence

Compile

  • Download source code

      git clone https://github.com/KangLin/SerialPortAssistant.git
    
  • Compiled with QtCreator

    • Open the project file CMakeLists.txt with QtCreator
    • The RabbitCommon can be downloaded to the same directory of the project. If it is a different directory, Set the parameter RabbitCommon_DIR
    • Direct compilation can generate programs
  • Compile with the command line

    • Download source code and the deplendence in same directory

      git clone https://github.com/KangLin/RabbitCommon.git
      git clone https://github.com/KangLin/SerialPortAssistant.git
      
    • Make the build directory in the project root directory

      cd SerialPortAssistant
      mkdir build
      cd build
      # cmake configure
      cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`pwd`/install [-DRabbitCommon_DIR=...]
      # compiling
      cmake --build . --config Release --target install
      cd install  # The program is installed in the install/bin directory
      

Script

  • build_debpackage.sh

    • This script generates the deb package under linux. Before use, please make sure the following programs are installed

      sudo apt-get install debhelper fakeroot 
      
    • Use system qt

      sudo apt-get install \
          qt6-tools-dev qt6-tools-dev-tools qt6-base-dev qt6-base-dev-tools \
          qt6-l10n-tools qt6-translations-l10n qt6-scxml-dev \
          qt6-webengine-dev qt6-webengine-dev-tools libqt6serialport6-dev
      

      See: ubuntu.yml

  • deploy.sh: This script is used to generate new release version numbers and tag. Used only by the program publisher.

serialportassistant's People

Contributors

kanglin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

serialportassistant's Issues

无法识别串口

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]

Additional context
Add any other context about the problem here.

Build Error on Raspberry Pi

Hi!

I am trying to build SerialPortAssistant on Raspberry Pi, however it is failing with the following issue

$ sudo apt-get install clang qtcreator qtbase5-dev qt5-qmake cmake libasound2-dev libqt5erialport5-dev
$ mkdir SerialPortAssistant
$ cd SerialPortAssistant
$ git clone https://github.com/KangLin/RabbitCommon.git
$ git clone https://github.com/KangLin/SerialPortAssistant.git
$ mkdir build
$ cd build/
$ qmake ../SerialPortAssistant.pro
$ make install
...
../../App/MainWindow.cpp:36:14: fatal error: FrmStyle/FrmStyle.h: No such file or directory
   36 |     #include "FrmStyle/FrmStyle.h"
      |              ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

QT 5.5.12 (GCC 10.2.1 20210110, 32 bit)

(I am not familiar with QT, however as there was no precompiled ARM32/ARM64 DEB suitable for Raspberry Pi I have to build it myself)

neno 窗口不能拖动

serialportassistant_0.5.9_Ubuntu-20.04_amd64.deb

运行环境:
neno (ubuntu 20.04 + QT5 + wayland)
Linux kernel 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

问题:
窗口位置不能拖动 (可以放大/缩小/关闭/改变窗口大小)

请问arm环境下怎么配置

我使用QT编译运行没问题,但是直接运行生成的文件报错误
`pi@raspberrypi:~/seastone/build-SerialPortAssistant-unknown-Release/bin $ ls -lh

总用量 1.1M

-rw-r--r-- 1 pi pi 509 7月 31 10:05 libRabbitCommon.prl

lrwxrwxrwx 1 pi pi 24 7月 31 10:09 libRabbitCommon.so -> libRabbitCommon.so.1.0.0

lrwxrwxrwx 1 pi pi 24 7月 31 10:09 libRabbitCommon.so.1 -> libRabbitCommon.so.1.0.0

lrwxrwxrwx 1 pi pi 24 7月 31 10:09 libRabbitCommon.so.1.0 -> libRabbitCommon.so.1.0.0

-rwxr-xr-x 1 pi pi 336K 7月 31 10:09 libRabbitCommon.so.1.0.0

-rwxr-xr-x 1 pi pi 728K 7月 31 10:09 SerialPortAssistant

`

`pi@raspberrypi:~/seastone/build-SerialPortAssistant-unknown-Release/bin $ ./SerialPortAssistant

./SerialPortAssistant: error while loading shared libraries: libRabbitCommon.so.1: cannot open shared object file: No such file or directory
`

Workflows are referencing vulnerable actions

Hello, there!

As part of the university research we are currently doing regarding the security of Github Actions, we noticed that one or many of the workflows that are part of this repository are referencing vulnerable versions of the third-party actions. As part of a disclosure process, we decided to open issues to notify GitHub Community.

Please note that there are could be some false positives in our methodology, thus not all of the open issues could be valid. If that is the case, please let us know, so that we can improve on our approach. You can contact me directly using an email: ikoishy [at] ncsu.edu

Thanks in advance

  1. The workflow windows.yml is referencing action ilammy/msvc-dev-cmd using references v1.7.0. However this reference is missing the commit 74a501b which may contain fix to the vulnerability.

The vulnerability fix that is missing by actions' versions could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider updating the reference to the action.

If you end up updating the reference, please let us know. We need the stats for the paper :-)

Issue when porting Debian

Hi
目前遇到的问题:

  1. 依赖不明确(Debian要求必须把依赖条件写明确,最好确定到版本号)
  2. 解决依赖问题后,还有一个error不太明白:
make[1]: Entering directory '/home/vimer/maintain_packages/yubo_port/SerialPortAssistant'
/bin/qmake PREFIX=/opt/SerialPortAssistant
Info: creating stash file /home/vimer/maintain_packages/yubo_port/SerialPortAssistant/.qmake.stash
make[1]: Leaving directory '/home/vimer/maintain_packages/yubo_port/SerialPortAssistant'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/vimer/maintain_packages/yubo_port/SerialPortAssistant'
dh_auto_build --
        make -j2
make[2]: Entering directory '/home/vimer/maintain_packages/yubo_port/SerialPortAssistant'
cd 3th_lib/ && ( test -e Makefile.RabbitCommon || /usr/lib/qt5/bin/qmake -o Makefile.RabbitCommon /home/vimer/maintain_packages/yubo_port/SerialPortAssistant/3th_lib/RabbitCommon.pro PREFIX=/opt/SerialPortAssistant ) && make -f Makefile.RabbitCommon
Project MESSAGE: Don't find RabbitCommon, in environment variable RabbitCommon_DIR:/home/vimer/maintain_packages/yubo_port/SerialPortAssistant/3th_lib/../../RabbitCommon
Project MESSAGE: 1. Please download RabbitCommon source code from https://github.com/KangLin/RabbitCommon ag:
Project MESSAGE:    git clone https://github.com/KangLin/RabbitCommon.git
Project ERROR: 2. Then set environment variable RabbitCommon_DIR to download dirctory
make[2]: *** [Makefile:48: sub-3th_lib-RabbitCommon-pro-make_first-ordered] Error 3
make[2]: Leaving directory '/home/vimer/maintain_packages/yubo_port/SerialPortAssistant'
dh_auto_build: error: make -j2 returned exit code 2
make[1]: *** [debian/rules:25: override_dh_auto_build] Error 25
make[1]: Leaving directory '/home/vimer/maintain_packages/yubo_port/SerialPortAssistant'
make: *** [debian/rules:18: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed

Send Hex doesn't work at all

Steps:

  1. Selecting Send Hex tickbox
  2. typing: AA
  3. Hit Send

Behaviour:
Dropped bytes counter increased by 2

Expected behaviour
Should send a single byte with value 0xAA
Tx Bytes counter increased by 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.