nRF5 SDK for Thread and Zigbee v3.1.0
Thread and Thread+BLE examples

Table of Contents

This information applies to the nRF52840 SoC only.

The following examples demonstrate different features of the Thread stack running on the nRF52840 SoC.

Before running the examples, see Running precompiled examples.

SoftDevice usage
Thread examples do not use the SoftDevice, with the exception of multiprotocol examples.
Thread example parameters
All Thread examples, except for the Thread NFC MeshCoP Example, have been precommissioned with the following parameters:
Radio Channel: 11
PAN ID: 0xABCD
Network Master Key: 0x00112233445566778899AABBCCDDEEFF
Mesh-Local Prefix: FDDE:AD00:BEEF::/64
In an end product, precommissioning must NOT be used. Use the commissioning procedure to obtain network credentials.

Testing

You can find the source code and the project file of the examples in the following folder: <InstallFolder>/examples/thread

Use the following steps to test the Thread examples:

  1. Build the example according to the instructions in Building examples.
  2. Use nrfjprog (from nRF5x Command Line Tools v9.7.2 or newer) to program the .hex file that was created in the _build folder to the board.
  3. Use an RTT viewer to see the log messages produced by the application.

Command Line Interface support

Most examples expose a Command Line Interface (CLI) over a serial port. Refer to OpenThread CLI Reference for details of the available commands.

The following examples do not expose a CLI:


Thread BSP LED reference

All Thread examples use the same LED assignments:


Documentation feedback | Developer Zone | Subscribe | Updated