From b2ce9a752a6b0efa10f454fc619915f9a3db1268 Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Fri, 10 Feb 2017 02:00:56 -0500 Subject: [PATCH] examples/ctfws: README improvements --- README.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 346ee5d..2455c24 100644 --- a/README.rst +++ b/README.rst @@ -86,21 +86,18 @@ For example:: # global read permissions pattern read ctfws/# + pattern write ctfws/dev/%u/# # master write to all ctfws parameters user ctfwsmaster pattern write ctfws/game/# - # Per-device permissions to post to their own sub-trees. - user ctfwsdev1 - pattern write ctfws/dev/%u/# - Example Command Line Usage ========================== For the sake of simplicity in the below examples, set:: - M=(-h $MQTT_SERVER -u ctfwsmaster -P $CTFWSMASTER_PASSWD -q 2) + M=(-h $MQTT_SERVER -u ctfwsmaster -P $CTFWSMASTER_PASSWD -q 1) To watch what's going on in the world:: @@ -128,6 +125,12 @@ get the latest messages automatically. * To end a game:: mosquitto_pub "$M[@]" -t ctfws/game/endtime -r -m `date +%s` + +.. note:: + + Due to a bug in nodemcu (https://github.com/nodemcu/nodemcu-firmware/issues/1773), + do not send empty messages or messages with QoS 2; stick to QoS 1 and it + appears to work. Jail Glyph Timers ################# -- 2.50.1