Reader small image

You're reading from  Azure IoT Development Cookbook

Product typeBook
Published inAug 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781787283008
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Yatish Patil
Yatish Patil
author image
Yatish Patil

Yatish Patil is currently working with Saviant Consulting as a technical project manager. He has delivered enterprise IoT and analytics applications using Microsoft Azure, ASP.NET, MVC, C#, SQL Server, and NoSQL. He has diverse industrial experience in IT and has worked in a variety of domains, such as utilities, manufacturing, and engineering. He has completed his certification in Developing Azure Solutions in the Microsoft Azure Certification. Yatish was also the technical reviewer for a Microsoft Azure-based technology book Microsoft Azure IaaS Essentials, which teaches guides Microsoft Azure subscribers how to design, configure, and build cloud-based infrastructure using Microsoft Azure. Yatish was among the industry speakers at India IoT Symposium, 2016. He delivered the industry session on remote asset monitoring with Microsoft Azure IoT Suite.
Read more about Yatish Patil

Right arrow

Messaging - commands and control

Any IoT device which is capable of receiving messages from the cloud makes a bidirectional command execution easy. The device can receive the message and process upon the instruction on the hardware side. Once the action is taken, an acknowledgement is sent to the cloud about the action completion. With the IoT Hub SDK for the device and the backend application, we can achieve this. We must follow the following steps:

How to do it...

In this section we will send a cloud-to-device message. Upon receiving it, the IoT device will perform an action:

  1. Send a cloud-to-device message from a cloud solution to an IoT device:
ServiceClient serviceClient;
serviceClient = ServiceClient.CreateFromConnectionString...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Azure IoT Development Cookbook
Published in: Aug 2017Publisher: PacktISBN-13: 9781787283008

Author (1)

author image
Yatish Patil

Yatish Patil is currently working with Saviant Consulting as a technical project manager. He has delivered enterprise IoT and analytics applications using Microsoft Azure, ASP.NET, MVC, C#, SQL Server, and NoSQL. He has diverse industrial experience in IT and has worked in a variety of domains, such as utilities, manufacturing, and engineering. He has completed his certification in Developing Azure Solutions in the Microsoft Azure Certification. Yatish was also the technical reviewer for a Microsoft Azure-based technology book Microsoft Azure IaaS Essentials, which teaches guides Microsoft Azure subscribers how to design, configure, and build cloud-based infrastructure using Microsoft Azure. Yatish was among the industry speakers at India IoT Symposium, 2016. He delivered the industry session on remote asset monitoring with Microsoft Azure IoT Suite.
Read more about Yatish Patil