summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-07-03 19:07:17 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-07-10 17:12:14 +0200
commit47d9a2667ee860c3dc3199a4e0c4f23a03f47fbc (patch)
tree250c1e462e4fd239473826712d87657876e6da8c /conf.d
parent1843e4ece852755cec7778db60629d2aea8536a0 (diff)
Continue Mapis works WIP
Beginning work to handle events from a Mapi. Also rename old fapis file to mapis and some format Change-Id: I30bedcbe13cac9568e21cd3a0947516e74dde271 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/project/etc/aft-mapis.json9
-rw-r--r--conf.d/project/lua.d/mapi_low-can.lua (renamed from conf.d/project/lua.d/fapi_low-can.lua)0
-rw-r--r--conf.d/project/lua.d/mapi_tests.lua (renamed from conf.d/project/lua.d/fapi_tests.lua)0
3 files changed, 8 insertions, 1 deletions
diff --git a/conf.d/project/etc/aft-mapis.json b/conf.d/project/etc/aft-mapis.json
index edcfc87..f68e05f 100644
--- a/conf.d/project/etc/aft-mapis.json
+++ b/conf.d/project/etc/aft-mapis.json
@@ -54,6 +54,13 @@
"info": "Write a CAN messages to the CAN bus.",
"action": "lua://low-can#_write"
}
- ]
+ ],
+ "events": [{
+ "uid": "low-can/diagnostic_messages",
+ "action": "lua://AFT#_evt_catcher_"
+ },{
+ "uid": "low-can/messages_engine_speed",
+ "action": "lua://AFT#_evt_catcher_"
+ }]
}]
}
diff --git a/conf.d/project/lua.d/fapi_low-can.lua b/conf.d/project/lua.d/mapi_low-can.lua
index f7cd99a..f7cd99a 100644
--- a/conf.d/project/lua.d/fapi_low-can.lua
+++ b/conf.d/project/lua.d/mapi_low-can.lua
diff --git a/conf.d/project/lua.d/fapi_tests.lua b/conf.d/project/lua.d/mapi_tests.lua
index 1111a2d..1111a2d 100644
--- a/conf.d/project/lua.d/fapi_tests.lua
+++ b/conf.d/project/lua.d/mapi_tests.lua