|
11.
|
|
|
sensors/COMPUTER_NAME/temperature/HARDDRIVE_NAME
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mqtt.7.xml:57(listitem)
|
|
12.
|
|
|
Clients can receive messages by creating subscriptions. A subscription may be to an explicit topic, in which case only messages to that topic will be received, or it may include wildcards. Two wildcards are available, <option>+</option> or <option>#</option>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mqtt.7.xml:59(para)
|
|
13.
|
|
|
<option>+</option> can be used as a wildcard for a single level of hierarchy. It could be used with the topic above to get information on all computers and hard drives as follows:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mqtt.7.xml:63(para)
|
|
14.
|
|
|
sensors/+/temperature/+
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mqtt.7.xml:67(listitem)
|
|
15.
|
|
|
As another example, for a topic of "a/b/c/d", the following example subscriptions will match:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mqtt.7.xml:69(para)
|
|
16.
|
|
|
a/b/c/d
|
|
|
|
a/b/c/d
|
|
Translated and reviewed by
Jean-Marc
|
|
|
|
Located in
mqtt.7.xml:72(para) mqtt.7.xml:89(para)
|
|
17.
|
|
|
+/b/c/d
|
|
|
|
+/b/c/d
|
|
Translated and reviewed by
Jean-Marc
|
|
|
|
Located in
mqtt.7.xml:73(para)
|
|
18.
|
|
|
a/+/c/d
|
|
|
|
a/+/c/d
|
|
Translated and reviewed by
Jean-Marc
|
|
|
|
Located in
mqtt.7.xml:74(para)
|
|
19.
|
|
|
a/+/+/d
|
|
|
|
a/+/+/d
|
|
Translated and reviewed by
Jean-Marc
|
|
|
|
Located in
mqtt.7.xml:75(para)
|
|
20.
|
|
|
+/+/+/+
|
|
|
|
+/+/+/+
|
|
Translated and reviewed by
Jean-Marc
|
|
|
|
Located in
mqtt.7.xml:76(para)
|