aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-sources.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-12 00:29:28 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:25 +0100
commitd663f702c0e4fa562783504a483dce8f362d628e (patch)
treefdb656d0467a935aa6790dd9e05d3e373606a3e1 /conf.d/project/etc/sig-sources.json
parent75cfbf3d0206f12422091e6479c508c69445bf4a (diff)
Progression on config parsing.
Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/sig-sources.json')
-rw-r--r--conf.d/project/etc/sig-sources.json11
1 files changed, 5 insertions, 6 deletions
diff --git a/conf.d/project/etc/sig-sources.json b/conf.d/project/etc/sig-sources.json
index 6051e3e..1142196 100644
--- a/conf.d/project/etc/sig-sources.json
+++ b/conf.d/project/etc/sig-sources.json
@@ -10,19 +10,18 @@
{
"api": "low-can",
"info": "Low level binding to handle CAN bus communications",
- "actions": [{
- "label": "init",
+ "init": {
"function": "c/lua (depend on name) function to initialize binding",
"args": {
- "arg": "first argument"
+ "arg1": "first argument"
}
- }, {
- "label": "getSignal",
+ },
+ "getSignal": {
"function": "c/lua (depend on name) function to get signals",
"args": {
"arg": "first argument"
}
- }]
+ }
}, {
"api": "gps",
"info": "Low level binding which retrieve Satellite positionning values",