From d663f702c0e4fa562783504a483dce8f362d628e Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 12 Sep 2017 00:29:28 +0200 Subject: Progression on config parsing. Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot --- conf.d/project/etc/sig-sources.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'conf.d/project/etc/sig-sources.json') diff --git a/conf.d/project/etc/sig-sources.json b/conf.d/project/etc/sig-sources.json index 6051e3e..1142196 100644 --- a/conf.d/project/etc/sig-sources.json +++ b/conf.d/project/etc/sig-sources.json @@ -10,19 +10,18 @@ { "api": "low-can", "info": "Low level binding to handle CAN bus communications", - "actions": [{ - "label": "init", + "init": { "function": "c/lua (depend on name) function to initialize binding", "args": { - "arg": "first argument" + "arg1": "first argument" } - }, { - "label": "getSignal", + }, + "getSignal": { "function": "c/lua (depend on name) function to get signals", "args": { "arg": "first argument" } - }] + } }, { "api": "gps", "info": "Low level binding which retrieve Satellite positionning values", -- cgit 1.2.3-korg