summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-07-16 10:59:05 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-07-16 10:59:05 +0200
commitf98bd0db78003e6e75c70946d9d4e09483e9d975 (patch)
tree19df2cf9ff8546f027f73114711edc487d75d180
parent565984ed498d103ac8687e29bd4e5180acb7b4da (diff)
Minor changes
-rw-r--r--README.md11
-rw-r--r--config.mk2
2 files changed, 4 insertions, 9 deletions
diff --git a/README.md b/README.md
index 1814672..3af0419 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ A ZeroMQ-based power monitoring publisher for the ina260 chip. This repository p
- `publisher`: that continuously publish using the ZeroMQ pub/sub communication pattern
- `subscriber`: a client that collect the measurements from the publishers (broker, frontend etc...)
-*Note: Nothing is stored locally! Everything that is published by the publisher is either receive by a subscriber or lost.*
+*Note: Nothing is stored locally! Everything that is published by the publishers is either received by the subscriber or lost.*
### Compilation
The only dependency is [ZeroMQ](https://zeromq.org/). After installing the ZeroMQ library, the following will generate all the executables:
@@ -15,10 +15,5 @@ The only dependency is [ZeroMQ](https://zeromq.org/). After installing the ZeroM
### Deployment
1. Update `config.mk` according to you needs
-2. On the nodes equiped with the ina260 chips:
-
- $ make publish
-
-3. One the node that collect the measurements (broker, frontend etc..):
-
- $ make subscribe \ No newline at end of file
+2. On the nodes equiped with the ina260 chips run `make publish`
+3. On the node that collect the measurements (broker, frontend etc..) run `make subscribe` \ No newline at end of file
diff --git a/config.mk b/config.mk
index d1f1e9e..65cdb07 100644
--- a/config.mk
+++ b/config.mk
@@ -1,7 +1,7 @@
##### ZeroMQ
# ZMQ_PORT is the port used for all communications
ZMQ_PORT=5556
-# SUBSCRIBER_ADDR is used by the publisher
+# SUBSCRIBER_ADDR is used by the publishers
# to contact the subscriber
SUBSCRIBER_ADDR=localhost
# ZMQ_TOKEN is used by ZeroMQ to detect