pcolby / dokit Goto Github PK
View Code? Open in Web Editor NEWCross-platform library, and desktop apps for Pokit measuring devices
Home Page: https://pcolby.github.io/dokit/
License: GNU General Public License v3.0
Cross-platform library, and desktop apps for Pokit measuring devices
Home Page: https://pcolby.github.io/dokit/
License: GNU General Public License v3.0
QtPokit is fully internationalised, meaning that localisations can be added very easily.
If you would like to contribute a localisation for a language of your choice, let us know ๐
You don't need any coding knowledge at all. The translations can be edited via the Qt Linguist tool on any platform.
I get the following after building with cmake 3.26.3:
./build/src/cli/dokit status
dokit.cli.command: Looking for first available Pokit device...
qt.bluetooth.darwin: A proper Info.plist with NSBluetoothAlwaysUsageDescription entry is required, cannot start device discovery
pokit.ble.discovery: Pokit device scan error: QBluetoothDeviceDiscoveryAgent::MissingPermissionsError
dokit.cli.command: Bluetooth controller error: QBluetoothDeviceDiscoveryAgent::MissingPermissionsError
What about adding an optional accoustic signal in continuity mode to pokit CLI?
On PC the pc speaker could be used, e.g. via QApplication::beep().
On devices without physical speaker and/or execution within terminal, the ASCII BEL character could be used.
Activation could be done like this: pokit meter --mode continuity --output bell
In the calibrationservices.h the setParam UUID appears to have an extra trailing '4'.
When I log this, I get the UUID as: 5588e47b-cb81-4f7b-acc4-6029a3f39f72
Not an issue, but thought I could provide some clarity regarding the Pokit API Errata Class GenericAccessService comments/notes.
The Generic Access Service (GAS) '0x1800' is a service that all Bluetooth devices MUST have to conform to the Bluetooth Core Specifications. It is a mandatory part of the Generic Access Profile (GAP). This service is standardized for device discovery and initial connection to maintain consistency for device identification across different manufactures and device types. This service MUST contain, Device Name and Appearance, and optionally Peripheral Preferred Connection Parameters (PPCP). The PPCP provides suggested connection parameters like minimum/maximum connection interval, slave latency, and connection supervision timeout multiplier. This service typically won't be seen in the Services Discovered as this is the service used for the initial connection. Then, during the discoverServices you might see something like, 'Connection parameters updated (interval: 7.5ms, latency: 0, timeout: 5000ms)', these parameters would be set by the PPCP of the GAS.
Hope this helps!
@pcolby
Following the build instructions in the README, I get
niall@preston:~/sandbox/qtpokit$ cmake -E make_directory tmp-build
niall@preston:~/sandbox/qtpokit$ cmake -D CMAKE_BUILD_TYPE=Release -S . -B tmp-build
CMake Error: The source directory "/home/niall/sandbox/qtpokit/tmp-build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Trying build on Ubuntu 18.04, Qt v 5.9.5 ...
Does someone has a good pointer on instructions on getting the proper tools on a windows machine to compile this?
I guess my queries were not good in Google and I did not find any relevant documents. On linux this is so much easier but I need a windows executable for presentation purposes of signals we measure with on a digital train layout.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.