You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview:

The Sparkplug sample code can be downloaded here.  Navigate to the sparkplug_b directory. In it are two base directories that both show the basics of utilizing the Sparkplug specification to enable applications to communicate with Ignition and the MQTT Modules

  • stand_alone_examples
    • These are examples that can be run on a development system and have no specific hardware requirements
  • raspberry_pi_examples

 

Implementation notes and useful tools:

  • Git
    • This is the primary tool used with Github which is where the source code is hosted.
    • This is not explicitly required as Github allows for downloading of zip files as well.
  • C Development
    • A C compiler for your target platform is required to build the examples.  Most examples developed here were developed using Linux and OSX.
  • Python Development
    • Python is required for running all Python examples.
    • Pip is also very useful for installing module dependencies.
  • Java Development
    • A JDK is required for compiling the Java examples.  Most development was done using Oracle's JDK.
    • Maven is required for building the examples.
    • The Eclipse IDE is not required but is a useful IDE for Java development.  It supports importing of Maven projects as well as connectors to git projects.  Most Java development was done using the 'Eclipse IDE for Java EE Developers'
  • No labels