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

This recipe, starts with create a Device simulator and connecting it by AMQP protocol to the IoT Hub. By default, all telemetry data goes in /devices/{0}/messages/events, and a shared access signature is generated using the device explorer tool.

To make this connectivity, we need to use the claim-based security token. Post that, we have created a sender link which sends all messages device-to-cloud.

In the latter part, we configured the receiver link to accept the command. We can even reject these using Reject() in a required scenario.

Using the device explorer tool, we can only view the communication and send a command back to the AMQP client that we have created. This will print it on the console. In the real world, we will ...

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