diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-25 18:42:10 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:25 +0100 |
commit | 1480ff8d68ee4b923596d8178e37eba7b9202a30 (patch) | |
tree | be2d96ffa22150c05028122f8447a9f4e0711368 /conf.d | |
parent | 1ee7176ad8f10897d25bed479da211dbc51c8ae9 (diff) |
Update config to simulate real situation
LUA2C not working...
Use diagnostic message from OBD2 values for vehicle_speed
Remove action from sources
Change-Id: I08bd94bc023320a027a1e050583e5a940e1b2629
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/project/etc/init-daemon.json | 2 | ||||
-rw-r--r-- | conf.d/project/etc/sig-demoboard.json | 4 | ||||
-rw-r--r-- | conf.d/project/etc/sources.json | 14 |
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" } ] } |