- Azure IoT Development Cookbook
- Yatish Patil
- 122字
- 2021-07-02 20:50:38
How it works...
In this example, we looked at a job updating the device twin information, and we can follow up the job for its status to find out whether the job was completed or failed. In this case, instead of having single API calls, a job can be created to execute on multiple IoT devices. The job client object provides the jobs available with the IoT Hub using the connection to it. Once we locate the job using its unique ID, we can retrieve the status for it.
The code snippet mentioned in the How to do it... section uses the temperature properties and updates the data. The job is scheduled to start execution immediately with a 10-second execution timeout set.
推薦閱讀
- 數據庫系統原理及MySQL應用教程(第2版)
- Getting started with Google Guava
- Boost C++ Application Development Cookbook(Second Edition)
- Python for Secret Agents:Volume II
- Apache Spark 2.x Machine Learning Cookbook
- C語言程序設計實訓教程
- C#程序設計教程
- 零基礎入門學習Python
- ASP.NET開發與應用教程
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- HTML5游戲開發實戰
- Java設計模式深入研究
- 安卓工程師教你玩轉Android
- ArcPy and ArcGIS(Second Edition)
- Java EE企業級應用開發教程:Spring+Spring MVC+MyBatis(第2版)