- 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.
推薦閱讀
- Learning ROS for Robotics Programming(Second Edition)
- Redis入門指南(第3版)
- Learning ArcGIS Pro 2
- PowerCLI Cookbook
- 三維圖形化C++趣味編程
- Learning Neo4j 3.x(Second Edition)
- Visual Basic學習手冊
- 高級語言程序設計(C語言版):基于計算思維能力培養
- UML 基礎與 Rose 建模案例(第3版)
- Learning Android Application Testing
- JQuery風暴:完美用戶體驗
- AI自動化測試:技術原理、平臺搭建與工程實踐
- Python 快速入門(第3版)
- Learning D3.js 5 Mapping(Second Edition)
- Learning Shiny