nRF5 SDK for Thread contains the pre-built OpenThread stack in the form of binary libraries. If you want to build your own project, you must include all of the mandatory libraries and can add some of the optional libraries.
The binaries can be found in the following folder: <InstallFolder>\external\openthread\lib
. Currently GCC and IAR versions of the libraries are provided.
Refer to the release notes for the ID of the OpenThread commit that has been used to generate pre-built Thread stack libraries and for testing and verification.
Refer to API for detailed API reference for the libraries.
Mandatory libraries:
libopenthread-ftd.a
or libopenthread-mtd.a
- OpenThread’s Thread Stack implementation of the Full Thread Device (FTD) or Minimal Thread Device (MTD) librarylibmbedcrypto.a
– MbedTLS SSL library with CryptoCell support for operations used by OpenThread: ECC, SHA-256 and AES ECBlibopenthread-nrf52840-sdk.a
- nRF52840 OpenThread’s platform implementation librarylibopenthread-nrf52840-softdevice-sdk.a
- nRF52840 OpenThread’s platform implementation library that uses SoftDevice APIlibopenthread-platform-utils.a
- OpenThread’s platform util which contains the flash manager libraryOptional libraries:
libopenthread-cli-ftd.a
or libopenthread-cli-mtd.a
- Command Line Interface (CLI) librarylibopenthread-ncp-ftd.a
or libopenthread-ncp-mtd.a
- Network Co-Processor (NCP) librarylibopenthread-diag.a
– OpenThread’s diagnostic module libraryLimitations:
The pre-built OpenThread libraries located in <InstallFolder>\external\openthread\lib
do not support DHCPv6 Client/Server.
Certification:
This SDK also contains the pre-built OpenThread libraries with features used by the Thread certification framework provided by Thread Group (UART logging, DHCPv6 Client/Server).
The included stack passes 149 out of 150 tests that were run with Thread V1.1 Test Harness Release 1.1.0. One test is failing due to a problem in the certification framework:
The binaries can be found in the following folder: <InstallFolder>\external\openthread\lib\gcc\certification
.