diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-04-11 20:30:21 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-04-11 20:39:12 +0200 |
commit | d23419e94d5edf4121226754aeb38a6bfdfcdf8b (patch) | |
tree | 4378d39286776ef0829fddceadfb5a9d22923682 /conf.d/project/etc/sources-basic.json | |
parent | 6503346aced4baada6ea7dec88fe9bbbb03f9b57 (diff) |
Cleaning and updating defaults config files
This get rid of nonexistent binding and switch back to the basic configuration
by default instead of the TXC one which is used for test purpose mainly since
the TXC binding is emulated by the binding test framework.
Bug-AGL: SPEC-2312
Change-Id: I7cfd4a9c56d1347bcf5c66d92f0762aa8961816f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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" + } + } + ] + } |