|
31.
|
|
|
<command>mosquitto_sub</command> is a simple mqtt version 3.1 client that will subscribe to a topic and print the messages that it receives.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:77(para)
|
|
32.
|
|
|
Options
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:83(title)
|
|
33.
|
|
|
--disable-clean-session
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:87(option)
|
|
34.
|
|
|
Disable the 'clean session' flag. This means that all of the subscriptions for the client will be maintained after it disconnects, along with subsequent QoS 1 and QoS 2 messages that arrive. When the client reconnects, it will receive all of the queued messages.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:89(para)
|
|
35.
|
|
|
If using this option, it is recommended that the client id is set manually with <option>--id</option>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:94(para)
|
|
36.
|
|
|
--debug
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:100(option)
|
|
37.
|
|
|
Enable debug messages.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:102(para)
|
|
38.
|
|
|
--host
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:107(option)
|
|
39.
|
|
|
Specify the host to connect to. Defaults to localhost.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:109(para)
|
|
40.
|
|
|
--id
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:114(option)
|