From 10cebd560dc26be76cf2d3390cc5b37e673e3bb6 Mon Sep 17 00:00:00 2001 From: Tom Robinson Date: Tue, 27 Sep 2016 10:42:11 +0100 Subject: [PATCH] Copied stage-hand dali-adaptor build instructions from quick-start guide to programming guide Change-Id: Ic651d3bb8b3b83d31efc85efc37aae1271a6a113 --- .../stage-hand.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/content/shared-javascript-and-cpp-documentation/stage-hand.md b/docs/content/shared-javascript-and-cpp-documentation/stage-hand.md index c4e93f2..0fb72c6 100644 --- a/docs/content/shared-javascript-and-cpp-documentation/stage-hand.md +++ b/docs/content/shared-javascript-and-cpp-documentation/stage-hand.md @@ -36,7 +36,21 @@ Stagehand connects to DALi via the network using a TCP/IP connection. ![ ](../assets/img/stage-hand/inner-workings.png) ![ ](inner-workings.png) -## Network setup +## Connecting Stagehand to your DALi application + +### Preparing DALi + +Stagehand connects to DALi via network using a TCP/IP connection, to enable this, your dali-adaptor RPM must be built with a configure option: `--enable-networklogging` + +Here is an example dali-adaptor configure line: +~~~ +$ CXXFLAGS="-g -O0 -Wno-unused-local-typedefs" CXX="ccache g++" ./configure --prefix=$DESKTOP_PREFIX --enable-debug=yes --enable-profile=UBUNTU --enable-gles=20 --enable-networklogging +~~~ + +Once this RPM is installed, you can run your DALi application and connect Stagehand to it. + + +### Network setup To enable network control on DALi, an environment variable must be set: @@ -61,7 +75,7 @@ $ netstat -tlpn ![ ](netstat.png) -## Connecting with Stagehand +### Connecting with Stagehand Click the settings icons below -- 2.7.4