aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-19 16:23:13 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-19 16:40:28 +0100
commitdda0abe9314a7c296d62092c2a08e18f37db4e0a (patch)
treed84cf3ee45bf1f73cfdf3b651246b8151b6abca6 /conf.d
parentc8f07ec99af84895ef899457c35b9beb000ad11e (diff)
Get builtin plugin as a normal plugin
- Back in normal configuration file - Remove builtin special callback as it is just a plugin after all - Rename main configuration files to get it works on a target board. Change-Id: I69165c47e5e58eb519e727cfdd83ee628d90abba Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/project/etc/control-signal-composer.json (renamed from conf.d/project/etc/control-daemon.json)8
-rw-r--r--conf.d/project/etc/sig-demoboard.json2
2 files changed, 7 insertions, 3 deletions
diff --git a/conf.d/project/etc/control-daemon.json b/conf.d/project/etc/control-signal-composer.json
index 7a7e162..d44a8fe 100644
--- a/conf.d/project/etc/control-daemon.json
+++ b/conf.d/project/etc/control-signal-composer.json
@@ -10,15 +10,19 @@
"plugins": [
{
"uid": "low-can-callbacks",
- "ldpath": "lib/plugins",
"info": "Manage interaction with low-can service",
"basename": "low-can"
},
{
"uid": "gps-callbacks",
- "ldpath": "lib/plugins",
"info": "Manage interaction with gps service",
"basename": "gps"
+ },
+ {
+ "uid": "builtin",
+ "info": "Builtin routine for onReceived or getSignals routines",
+ "basename": "builtin",
+ "lua2c": "setSignalValueWrap"
}
],
"signals": {
diff --git a/conf.d/project/etc/sig-demoboard.json b/conf.d/project/etc/sig-demoboard.json
index bb64fe9..da64a26 100644
--- a/conf.d/project/etc/sig-demoboard.json
+++ b/conf.d/project/etc/sig-demoboard.json
@@ -26,7 +26,7 @@
"unit": "rpm",
"frequency": 1,
"onReceived": {
- "function": "builtin://defaultOnReceived"
+ "function": "plugin://defaultOnReceived"
}
},
{