aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r--conf.d/project/etc/control-basic-conf.json6
-rw-r--r--conf.d/project/etc/control-signal-composer.json3
-rw-r--r--conf.d/project/etc/sig-txc.json6
-rw-r--r--conf.d/project/etc/sources-txc.json6
4 files changed, 8 insertions, 13 deletions
diff --git a/conf.d/project/etc/control-basic-conf.json b/conf.d/project/etc/control-basic-conf.json
index dd7255f..1331544 100644
--- a/conf.d/project/etc/control-basic-conf.json
+++ b/conf.d/project/etc/control-basic-conf.json
@@ -11,18 +11,18 @@
{
"uid": "low-can-callbacks",
"info": "Manage interaction with low-can service",
- "basename": "low-can"
+ "libs": "low-can.ctlso"
},
{
"uid": "gps-callbacks",
"info": "Manage interaction with gps service",
- "basename": "gps"
+ "libs": "gps.ctlso"
},
{
"uid": "convert",
"info": "LUA fonctions used to convert standard unit.",
"spath": "/tmp",
- "file": "unit-conversion.lua"
+ "libs": "unit-conversion.lua"
}
],
"signals": {
diff --git a/conf.d/project/etc/control-signal-composer.json b/conf.d/project/etc/control-signal-composer.json
index 1734422..3e693f6 100644
--- a/conf.d/project/etc/control-signal-composer.json
+++ b/conf.d/project/etc/control-signal-composer.json
@@ -22,8 +22,7 @@
"uid": "builtin",
"info": "Builtin routine for onReceived or getSignals routines",
"libs": "builtin.ctlso",
- "lua2c": "setSignalValueWrap",
- "lua2c_prefix": "bui"
+ "lua": { "prefix": "composer", "functions": "setSignalValueWrap"}
}
],
"signals": {
diff --git a/conf.d/project/etc/sig-txc.json b/conf.d/project/etc/sig-txc.json
index 9599cce..c9c59cd 100644
--- a/conf.d/project/etc/sig-txc.json
+++ b/conf.d/project/etc/sig-txc.json
@@ -10,8 +10,7 @@
"event": "vehicle_speed"
},
"onReceived": {
- "uri": "lua://convert",
- "function": "_Unit_Converter",
+ "action": "lua://convert#_Unit_Converter",
"args": {
"from": "km/h",
"to": "mi/h"
@@ -104,8 +103,7 @@
"retention": 30,
"unit": "degrees",
"onReceived": {
- "uri": "plugin://gps-callbacks",
- "function": "getHeading"
+ "action": "plugin://gps-callbacks#getHeading"
}
}
]
diff --git a/conf.d/project/etc/sources-txc.json b/conf.d/project/etc/sources-txc.json
index 77bc99b..a460fee 100644
--- a/conf.d/project/etc/sources-txc.json
+++ b/conf.d/project/etc/sources-txc.json
@@ -6,13 +6,11 @@
"api": "txc",
"info": "Use TXC demo binding as signals provider",
"init": {
- "uri": "api://txc",
- "function": "start",
+ "action": "api://txc#start",
"args": {"filename": "var/nyc-downtown-crosstown.json"}
},
"getSignals": {
- "uri": "api://txc",
- "function": "subscribe"
+ "action": "api://txc#subscribe"
}
}
]