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

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.

主站蜘蛛池模板: 额尔古纳市| 大余县| 安图县| 南投市| 宁强县| 长寿区| 融水| 拉孜县| 班戈县| 泾川县| 万盛区| 遂昌县| 景泰县| 西宁市| 兴业县| 广灵县| 彭泽县| 靖边县| 山西省| 聂荣县| 三台县| 农安县| 隆昌县| 怀仁县| 太湖县| 女性| 杨浦区| 象州县| 泰兴市| 垫江县| 云和县| 牟定县| 阿克苏市| 盐城市| 石屏县| 苍梧县| 广东省| 南溪县| 陵水| 万山特区| 丽江市|