summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index e65753a..796abbf 100644
--- a/config.mk
+++ b/config.mk
@@ -9,9 +9,10 @@ SUBSCRIBER_ADDR=localhost
ZMQ_TOKEN=ina260-zmq-publisher
# ZMQ_MSG_SIZE max number of bytes per ZeroMQ messages
# Be careful with this parameter. Default is 5MiB
+# Units is MiB
ZMQ_MSG_SIZE=5242880
-##### Logger/Publisher
+##### Loggers/Publisher
# LOGGERS_DIR will contains all the data generated by the loggers
# a.k.a the ina260 power measurements
LOGGERS_DIR=./logs
@@ -24,8 +25,9 @@ LOGGER_DELAY=1000
SUBSCRIBER_DIR=./data
# LOG_INTERVAL determined the duration
# of a logging period. At the end of a logging period,
-# a file with all the power measurements is generated by the logger in LOGGERS_DIR
-# this file is then transmitted by the publisher to the subscribers
+# a file with all the power measurements is generated by the loggers in LOGGERS_DIR
+# This file, is then transmitted by the publishers to the subscriber
+# Unit is seconds
LOG_INTERVAL=30
# KEY is attached to all the messages published by the node
# It allows you to filter the messages received on the client