MQTT
Last updated
Last updated
MQTT is a lightweight messaging protocol that is ideal for sending small packets of data to and from IoT devices via WiFi.
The broker used in this example is the platform, which is free and allows for tinkering with MQTT.
Visit and create an account. You'll need to get hold of an API Key as well as your credentials. Visit this for more information about MQTT and how to use it with Adafruit's Broker.
This example will send a message to a topic on the Adafruit MQTT broker and then also subscribe to the same topic, in order to show how to use the subscribe functionality.