From 1c93ff74e3e7ec828a21e9028b99cd46752ebce8 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 3 May 2018 20:35:21 +0200 Subject: Rework loading sources and signals. Some function that are now included in the controller submodule do not need to be in the composer as well. Also initialize sources and signals in the same way . JSON configuration needs to be updated to fit this changes Change-Id: I2043791e7ee80f8350f33ed15bdf9980c0773b82 Signed-off-by: Romain Forlot --- conf.d/project/etc/control-basic-conf.json | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 conf.d/project/etc/control-basic-conf.json (limited to 'conf.d/project/etc/control-basic-conf.json') diff --git a/conf.d/project/etc/control-basic-conf.json b/conf.d/project/etc/control-basic-conf.json new file mode 100644 index 0000000..dd7255f --- /dev/null +++ b/conf.d/project/etc/control-basic-conf.json @@ -0,0 +1,34 @@ +{ + "$schema": "http://iot.bzh/download/public/schema/json/signal-composer-schema.json", + "metadata": { + "uid": "Signal Composer", + "version": "1.0", + "api": "signal-composer", + "info": "Signal composer Configuration", + "require": ["low-can"] + }, + "plugins": [ + { + "uid": "low-can-callbacks", + "info": "Manage interaction with low-can service", + "basename": "low-can" + }, + { + "uid": "gps-callbacks", + "info": "Manage interaction with gps service", + "basename": "gps" + }, + { + "uid": "convert", + "info": "LUA fonctions used to convert standard unit.", + "spath": "/tmp", + "file": "unit-conversion.lua" + } + ], + "signals": { + "files": ["sig-doors", "sig-demoboard", "sig-geoloc" ] + }, + "sources": { + "files": "sources" + } +} -- cgit 1.2.3-korg