Skip to content

Thread Topology Monitor

This section describes how to set up the nRF Thread Topology Monitor to visualize the current network topology.

Introduction

nRF Thread Topology Monitor is a cross-platform tool that enables developers to visualize Thread mesh network topology in real time. The tool is supported on Windows and Linux with separate downloads for each platform. It requires a serial connection to an nRF52840 board with Nordic’s Thread solution.

nRF Thread Topology Monitor uses diagnostic mechanisms of the Thread protocol to retrieve information about routing tables of each Thread Router currently attached to the network. The tool also allows to identify a particular device in the network using LEDs by interacting with the Thread BSP solution. You may assign a custom label to a Thread node and store it in persistent memory on the PC side, which helps to track topology changes.

Installation

  1. Navigate to nRF Thread Topology Monitor page and download one of the following packages:

    • Windows: nRF_TTM-win32-x64_v0.12.0-1.alpha
    • Linux: nRF_TTM-linux-x64_v0.12.0-1.alpha.tar.gz
  2. Extract the package.

  3. Run the nRF Thread Topology Monitor executable file nRF_TTM.

Flashing the OpenThread CLI

nRF Thread Topology Monitor requires [OpenThread CLI] firmware running on your board. Follow these steps to flash the OpenThread CLI pre-built firmware.

  1. Connect the nRF52840-MDK board to your PC using the USB-C cable.
  2. Open a file explorer. Confirm that the board has appeared as a removable drive named DAPLINK. This allows you to program the nRF52840 chip.
  3. Drag and drop the pre-built firmware into DAPLINK. The OpenThread CLI pre-built firmware is located in grove-mesh-kit/firmware/openthread/cli.

Tip

You can also program the board using pyOCD. Just follow this tutorial to set up the pyOCD tool.

Viewing network topology

The following steps will show you how to set up the nRF Thread Topology Monitor:

  1. Connect the board to your PC using the USB-C cable.
  2. In the navigation bar, click Select serial port.
  3. Click the Show all button in the dropdown menu and select the serial port.
  4. Click Start scan to attach the nRF SoC to the Thread network and to start polling nodes to get information on the current topology.
  5. Try to attach other Thread devices to the network. The nRF Thread Topology Monitor will visualize them as shown in the figure below.

Tip

During the device configuration, you can specify the parameters of the Thread Network: Radio channel, Network PAN ID, Network Master Key.

Reference

Create an Issue

Interested in contributing to this project? Want to report a bug? Feel free to click here: