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

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.

主站蜘蛛池模板: 仙桃市| 开原市| 南开区| 竹北市| 佛冈县| 即墨市| 宜兰县| 宁远县| 定陶县| 青浦区| 蒲江县| 桂阳县| 屯留县| 黄平县| 广丰县| 来安县| 灵璧县| 嵊泗县| 秦安县| 德保县| 峨眉山市| 四子王旗| 兴山县| 珠海市| 普宁市| 白河县| 呼伦贝尔市| 邵阳市| 三亚市| 鸡东县| 镇远县| 抚顺县| 游戏| 云安县| 澜沧| 广南县| 合肥市| 怀柔区| 峨眉山市| 东丰县| 翁源县|