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
f42fdb1a
Commit
f42fdb1a
authored
Jan 30, 2016
by
Arnim Läuger
Browse files
also fix cb prototype description
parent
1697126a
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/en/modules/mqtt.md
View file @
f42fdb1a
...
...
@@ -142,8 +142,8 @@ Publishes a message.
Subscribes to one or several topics.
#### Syntax
`mqtt:subscribe(topic, qos[, function(client
, topic, message
)])`
`mqtt:subscribe(table[, function(client
, topic, message
)])`
`mqtt:subscribe(topic, qos[, function(client)])`
`mqtt:subscribe(table[, function(client)])`
#### Parameters
-
`topic`
a
[
topic string
](
http://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices
)
...
...
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