DataLogger is a Bluetooth LE streamer and an HTTP server.
Table of Contents
- Qt Framework - download it from Qt
- conan - package manager -
pip install conan(Python 3.6+ is needed) - Xcode (only on mac)
- Visual Studio 2019 with C++ (only on windows)
This project depends on the following external library and they need to be installed first using conan from terminal
| Package Name | Instillation Instruction |
|---|---|
| Eigen 3.3.9 | conan install eigen/3.3.9@ |
These packages are predefined in conanfile.txt, before running the application do - conan install .
This code depends on Qt 5.15 and this can be downloaded from Qt.
From the maintenance tool, make sure you have the following selected (under Qt 5.15.*):
- macOS (only in mac)
- MSVC 2019 64-bit (only in windows)
- Sources
- Qt Charts
- Qt Debug Information files
And under Developer and Designer Tools, select:
- Qt Creator <version> Debug Symbols
- Qt Installer framework <version> (this is only required if you want to distribute the software)
- CMake <version>
- Ninja <version>
Note:
versionmeans, whatever the current version is in use.
Warning: this application uses OpenGL, make sure you have a compatible hardware for it.
- Open Qt Creator (the IDE that comes with Qt),
File -> Open File or Project...then selectDataLogger/folder. - The IDE should be able to automatically detect
CMakeLists.txtfile and open a configuration view, make sure you select the a configuration that looks like -Desktop Qt 5.15.* <build type>-<build type>could beclang 64bit(mac) ormsvc 64-bit(windows). - Clicking on the play button (bottom left) should run the program and open a GUI.
After clicking Stream Data button, all the data will be streamed via http://localhost:45454. Clicking on the same button will stop streaming.
The default location is the Desktop and the file name is in the format of DataLogger-<date and time in GMT>. Write to File is a toggle button, clicking it once will write to file and clicking it again will stop it.