This branch contains a Celix-based implementation for the INAETICS wiring capabilities.
- Be sure to have installed cmake,apr,apr-util,zlib,curl,mbedTLS and jansson libraries
- 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.)
- Checkout the node-wiring-c source code: git clone https://github.com/INAETICS/node-wiring-c
- Create a build folder mkdir node-wiring-build && cd node-wiring-build
- Start cmake with either: cmake -DCELIX_DIR= .. or: ccmake .. -DCELIX_DIR= to configure the project via the interactive menu
- make all
- make deploy
- Copy contents of the
TEST_bundles
folder todeploy
folder. - Terminal 1:
cd deploy/wiring_rsa_client && rm -rf .cache && sh run.sh
. (Celix Framework will be started, as well as wiring bundles) - Terminal 2:
cd deploy/wiring_rsa_server && rm -rf .cache && sh run.sh
. (Celix Framework will be started, as well as wiring bundles) - Terminal 1 (in gogo shell):
install bundes/calculator_shell.zip
and then start withstart X
command. - Terminal 2 (in gogo shell):
install bundes/calculator.zip
and then start withstart X
command. - Terminal 1 (in gogo shell):
add 10 10
- The server (Terminal 2) should also display the result of 20.
The project was developed using cmake version 3.5.1