官术网_书友最值得收藏!

Device twins

Firstly, we need to understand what a device twin is. We will be following some steps to use a device twin to understand their purpose and where we can use the device twin in any IoT solution. The device twin is a JSON formatted document that describes the metadata, properties of any device created within IoT Hub. It describes the individual device specific information.

The device twin is made up of: tags, desired properties, and reported properties. The operations that can be done on an IoT device is to update the data or query for any IoT device. this feature can be built into the IoT Solution from where a Administrator user can initiate these.

Tags hold the device metadata that can be accessed from an IoT solution only. The desired properties are set from the IoT solution and can be accessed on the device. Whereas the reported properties are set on the device and retrieved at the IoT solution end.

As per Microsoft Azure, currently, the MQTT protocol is the only protocol supported for working with the device twin.

主站蜘蛛池模板: 榆林市| 临汾市| 兖州市| 昂仁县| 长丰县| 泉州市| 长宁区| 化德县| 鹰潭市| 吉林省| 安泽县| 中西区| 安多县| 昭觉县| 东莞市| 克什克腾旗| 牙克石市| 黎平县| 泗洪县| 白水县| 长宁区| 神农架林区| 丰城市| 长汀县| 宁化县| 兴仁县| 隆德县| 霍邱县| 芜湖市| 洛阳市| 聂荣县| 钟山县| 中西区| 大荔县| 伽师县| 柯坪县| 汽车| 专栏| 新绛县| 桐乡市| 临猗县|