aboutsummaryrefslogtreecommitdiffstats
path: root/Controller-afb
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-08-18 01:43:18 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-08-18 01:43:18 +0200
commit082d083a96f4be23ea6f54fc26eeaece7cfa4507 (patch)
treea50c9482b4bb63136a4d5b7a8ef61cfbe218a9a3 /Controller-afb
parenta7d41a6fa1e29d800ce8ac9e95e8f943814463e8 (diff)
Documented Controller standalone mode and provided a sample config.
Diffstat (limited to 'Controller-afb')
-rw-r--r--Controller-afb/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/Controller-afb/README.md b/Controller-afb/README.md
index 403f637..e6cab72 100644
--- a/Controller-afb/README.md
+++ b/Controller-afb/README.md
@@ -183,6 +183,17 @@ input parameter. When funcname is not given by default the controller try to exe
When executed from controller Lua script may use any AppFw Apis as well as any L2C user defined commands in plugin.
+### Running as Standalone Controller
+
+Controller is a standard binding and can then be started independently of AAAA. When started with from build repository with
+```
+afb-daemon --port=1234 --workdir=. --roothttp=../htdocs --tracereq=common --token= --verbose --binding=./Controller-afb/afb-control-afb.so
+```
+
+Afb-Daemon only load controller bindings without search for the other binding. In this case the name of the process is not change
+to afb-audio and controller binding will search for a configuration file name 'onload-daemon-xxx.json'. This model can be used
+to implement for testing purpose or simply to act as the glue in between a UI and other binder/services.
+
## Config Sample
Here after a simple configuration sample.