mqtt_publish_message()¶
Pubish data to topic.
Reference¶
Arguments¶
Argument |
Type |
|
|---|---|---|
topic |
|
Topic name to publish. |
data |
|
Data to publish. |
Return¶
None
Usage example¶
self.communication.mqtt_remove_subscription(topic="/topic_name", callback_async=self.cb_topic)