By using this document, in addition to any agreements you have with Intel, you accept the terms set forth below.
These instructions guide you through the steps to publish data from an Intel® IoT Gateway to an MQTT broker (server) using a Python* Script.
Applicable to These Intel® IoT Gateway Products
In this section, you will set up your Development Computer to subscribe to an MQTT message test topic on an Internet MQTT message broker. After your Development Computer has subscribed to a topic, messages published to the topic are sent to the Development Computer.
To setup your Development Computer you will:
The previous section guided you through installing and testing the Paho Python MQTT software. The next step is to make sure your MQTT broker is set up, and ready to receive and send messages. To complete the examples in this guide, choose one of the following options for the location of your MQTT broker:
To setup your Gateway, you will: