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

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.

主站蜘蛛池模板: 潮州市| 东海县| 绥滨县| 文登市| 广宁县| 哈尔滨市| 新晃| 民权县| 特克斯县| 东乡族自治县| 临汾市| 景泰县| 鸡西市| 颍上县| 溆浦县| 通渭县| 卢龙县| 尤溪县| 汝州市| 十堰市| 扬州市| 蚌埠市| 敖汉旗| 壶关县| 军事| 孝义市| 华阴市| 漾濞| 长顺县| 东海县| 奉节县| 永顺县| 凤台县| 新竹市| 冕宁县| 舞阳县| 新巴尔虎左旗| 崇阳县| 张家川| 雷波县| 出国|