summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-07-18 13:06:53 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-07-18 13:06:53 +0200
commitd489fa8d6dc9ea13b041c1fb658dd758b78908b0 (patch)
tree65428264fbb8b44e126b41975e0bdf17a6c4fac2 /config.mk
parent7f87211b01bcc116eba8b01b73677ea87172e8d7 (diff)
Minor changes
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk13
1 files changed, 6 insertions, 7 deletions
diff --git a/config.mk b/config.mk
index 15dd5d6..0414658 100644
--- a/config.mk
+++ b/config.mk
@@ -1,4 +1,4 @@
-##### ZeroMQ
+##### Network Communications
# ZMQ_PORT is the port used for all communications
ZMQ_PORT=5556
# SUBSCRIBER_ADDR is used by the publishers
@@ -12,21 +12,20 @@ ZMQ_TOKEN=ina260-zmq-publisher
# Units is bytes
ZMQ_MSG_SIZE=5242880
-##### Loggers/Publisher
+##### Publishers/Subscriber
# LOG_DELAY defines the delay between 2 consecutive
# ina260 power read performed by the logger
# Unit is milliseconds
-LOG_DELAY=1000
+LOG_DELAY=0
# SUBSCRIBER_DIR will contain all the measurments
# received from the publishers
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 loggers in LOGGERS_DIR
-# This file, is then transmitted by the publishers to the subscriber
+# all the measurements are send by a publisher thread
# Unit is seconds
LOG_INTERVAL=20
-# KEY is attached to all the messages published by the node
-# It allows you to filter the messages received on the client
+# KEY is attached to all the messages published to the subscriber
+# It allows you to filter the messages on the publisher
# if you are using multiple monitoring nodes (multiple publishers)
KEY=node1 \ No newline at end of file