Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
9741c8f1
Commit
9741c8f1
authored
Jan 28, 2016
by
devsaurus
Browse files
fix #527
parent
1c32d205
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/en/modules/mqtt.md
View file @
9741c8f1
...
...
@@ -149,7 +149,7 @@ Subscribes to one or several topics.
-
`topic`
a
[
topic string
](
http://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices
)
-
`qos`
QoS subscription level, default 0
-
`table`
array of 'topic, qos' pairs to subscribe to
-
`function(client
, topic, message
)`
optional callback fired when
message receiv
ed
-
`function(client)`
optional callback fired when
subscription(s) succeed
ed
#### Returns
`true`
on success,
`false`
otherwise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment