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

Table of Contents

The following examples demonstrate different features of the Thread stack running on the nRF52840 or the nRF52833 device.

Before running the examples, see Running precompiled examples.

Device support breakdown
Not all Thread examples support both the nRF52840 or the nRF52833 devices. See both sections for more information.
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 v10.3.0 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 and button reference

All Thread examples use the following LED assignments:

All buttons are reserved for user application purposes. The following buttons are available:

See example pages for assignments related to each example.


Documentation feedback | Developer Zone | Subscribe | Updated