summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-13 10:19:36 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 13:10:35 +0100
commit9a2be611dfb8fe4d542a67b204e5c61d96db911b (patch)
treef524d9d5562954bf465be4fc00724093e9d91e50 /conf.d/project/etc
parent005cb9eed05cd5a6ddfad13e45c6807263408dab (diff)
Fixing afb function call from LUA and cleaning
Change-Id: I36d675ba7c38ce883a021da1a82dfbe8b077a39f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r--conf.d/project/etc/sig-doors.json45
-rw-r--r--conf.d/project/etc/sources.json10
2 files changed, 11 insertions, 44 deletions
diff --git a/conf.d/project/etc/sig-doors.json b/conf.d/project/etc/sig-doors.json
index 427269a..98cec4e 100644
--- a/conf.d/project/etc/sig-doors.json
+++ b/conf.d/project/etc/sig-doors.json
@@ -5,80 +5,56 @@
"uid": "rear_left_window",
"event": "low-can/messages.windows.rear_left.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "rear_left_door",
"event": "low-can/messages.doors.rear_left.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "rear_right_window",
"event": "low-can/messages.windows.rear_right.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "rear_right_door",
"event": "low-can/messages.doors.rear_right.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "front_left_window",
"event": "low-can/messages.windows.front_left.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "front_left_door",
"event": "low-can/messages.doors.front_left.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "front_right_window",
"event": "low-can/messages.windows.front_right.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
"uid": "front_right_door",
"event": "low-can/messages.doors.front_right.open",
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
@@ -88,10 +64,7 @@
"rear_left_door"
],
"onReceived": {
- "function": "plugin://low-can-callbacks/isOpen",
- "args": {
- "ojoi": "pok"
- }
+ "function": "plugin://low-can-callbacks/isOpen"
}
},
{
diff --git a/conf.d/project/etc/sources.json b/conf.d/project/etc/sources.json
index 84a39fa..7da3b95 100644
--- a/conf.d/project/etc/sources.json
+++ b/conf.d/project/etc/sources.json
@@ -6,10 +6,7 @@
"api": "low-can",
"info": "Low level binding to handle CAN bus communications",
"getSignals": {
- "function": "plugin://low-can-callbacks/subscribeToLow",
- "args": {
- "arg": "first argument"
- }
+ "function": "plugin://low-can-callbacks/subscribeToLow"
}
},
{
@@ -23,10 +20,7 @@
}
},
"getSignals": {
- "function": "lua://_Simple_Echo_Args",
- "args": {
- "arg": "first argument"
- }
+ "function": "lua://_Simple_Echo_Args"
}
},
{