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

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.

主站蜘蛛池模板: 林口县| 沙田区| 多伦县| 吐鲁番市| 中卫市| 昌平区| 崇文区| 航空| 满城县| 芮城县| 图片| 布拖县| 河池市| 分宜县| 甘南县| 米泉市| 梓潼县| 铜山县| 泽库县| 乌拉特前旗| 莒南县| 桐庐县| 昌吉市| 永兴县| 和平县| 商洛市| 浦东新区| 沭阳县| 社旗县| 元江| 翼城县| 泰顺县| 潢川县| 汤阴县| 永吉县| 天门市| 桐梓县| 申扎县| 商都县| 东海县| 满洲里市|