diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-10 19:46:02 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:25 +0100 |
commit | 75cfbf3d0206f12422091e6479c508c69445bf4a (patch) | |
tree | 200085512507e7ee5adc43b377d34ff5953db8de /conf.d/project/etc | |
parent | bdf2d19cf8a3d6005456508ca52dba74cd9c103f (diff) |
Controller src integration
Change-Id: I0b18cd55057a784d183a5ba02c332810a34d1fca
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r-- | conf.d/project/etc/sig-sources.json | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/conf.d/project/etc/sig-sources.json b/conf.d/project/etc/sig-sources.json index 95de2fa..6051e3e 100644 --- a/conf.d/project/etc/sig-sources.json +++ b/conf.d/project/etc/sig-sources.json @@ -10,50 +10,51 @@ { "api": "low-can", "info": "Low level binding to handle CAN bus communications", - "init": { + "actions": [{ + "label": "init", "function": "c/lua (depend on name) function to initialize binding", "args": { "arg": "first argument" } - }, - "get_signal": { + }, { + "label": "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", - "init": { + "actions": [{ + "label": "init", "function": "c/lua (depend on name) function to initialize binding", "args": { "arg": "first argument" } - }, - "get_signal": { + }, { + "label": "getSignal", "function": "c/lua (depend on name) function to get signals", "args": { "arg": "first argument" } - } - }, - { + }] + }, { "api": "mraa", "info": "Low level binding which retrieve different values from several sensors like gyroscope, accelerometer, etc", - "init": { + "actions": [{ + "label": "init", "function": "c/lua (depend on name) function to initialize binding", "args": { "arg": "first argument" } - }, - "get_signal": { + }, { + "label": "getSignal", "function": "c/lua (depend on name) function to get signals", "args": { "arg": "first argument" } - } + }] } ] } |