The '''mosquitto_pub''' command is used to publish messages to specified topics. '''-m''' defines the message that you're publishing. Again, replace the values given with the ones in your configuration. The whole exchange is presented in the picture below: | The '''mosquitto_pub''' command is used to publish messages to specified topics. '''-m''' defines the message that you're publishing. Again, replace the values given with the ones in your configuration. The whole exchange is presented in the picture below: |