diff options
Diffstat (limited to 'conf.d/project/etc/sources-basic.json')
-rw-r--r-- | conf.d/project/etc/sources-basic.json | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/conf.d/project/etc/sources-basic.json b/conf.d/project/etc/sources-basic.json new file mode 100644 index 0000000..be2d02f --- /dev/null +++ b/conf.d/project/etc/sources-basic.json @@ -0,0 +1,27 @@ +{ + "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json", + "sources": [ + { + "uid": "CAN-service", + "api": "low-can", + "info": "Low level binding to handle CAN bus communications", + "getSignals": { + "action": "plugin://low-can-callbacks#subscribeToLow" + } + }, + { + "uid": "GPS-service", + "api": "gps", + "info": "Low level binding which retrieve Satellite positionning values", + "init": { + "action": "api://gps#subscribe", + "args": { + "value": "location" + } + }, + "getSignals": { + "function": "lua://convert#_Simple_Echo_Args" + } + } + ] + } |