Skip to Content
Azure IoT Development Cookbook
book

Azure IoT Development Cookbook

by Yatish Patil
August 2017
Intermediate to advanced
254 pages
6h 10m
English
Packt Publishing
Content preview from Azure IoT Development Cookbook

How it works...

The MQTTBox tool provides a simulator which helps us connect to the IoT Hub and publish messages at the same time as subscribing for cloud-to-device messages.

The client settings require the connectivity configuration. Once all settings are in place, it will automatically connect with the host, which we provide in the settings.

In the topic to publish, we need to mention the path 'devices/{device name}/messages/events/{Topic Name}'. Apart from this, we can set the QoS and provide the actual data in the payload.

Using the device explorer, we read the data from IoT Hub. Instead of this, we can even write our own console application and make use of it.

Using the device explorer only, we can send the command to the MQTT client ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781787283008Supplemental Content