SendDataOverMQTT

This example demonstrates how to read environmental sensor values from the BME280 environmental sensor and how to publish this data over the MQTT protocol to a destination broker. Also, the example contains the subscription from the MQTT broker and prints them to the console of the XDK-Workbench.

Output

When running the program, the published data should be received from the MQTT broker using the same time intervals like that used one at publishing.

Image