aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-11-23 18:57:22 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:26 +0100
commite45a88e0a32dd24751aa0af7e806743c4b35a596 (patch)
tree9f87f1ad1e9e3aaa966c5c5a09cf602a9acfc5f1
parent0d16d582fb00669dd97e94273eca317692c96db7 (diff)
Update JSON obj to fit new controller lib
Change-Id: Ib6068ef81151bc61923ad6ec54048028033ca4af Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--conf.d/project/etc/control-daemon.json4
-rw-r--r--signal-composer-binding/signal-composer.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/project/etc/control-daemon.json b/conf.d/project/etc/control-daemon.json
index 8804b1d..e0ec2c8 100644
--- a/conf.d/project/etc/control-daemon.json
+++ b/conf.d/project/etc/control-daemon.json
@@ -10,13 +10,13 @@
"plugins": [
{
"uid": "low-can-callbacks",
- "version": "1.0",
+ "ldpath": "/home/claneys/Workspace/Sources/IOTbzh/Signaling/afb-signal-composer/build/package/lib/plugins",
"info": "Manage interaction with low-can service",
"basename": "low-can"
},
{
"uid": "gps-callbacks",
- "version": "1.0",
+ "ldpath": "/home/claneys/Workspace/Sources/IOTbzh/Signaling/afb-signal-composer/build/package/lib/plugins",
"info": "Manage interaction with gps service",
"basename": "gps"
}
diff --git a/signal-composer-binding/signal-composer.cpp b/signal-composer-binding/signal-composer.cpp
index 5eb970e..86f449a 100644
--- a/signal-composer-binding/signal-composer.cpp
+++ b/signal-composer-binding/signal-composer.cpp
@@ -207,7 +207,7 @@ int Composer::pluginsLoad(AFB_ApiT apiHandle, CtlSectionT *section, json_object
{
wrap_json_pack(&builtinJ, "{ss,ss,ss,ss,s[s]}",
"uid", "builtin",
- "version", "4.99",
+ "ldpath", CONTROL_PLUGIN_PATH,
"info", "Builtin routine for onReceived or getSignals routines",
"basename", "builtin",
"lua2c", "setSignalValueWrap");