kmzbrnoI / wsm-speed-reader

A Wireless Speedometer PC application

Home Page:https://wsm.kmz-brno.cz/speed-reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WSM Speed Reader

Speed Reader Screenshot

WSM Speed Reader is a simple desktop application. It connects to the serial port of the Wireless SpeedoMeter and displays its speed.

This application is developed in QT.

Resources

Building & toolkit

This SW was developed in vim using make. Downloads are available in Releases section. It is suggested to use clang as a compiler, because then you may use clang-tools during development process (see below).

Prerequisities

  • Qt 5
  • Qt's serialport
  • Optional: clang build tools (see below)
  • Optional for clang: Bear

Build

Clone this repository (including submodules!):

git clone --recurse-submodules https://github.com/kmzbrnoI/wsm-speed-reader

And then build:

$ mkdir build
$ cd build
$ qmake -spec linux-clang ..
$ bear make

Connecting to WSM

  • Windows: pair it with HC-05 module, serial port should be added automatically

  • Linux: pair it with HC-05 module and map it to new serial device:

    rfcomm connect /dev/rfcomm0 hc-05-hw-address 2
    

Style checking

$ clang-tidy-7 -p build -extra-arg-before=-x -extra-arg-before=c++ -extra-arg=-std=c++14 -header-filter=. src/*.cpp
$ clang-format-7 *.cpp *.h

Authors

License

This application is released under the Apache License v2.0 .

About

A Wireless Speedometer PC application

https://wsm.kmz-brno.cz/speed-reader

License:Apache License 2.0


Languages

Language:C++ 86.0%Language:QMake 13.3%Language:Shell 0.6%