Skip to content

openDAQ/JetModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JetModule

Jet module is an integration of Jet protocol with openDAQ SDK. It publishes device structure as Jet states.

How to use

  • Fetch JetModule into your project and link it to your device's executable.

  • Include <jet_server.h> header in your source file.

  • After a device has been instantiated, create JetServer object:

    jet_module::JetServer jetServer = jet_module::JetServer(opendaqInstance);
  • Call JetServer::publishJetStates() to publish device structure as Jet states:

    jetServer.publishJetStates();

Jet states are updated automatically if some property value is changed.

CMake options

COMPILE_REFERENCE_APPLICATION - Compiles reference application when ON.
JET_MODULE_ENABLE_TESTS - Compiles tests if enabled.
IGNORE_INSTALLED_SDK - Ignores loccally installed SDK and fetches it if enabled.

Build

mkdir build
cd build
cmake ../
cmake --build .

TODO

  • Add Support for all property types.
  • Exception handling and error logging has to be reworked from ground-up.

About

Integration of jetPeer with openDAQ SDK to publish device structure as Jet states

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published