diff options
Diffstat (limited to 'conf.d/project/etc/sources.json')
-rw-r--r-- | conf.d/project/etc/sources.json | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/conf.d/project/etc/sources.json b/conf.d/project/etc/sources.json new file mode 100644 index 0000000..a70da50 --- /dev/null +++ b/conf.d/project/etc/sources.json @@ -0,0 +1,50 @@ +{ + "sources": [ + { + "api": "low-can", + "info": "Low level binding to handle CAN bus communications", + "init": { + "function": "low-can/subscribe", + "args": { + "event": "message*" + } + }, + "getSignal": { + "function": "_LUA_Simple_Echo_Args", + "args": { + "arg": "first argument" + } + } + }, { + "api": "gps", + "info": "Low level binding which retrieve Satellite positionning values", + "init": { + "function": "_LUA_Simple_Echo_Args", + "args": { + "arg1": "first argument" + } + }, + "getSignal": { + "function": "_LUA_Simple_Echo_Args", + "args": { + "arg": "first argument" + } + } + }, { + "api": "mraa", + "info": "Low level binding which retrieve different values from several sensors like gyroscope, accelerometer, etc", + "init": { + "function": "_LUA_Simple_Echo_Args", + "args": { + "arg1": "first argument" + } + }, + "getSignal": { + "function": "_LUA_Simple_Echo_Args", + "args": { + "arg": "first argument" + } + } + } + ] +} |