Files
pubsubclient/_posts/2000-03-03-beginPublish.md
2020-05-21 01:17:42 +01:00

762 B

tag, type, name, params, returns
tag type name params returns
api function beginPublish
name description type
topic the topic to publish to const char[]
name description type
length the length of the payload to be sent unsigned int
name description type
retained whether the message should be retained <ul> <li>false - not retained</li> <li>true - retained</li> </ul> boolean
type values
boolean
value description
false publish failed, either connection lost or message too large
value description
true publish succeeded

Begins sending a publish message. The payload of the message is provided by one or more calls to write followed by a call to endPublish.