pubsubclient/_posts/2000-04-01-subscribe.md
2020-05-21 01:17:42 +01:00

506 B

tag type name params returns
api function subscribe
name description type
topic the topic to subscribe to const char[]
name optional description type
qos true the qos to subscribe at int: 0 or 1 only
type values
boolean
value description
false sending the subscribe failed, either connection lost or message too large
value description
true sending the subscribe succeeded

Subscribes to messages published to the specified topic.