A series of posts to introduce IoT DevTool:
- For Cloud Developers
- For IoT Hub Device Administrators
- For Device Developers
- 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.
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.
Add and Remove Devices
To add a new device, click Add new device and type a device ID, then click Add.
To remove a device, click the device in the list, and then click delete button.
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.
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.
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.
The device connection string will be filled automatically.