- Azure IoT Development Cookbook
- Yatish Patil
- 96字
- 2021-07-02 20:50:38
How it works...
The direct method works on a request-response interaction with the IoT device and backend solutions. The direct method has a timeout. If no reply is received within that expected time, the direct method will fail. These synchronous requests have, by default, 30 seconds of timeout; one can modify the timeout and increase it up to 3600 seconds, depending on the IoT scenarios you have. The device needs to connect using the MQTT protocol, whereas the backend solution can use HTTP.
The JSON data size for direct method can work up to 8 KB.
推薦閱讀
- MySQL數據庫管理實戰
- Mastering NetBeans
- 微信公眾平臺與小程序開發:從零搭建整套系統
- Learning PostgreSQL
- React Native Cookbook
- Apache Karaf Cookbook
- Building Serverless Applications with Python
- 常用工具軟件立體化教程(微課版)
- Kubernetes進階實戰
- Building Serverless Architectures
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- 交互式程序設計(第2版)
- Getting Started with JUCE
- Spring Boot 2+Thymeleaf企業應用實戰
- AngularJS by Example