An Online Azure IoT Hub Developer Tool – IoT DevTool ( For IoT Hub Device Administrators)

A series of posts to introduce IoT DevTool:

  1. Overview
  2. For Cloud Developers
  3. For IoT Hub Device Administrators
  4. For Device Developers
  5. For RESTful Developers

Connect to IoT Hub

Before you start you need a connection string with registry read & write permission. You can find it from Device Explorer tab in IoT Hub dashboard.

connection string

Both connection string with primary key and secondary key are okay.

Then paste the connection string to IoT DevTool Registry, and click apply button, and the device list will be shown.

device list

Add and Remove Devices

To add a new device, click Add new device and type a device ID, then click Add.

add device

To remove a device, click the device in the list, and then click delete button.

remove device

Get Device Details and Generate Device SAS Token

Click a device in the list and click details button to view device details. The details include Connection State, Primary Key, Connection String, Last Activity Time and etc.

device details

To generate a device SAS token, switch Show SAS Token first, and set a TTL. Default TTL is 3600 seconds, which means the SAS token will expire after 1 hour. Then click generate button.

generate sas token

Connect to IoT Hub with Specific Device

You can click connect button in device list to quickly use the specific device in IoT DevTool Devices tool.

connect device

The device connection string will be filled automatically.

use device

Comments (0)

Skip to main content