From 0814cf4af1252538085ae4ef909947f54a558aeb Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 16 Sep 2023 15:49:14 +0200 Subject: [PATCH] added caller script for aqhome-nodes. --- aqhome-nodes.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 aqhome-nodes.sh diff --git a/aqhome-nodes.sh b/aqhome-nodes.sh new file mode 100755 index 0000000..0683811 --- /dev/null +++ b/aqhome-nodes.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# AQHOME_LOGLEVEL=info LD_LIBRARY_PATH="../../aqhome/:$LD_LIBRARY_PATH" ./aqhomed -l aqhome.log -db aqhome.db -ma 127.0.0.1 + +export AQHOME_LOGLEVEL=info +export LD_LIBRARY_PATH="0-build/aqhome/:$LD_LIBRARY_PATH" + +# aqhomed -l /var/log/aqhome.log -db /var/cache/aqhome/nodes.db -ma 192.168.117.192 -mp 1883 -t 127.0.0.1 -W /var/cache/aqhome + +# 0-build/apps/aqhomed/aqhomed -l aqhome.log -db aqhome.db -ma 192.168.117.192 -mp 1883 -t 127.0.0.1 -p aqhomed.pid + +# 0-build/apps/aqhomed/aqhomed -l aqhome.log -db aqhome.db -p aqhomed.pid -W /tmp/aqhome/aqhomed -ma 192.168.117.192 -mp 1883 -t 127.0.0.1 --mqttclientid=AQHOMEMQTTLOGTEST1 +0-build/apps/aqhome-nodes/aqhome-nodes -l aqhome-nodes.log -db aqhome-nodes.db -p aqhome-nodes.pid -t 127.0.0.1 -ba 127.0.0.1