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-19 17:30:28 +0200 |
commit | ddbf88e33be00bfac3a20bf3861a12361cf0f3c1 (patch) | |
tree | 94476e6d36ab8783505dae9f95042880cf6822af /conf.d/project | |
parent | 5295d1dc64c6cc5080a35e606111170b0b9876c1 (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')
-rw-r--r-- | conf.d/project/etc/control-signal-composer.json | 19 | ||||
-rw-r--r-- | conf.d/project/etc/control-txc-demo.json (renamed from conf.d/project/etc/control-basic-conf.json) | 20 | ||||
-rw-r--r-- | conf.d/project/etc/sig-geoloc.json | 16 | ||||
-rw-r--r-- | conf.d/project/etc/sources-basic.json (renamed from conf.d/project/etc/sources.json) | 7 |
4 files changed, 25 insertions, 37 deletions
diff --git a/conf.d/project/etc/control-signal-composer.json b/conf.d/project/etc/control-signal-composer.json index d6083e1..0ed9fac 100644 --- a/conf.d/project/etc/control-signal-composer.json +++ b/conf.d/project/etc/control-signal-composer.json @@ -5,13 +5,13 @@ "version": "1.0", "api": "signal-composer", "info": "Signal composer Configuration", - "require": ["txc-binding"] + "require": ["low-can"] }, "plugins": [ { - "uid": "convert", - "info": "LUA fonctions used to convert standard unit.", - "libs": "unit-conversion.lua" + "uid": "low-can-callbacks", + "info": "Manage interaction with low-can service", + "libs": "low-can.ctlso" }, { "uid": "gps-callbacks", @@ -19,16 +19,15 @@ "libs": "gps.ctlso" }, { - "uid": "builtin", - "info": "Builtin routine for onReceived or getSignals routines", - "libs": "builtin.ctlso", - "lua": { "prefix": "composer", "functions": "setSignalValueWrap"} + "uid": "convert", + "info": "LUA fonctions used to convert standard unit.", + "libs": "unit-conversion.lua" } ], "signals": { - "files": ["sig-txc" ] + "files": ["sig-doors", "sig-demoboard", "sig-geoloc" ] }, "sources": { - "files": "sources-txc" + "files": "sources-basic" } } diff --git a/conf.d/project/etc/control-basic-conf.json b/conf.d/project/etc/control-txc-demo.json index 1331544..d6083e1 100644 --- a/conf.d/project/etc/control-basic-conf.json +++ b/conf.d/project/etc/control-txc-demo.json @@ -5,13 +5,13 @@ "version": "1.0", "api": "signal-composer", "info": "Signal composer Configuration", - "require": ["low-can"] + "require": ["txc-binding"] }, "plugins": [ { - "uid": "low-can-callbacks", - "info": "Manage interaction with low-can service", - "libs": "low-can.ctlso" + "uid": "convert", + "info": "LUA fonctions used to convert standard unit.", + "libs": "unit-conversion.lua" }, { "uid": "gps-callbacks", @@ -19,16 +19,16 @@ "libs": "gps.ctlso" }, { - "uid": "convert", - "info": "LUA fonctions used to convert standard unit.", - "spath": "/tmp", - "libs": "unit-conversion.lua" + "uid": "builtin", + "info": "Builtin routine for onReceived or getSignals routines", + "libs": "builtin.ctlso", + "lua": { "prefix": "composer", "functions": "setSignalValueWrap"} } ], "signals": { - "files": ["sig-doors", "sig-demoboard", "sig-geoloc" ] + "files": ["sig-txc" ] }, "sources": { - "files": "sources" + "files": "sources-txc" } } diff --git a/conf.d/project/etc/sig-geoloc.json b/conf.d/project/etc/sig-geoloc.json index d3040b8..a09d4d7 100644 --- a/conf.d/project/etc/sig-geoloc.json +++ b/conf.d/project/etc/sig-geoloc.json @@ -5,19 +5,13 @@ "uid": "latitude", "event": "gps/location", "unit": "degree", - "frequency": 1, - "onReceived": { - "action": "plugin://gps-callbacks#getLatitude" - } + "frequency": 1 }, { "uid": "longitude", "event": "gps/location", "unit": "degree", - "frequency": 1, - "onReceived": { - "action": "plugin://gps-callbacks#getLongitude" - } + "frequency": 1 }, { "uid": "altitude", @@ -47,19 +41,19 @@ }, { "uid": "climb", - "event": "mraa/getclimb", + "event": "gps/location", "unit": "degree", "frequency": 1 }, { "uid": "roll_rate", - "event": "mraa/gyroscope", + "event": "gps/location", "unit": "degree/s", "frequency": 1 }, { "uid": "pitch_rate", - "event": "mraa/gyroscope", + "event": "gps/location", "unit": "degree/s", "frequency": 1 }, diff --git a/conf.d/project/etc/sources.json b/conf.d/project/etc/sources-basic.json index 45d7706..be2d02f 100644 --- a/conf.d/project/etc/sources.json +++ b/conf.d/project/etc/sources-basic.json @@ -22,11 +22,6 @@ "getSignals": { "function": "lua://convert#_Simple_Echo_Args" } - }, - { - "uid": "MRAA-service", - "api": "mraa", - "info": "Low level binding which retrieve different values from several sensors like gyroscope, accelerometer, etc" - } + } ] } |