Book Image

Azure IoT Development Cookbook

By : Yatish Patil
Book Image

Azure IoT Development Cookbook

By: Yatish Patil

Overview of this book

Microsoft’s end-to-end IoT platform is the most complete IoT offering, empowering enterprises to build and realize value from IoT solutions efficiently. It is important to develop robust and reliable solutions for your organization to leverage IoT services. This book focuses on how to start building custom solutions using the IoT hub or the preconfigured solution of Azure IoT suite. As a developer, you will be taught how to connect multiple devices to the Azure IoT hub, develop, manage the IoT hub service and integrate the hub with cloud. We will be covering REST APIs along with HTTP, MQTT and AMQP protocols. It also helps you learn Pre-Configured IoT Suite solution. Moving ahead we will be covering topics like:-Process device-to-cloud messages and cloud-to-device messages using .Net-Direct methods and device management-Query Language, Azure IoT SDK for .Net-Creating and managing, Securing IoT hub, IoT Suite and many more. We will be using windows 10 IoT core, Visual Studio, universal Windows platform. At the end, we will take you through IoT analytics and provide a demo of connecting real device with Azure IoT.
Table of Contents (10 chapters)

Introduction

IoT Hub provides messaging, which is reliable and durable, by providing the following two types of communication between devices and IoT backend solutions:

  • Send device-to-cloud messages
  • Send cloud-to-device messages

IoT Hub implements at least once delivery guarantees for the messages. That means, when using device-to-cloud and cloud-to-device messaging, it will deliver the messages at least once. IoT Hub currently supports different devices: facing protocols mostly known as MQTT, AMQP, and HTTPS.

IoT Hub has defined a common message format, so that all device-facing protocols the communication work seamlessly. To make sure our devices are running as we expect them to, we will also want to be notified of our IoT device's state, which can be either be running or stopped. IoT Hub is built on technologies like event hubs and service bus to facilitate this device...