mqtt_publish()
Description: |
Publishes a topic and its data to the MQTT server (broker). |
Syntax: |
sub mqtt_publish(byref topic as string, byref data as string) |
Returns: |
--- |
See Also: |
Parameter |
Description |
topic |
The topic to be published. |
data |
The data corresponding to this topic. |
Details
Hivemq.com is has an excellent explanation of MQTT topics: http://www.hivemq.com/blog/mqtt-essentials-part-5-mqtt-topics-best-practices.