aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/project')
-rw-r--r--conf.d/project/etc/init-daemon.json2
-rw-r--r--conf.d/project/etc/sig-demoboard.json4
-rw-r--r--conf.d/project/etc/sources.json14
3 files changed, 4 insertions, 16 deletions
diff --git a/conf.d/project/etc/init-daemon.json b/conf.d/project/etc/init-daemon.json
index a631859..bc7bd5a 100644
--- a/conf.d/project/etc/init-daemon.json
+++ b/conf.d/project/etc/init-daemon.json
@@ -26,7 +26,7 @@
"version": "1.0",
"info": "Lua2C Interface",
"basename": "lua2c-interface",
- "lua2c": ["ssetSignalValue"]
+ "lua2c": ["_setSignalValue"]
}
]
}
diff --git a/conf.d/project/etc/sig-demoboard.json b/conf.d/project/etc/sig-demoboard.json
index 84269d6..6e4815e 100644
--- a/conf.d/project/etc/sig-demoboard.json
+++ b/conf.d/project/etc/sig-demoboard.json
@@ -2,7 +2,7 @@
"signals": [
{
"id": "vehicle_speed",
- "event": "low-can/messages.vehicle.average.speed",
+ "event": "low-can/diagnostic_messages.vehicle.speed",
"class": "temporal",
"unit": "km/h",
"frequency": 1,
@@ -29,7 +29,7 @@
"id": "fuel_level",
"event": "low-can/diagnostic_messages.fuel.level",
"class":"temporal",
- "unit": "litre",
+ "unit": "liter",
"frequency": 1
},
{
diff --git a/conf.d/project/etc/sources.json b/conf.d/project/etc/sources.json
index dcb55a3..396a6f9 100644
--- a/conf.d/project/etc/sources.json
+++ b/conf.d/project/etc/sources.json
@@ -26,19 +26,7 @@
}
}, {
"api": "mraa",
- "info": "Low level binding which retrieve different values from several sensors like gyroscope, accelerometer, etc",
- "init": {
- "function": "lua://_Simple_Echo_Args",
- "args": {
- "arg1": "first argument"
- }
- },
- "getSignals": {
- "function": "lua://_Simple_Echo_Args",
- "args": {
- "arg": "first argument"
- }
- }
+ "info": "Low level binding which retrieve different values from several sensors like gyroscope, accelerometer, etc"
}
]
}