From f98bd0db78003e6e75c70946d9d4e09483e9d975 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 16 Jul 2023 10:59:05 +0200 Subject: [PATCH] Minor changes --- README.md | 11 +++-------- config.mk | 2 +- 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