How to do it...

Lets configure and use MQTT client tool:

  1. Download and install the MQTTBox tool from http://workswithweb.com/html/mqttbox/downloads.html.
  2. Click on the Create MQTT Client to create a new connection:
MQTT client connection
  1. Configure the MQTT Client:
MQTT Client Name = myFirstmqttclientMQTT Client Id = 'myFirstDevice'HOST: IoTHubCookBook.azure-devices.net:8883username: IoTHubCookBook.azure-devices.net/{Device Id}/DeviceClientType=azure-iot-device%2F1.1.0-dtpreview&api-version=2016-11-14password: Genreate SharedAccessSignature using Device explorerAppend timestamp to MQTT client Id = NO
  1. Click Publish – you should get a green ...

Get Azure IoT Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.