aboutsummaryrefslogtreecommitdiffstats
path: root/docs/3-Usage.md
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-19 16:14:48 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-19 16:30:26 +0000
commitc70baaeb249f0e1dc5c9e14344e60afe68d64698 (patch)
tree5f9cb0fe6b33405556081d878a9f39be0e9f5d2a /docs/3-Usage.md
parent686079f69c60571219ad5c77b2e024fb58d6e446 (diff)
Update documentation.
Change-Id: I0dfdb6d9461073ed021663aed4d2f36040fb1356 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/3-Usage.md')
-rw-r--r--docs/3-Usage.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/3-Usage.md b/docs/3-Usage.md
index 6f49430..662e5f7 100644
--- a/docs/3-Usage.md
+++ b/docs/3-Usage.md
@@ -1,8 +1,12 @@
+
+
# Usage
-## JSon configuration file
+## JSON configuration file
This file must be named *high.json*, and must accessible from afb-daemon.
+
+
The json configuration file consists in 2 sections:
### Definitions section
@@ -94,9 +98,18 @@ For instance:
### Launch the binder together with the two bindings
+The Json high level configuration file *high.json* must be placed in the directory where you launch afb-daemon.
+
+```bash
+$ cp $WD/high-level-viwi-service/high.json $WD
+ cd $WD
+```
+
+Then you can natively under linux you can launch afb-daemon with the low-level and high-level bindings with a command like:
+
```bash
$ cd $WD
-$ afb-daemon --rootdir=$WD/low-level-can-service/CAN-binder/build/package --ldpaths=$WD/low-level-can-service/CAN-binder/build/package/lib:$WD/high-level-viwi-service/build/high-can-binding --port=1234 --tracereq=common --token=1 --verbose
+$ afb-daemon --rootdir=$WD/low-level-can-service/CAN-binder/build/package --binding=$WD/low-level-can-service/CAN-binder/build/package/lib/afb-low-can.so --binding=$WD/high-level-viwi-service/build/package/lib/afb-high-can.so --port=1234 --tracereq=common --token=1 --verbose
```
### Use afb-client-demo to test high level binding