diff options
Diffstat (limited to 'conf.d/project')
-rw-r--r-- | conf.d/project/etc/init-daemon.json | 6 | ||||
-rw-r--r-- | conf.d/project/etc/sig-doors.json | 10 | ||||
-rw-r--r-- | conf.d/project/etc/sources.json | 3 |
3 files changed, 10 insertions, 9 deletions
diff --git a/conf.d/project/etc/init-daemon.json b/conf.d/project/etc/init-daemon.json index dc18f7e..1b27320 100644 --- a/conf.d/project/etc/init-daemon.json +++ b/conf.d/project/etc/init-daemon.json @@ -10,10 +10,10 @@ }, "plugins": [ { - "label": "Door handle", + "label": "low-can-callbacks", "version": "1.0", - "info": "Manage all doors and windows status", - "basename": "doors" + "info": "Manage interaction with low-can service", + "basename": "low-can" } ] } diff --git a/conf.d/project/etc/sig-doors.json b/conf.d/project/etc/sig-doors.json index bc26296..1859dbe 100644 --- a/conf.d/project/etc/sig-doors.json +++ b/conf.d/project/etc/sig-doors.json @@ -39,7 +39,7 @@ "rear_left_door" ], "onReceived": { - "plugin": "Door handle", + "plugin": "low-can-callbacks", "function": "isOpen", "args": { "ojoi": "pok" @@ -53,7 +53,7 @@ "rear_right_window" ], "onReceived": { - "plugin": "Door handle", + "plugin": "low-can-callbacks", "function": "isOpen", "args": {} } @@ -65,7 +65,7 @@ "front_left_window" ], "onReceived": { - "plugin": "Door handle", + "plugin": "low-can-callbacks", "function": "isOpen", "args": {} } @@ -77,7 +77,7 @@ "front_right_window" ], "onReceived": { - "plugin": "Door handle", + "plugin": "low-can-callbacks", "function": "isOpen", "args": {} } @@ -95,7 +95,7 @@ "rear_right_window" ], "onReceived": { - "plugin": "Door handle", + "plugin": "low-can-callbacks", "function": "isOpen", "args": { "evtname": "doors.open" diff --git a/conf.d/project/etc/sources.json b/conf.d/project/etc/sources.json index a70da50..6a9657a 100644 --- a/conf.d/project/etc/sources.json +++ b/conf.d/project/etc/sources.json @@ -10,7 +10,8 @@ } }, "getSignal": { - "function": "_LUA_Simple_Echo_Args", + "plugin": "low-can-callbacks", + "function": "subscribeToLow", "args": { "arg": "first argument" } |