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

How it works...

Let's now understand the steps we performed. We initiated this by creating a console application and configured it for the Azure IoT Hub solution. The idea behind this was look at a simple operation for device management.

In this section, we started with a simple operation for the provision of the device by adding it to the IoT Hub. We needed to create a connection to the IoT Hub first. The next step will creating the object of the registry manager. This registry manager object is used to perform the device identity operations.

Once we are connected with IoT Hub using the SDK, we can perform operations such as adding a device, deleting a device, and getting a device; these methods are asynchronous ones.

IoT Hub also connects with Azure Blob storage for bulk operations, such as exporting all devices or importing all devices; this works on JSON format only. The entire set of IoT devices gets exported in this way.

主站蜘蛛池模板: 闻喜县| 新和县| 连城县| 广州市| 苏尼特右旗| 永安市| 鄢陵县| 渝北区| 河津市| 霸州市| 木里| 农安县| 桓台县| 德江县| 甘泉县| 剑河县| 黄龙县| 揭阳市| 玉林市| 黑水县| 江达县| 曲松县| 万宁市| 古田县| 涿州市| 湟中县| 平昌县| 深圳市| 民和| 固阳县| 陆川县| 建昌县| 祥云县| 龙游县| 金秀| 左贡县| 行唐县| 乐安县| 镇坪县| 沙湾县| 牡丹江市|