Code to test using MQTT for data logging applications.