]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/tidep0084.git/blob - example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/mqtt/doc/subscribe.txt
Initial commit
[apps/tidep0084.git] / example / iot-gateway / node_modules / aws-iot-device-sdk / node_modules / mqtt / doc / subscribe.txt
1 Usage: mqtt subscribe [opts] [topic]
3 Available options:
5   -h/--hostname HOST    the broker host
6   -p/--port PORT        the broker port
7   -i/--client-id ID     the client id
8   -q/--qos 0/1/2        the QoS of the message
9   --no-clean            do not discard any pending message for
10                         the given id
11   -t/--topic TOPIC      the message topic
12   -k/--keepalive SEC    send a ping every SEC seconds
13   -u/--username USER    the username
14   -P/--password PASS    the password
15   -l/--protocol PROTO   the protocol to use, 'mqtt',
16                         'mqtts', 'ws' or 'wss'
17   --key PATH            path to the key file
18   --cert PATH           path to the cert file
19   --ca PATH             path to the ca certificate
20   --insecure            do not verify the server certificate
21   --will-topic TOPIC    the will topic
22   --will-message BODY   the will message
23   --will-qos 0/1/2      the will qos
24   --will-retain         send a will retained message
25   -v/--verbose          print the topic before the message
26   -H/--help             show this