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...

First, we will establish the connectivity with Azure IoT Hub. We will need to use the host URL, device ID, and key, along with the topic. Once we are connected, we will be sending the data to "devices/{0}/messages/events/telemetry".

The second part of this recipe is to receive the command at MQTT client. The topic used for this purpose is “devices/{0}/messages/devicebound/#”.

Using the device explorer tool, we can read the messages ingested into the IoT Hub through this MQTT client and, also using the same tool, we can send some messages back to the 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