How to use Device Explorer for IoT Hub devices

This topic describes how to download, build and use the Device Explorer tool. You can use this tool to manage devices connecting to your IoT hub. For example, you can register a device with your IoT hub, monitor messages from your devices, and send messages to your devices.

Device Explorer runs on your local machine and connects to your IoT hub in Azure. It communicates with the following IoT Hub endpoints:

  • Device identity management to provision and manage devices registtered with your IoT hub.
  • Receive device-to-cloud to enable you to monitor messages sent from your device to your IoT hub.
  • Send cloud-to-device to enable you to send messages to your devices from your IoT hub.

You can either download a pre-built version of Device Explorer or build it yourself.

Download a pre-built version of the Device Explorer application

A pre-built version of the Device Explorer application for Windows can be downloaded by clicking on this link: Downloads(Scroll down for SetupDeviceExplorer.msi). The default installation directory for this application is "C:\Program Files (x86)\Microsoft\DeviceExplorer". You might want to pin the DeviceExplorer.exe application to the taskbar for easier access.

Build the Device Explorer application

To build Device Explorer yourself, open the tools\DeviceExplorer\DeviceExplorer.sln file in your local copy of this repository (azure-iot-sdks) in Visual Studio 2015. Then build and run the solution.

The device explorer can be used to test your IoT hub, including adding a device, monitoring the device message and sending a message to the device, etc. This tool can also help a beginner contact Azure IoT hub for first time easier for testing the basic features of the Hub.
This tool can be modified and built further according to customized requirements so it provides a good sample for demonstration of the usage.

For more details,
Sign In or Register to comment.