Install MQTT DSLink
* Select “Root Broker” (local broker)
* Management
* Select links
* Install Link (requires internet conn)
* name: mqtt
* (Pulldown) link: MQTT
* Invoke

Start MQTT DSLink
* Expand links by clicking on the arrow left of links
* select mqtt
* Start link – if successful, the mqtt link will appear in the links pane

Configure MQTT DSLink (Using Dataflow Editor)
* Open dataflow editor
EFM 1.6 Landing Page:
https://<EFM IP Address>
Click on "Dataflow Editor" Link
EFM 1.5 and earlier:
https://<EFM IP Address>:8443/dataflow.html
* Expand “downstream”
* Select “mqtt”
* Right click on "Broker Enabled" in Metrics section
* Change value to "true" to enable the inbuilt MQTT broker

* Right click on "mqtt"
* "Add Server" with the below details:
The MQTT broker does not have any authentication enabled
* name: <any name>
* url: tcp://localhost:1883
* username: <any name>
* password: <any password>
* clientid: <any unique ID>

Now the MQTT server is ready.
Configure Subscription:
* Expand the configured MQTT server
* Right click on "Subscriptions" and add a subscription for all MQTT topics
* name: <any name>
* topic: #
* Click "Invoke"

Publish Data:
* Expand the MQTT server
* Right click on the server and select "Publish"
* topic: <any topic>
* value: <any value>

* Data should now appear under the "Data" node under the MQTT server
