diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-12 00:29:28 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:25 +0100 |
commit | d663f702c0e4fa562783504a483dce8f362d628e (patch) | |
tree | fdb656d0467a935aa6790dd9e05d3e373606a3e1 /conf.d/project | |
parent | 75cfbf3d0206f12422091e6479c508c69445bf4a (diff) |
Progression on config parsing.
Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project')
-rw-r--r-- | conf.d/project/etc/sig-doors.json | 2 | ||||
-rw-r--r-- | conf.d/project/etc/sig-sources.json | 11 |
2 files changed, 6 insertions, 7 deletions
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", |