]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_ctfws/commitdiff
examples/ctfws: README improvements
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Fri, 10 Feb 2017 07:00:56 +0000 (02:00 -0500)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Fri, 10 Feb 2017 07:14:29 +0000 (02:14 -0500)
README.rst

index 346ee5d066b6a170fe668f1ee2bc0abc0e4491fd..2455c24cfb40266d2cef3a61da2f3d1808577832 100644 (file)
@@ -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
 #################