Skip to content

Latest commit

 

History

History

node-wiring-secure-c

Node Wiring Build Status

This branch contains a Celix-based implementation for the INAETICS wiring capabilities.

Building and execution instructions

  1. Be sure to have installed cmake,apr,apr-util,zlib,curl,mbedTLS and jansson libraries
  2. Download, compile and install Celix (sources can be checked out from https://svn.apache.org/repos/asf/celix/trunk/. Building and configuring instructions are included.)
  3. Checkout the node-wiring-c source code: git clone https://github.com/INAETICS/node-wiring-c
  4. Create a build folder mkdir node-wiring-build && cd node-wiring-build
  5. Start cmake with either: cmake -DCELIX_DIR= .. or: ccmake .. -DCELIX_DIR= to configure the project via the interactive menu
  6. make all
  7. make deploy
  8. Copy contents of the TEST_bundles folder to deploy folder.
  9. Terminal 1: cd deploy/wiring_rsa_client && rm -rf .cache && sh run.sh. (Celix Framework will be started, as well as wiring bundles)
  10. Terminal 2: cd deploy/wiring_rsa_server && rm -rf .cache && sh run.sh. (Celix Framework will be started, as well as wiring bundles)
  11. Terminal 1 (in gogo shell): install bundes/calculator_shell.zip and then start with start X command.
  12. Terminal 2 (in gogo shell): install bundes/calculator.zip and then start with start X command.
  13. Terminal 1 (in gogo shell): add 10 10
  14. The server (Terminal 2) should also display the result of 20.

cmake version

The project was developed using cmake version 3.5.1