Copied stage-hand dali-adaptor build instructions from quick-start guide to programmi... 85/89885/5
authorTom Robinson <tom.robinson@samsung.com>
Tue, 27 Sep 2016 09:42:11 +0000 (10:42 +0100)
committerTom Robinson <tom.robinson@samsung.com>
Wed, 5 Oct 2016 10:41:54 +0000 (03:41 -0700)
Change-Id: Ic651d3bb8b3b83d31efc85efc37aae1271a6a113

docs/content/shared-javascript-and-cpp-documentation/stage-hand.md

index c4e93f2..0fb72c6 100644 (file)
@@ -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)
 
 ![ ](../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:
 
 
 To enable network control on DALi, an environment variable must be set:
 
@@ -61,7 +75,7 @@ $ netstat -tlpn
 ![ ](netstat.png)
 
 
 ![ ](netstat.png)
 
 
-## Connecting with Stagehand
+### Connecting with Stagehand
 
 Click the settings icons below
   
 
 Click the settings icons below