- 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.
推薦閱讀
- GeoServer Cookbook
- 編程卓越之道(卷3):軟件工程化
- 三維圖形化C++趣味編程
- Java深入解析:透析Java本質的36個話題
- iOS應用逆向工程(第2版)
- MySQL數據庫基礎實例教程(微課版)
- R Data Analysis Cookbook(Second Edition)
- Mastering Linux Security and Hardening
- Python自然語言理解:自然語言理解系統開發與應用實戰
- Python Digital Forensics Cookbook
- C#面向對象程序設計(第2版)
- 分布式系統架構與開發:技術原理與面試題解析
- 區塊鏈:技術與場景
- Build Your Own PaaS with Docker
- GO語言編程從入門到實踐