From 831c94f898c284e8c46ee36dff1f30821bc82615 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Tue, 3 Oct 2023 16:51:15 +0200 Subject: [PATCH] Read config file for fallback when no command line arguments are given. --- 0BUILD | 48 +++++++ apps/aqhome-data/init.c | 12 +- apps/aqhome-nodes/init.c | 9 +- apps/aqhome-tool/data/adddata.c | 5 +- apps/aqhome-tool/data/getdatapoints.c | 5 +- apps/aqhome-tool/data/getdevices.c | 5 +- apps/aqhome-tool/data/getlastdatapoint.c | 5 +- apps/aqhome-tool/data/getvalues.c | 5 +- apps/aqhome-tool/data/moddevice.c | 5 +- apps/aqhome-tool/data/setdata.c | 5 +- apps/aqhome-tool/main.c | 3 + apps/aqhome-tool/nodes/flash.c | 2 +- apps/aqhome-tool/nodes/getnodes.c | 2 +- apps/aqhome-tool/nodes/ping.c | 2 +- apps/aqhome-tool/utils.c | 34 ++++- apps/aqhome-tool/utils.h | 11 +- aqhome-data.sh | 2 +- aqhome-nodes.sh | 2 +- aqhome-storage.sh | 2 +- aqhome-tool.sh | 2 +- aqhome/0BUILD | 3 + aqhome/aqhome.c | 173 ++++++++++++++++++++++- aqhome/aqhome.h | 14 +- aqhomed.sh | 2 +- 24 files changed, 324 insertions(+), 34 deletions(-) diff --git a/0BUILD b/0BUILD index bb2b370..87c74f9 100644 --- a/0BUILD +++ b/0BUILD @@ -50,6 +50,23 @@ $(includedir)/aqhome/$(package) $(datadir)/$(package) + + + + + + + + + + +