From ddbf88e33be00bfac3a20bf3861a12361cf0f3c1 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 11 Apr 2019 20:30:21 +0200 Subject: 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 --- conf.d/project/etc/sources-basic.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 conf.d/project/etc/sources-basic.json (limited to 'conf.d/project/etc/sources-basic.json') 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" + } + } + ] + } -- cgit 1.2.3-korg