Sending config and data over MQTT.