summaryrefslogtreecommitdiffstats
path: root/conf.d
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
parent75cfbf3d0206f12422091e6479c508c69445bf4a (diff)
Progression on config parsing.
Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d')
m---------conf.d/app-templates0
-rw-r--r--conf.d/project/etc/sig-doors.json2
-rw-r--r--conf.d/project/etc/sig-sources.json11
3 files changed, 6 insertions, 7 deletions
diff --git a/conf.d/app-templates b/conf.d/app-templates
-Subproject b05e4422c52fe1e80c9552f2057c8c817c4d2fe
+Subproject 5df967a9095f54c3f965b5a02965c6d7b3a4e95
diff --git a/conf.d/project/etc/sig-doors.json b/conf.d/project/etc/sig-doors.json
index 05b7e54..e93745e 100644
--- a/conf.d/project/etc/sig-doors.json
+++ b/conf.d/project/etc/sig-doors.json
@@ -126,4 +126,4 @@
}
}
]
-} \ No newline at end of file
+}
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",