Changelog for nRF Connect SDK v1.8.99

The most relevant changes that are present on the main branch of the nRF Connect SDK, as compared to the latest official release, are tracked in this file.

Note

This file is a work in progress and might not cover all relevant changes.

Highlights

  • Removed support for Pelion DM library.

Known issues

Known issues are only tracked for the latest official release. See known issues for nRF Connect SDK v1.8.0 for the list of issues valid for the latest release.

Changelog

The following sections provide detailed lists of changes by component.

Application development

Using Edge Impulse

  • Added instruction on how to download a model from a public Edge Impulse project.

Protocols

This section provides detailed lists of changes by protocol. See Samples for lists of changes for the protocol-related samples.

Matter

  • Added EXPERIMENTAL select in Kconfig that informs that Matter support is experimental.

Thread

Zigbee

  • Updated ZBOSS Zigbee stack to version 3.11.0.0+5.1.0. See the Changelog in the nrfxlib documentation for detailed information.

  • Added development ZBOSS stack library version based on the ZBOSS build v3.10.0.780+v5.1.0. This library version is dedicated for testing ZCL v8 features.

  • Added ZBOSS libraries variant with ZBOSS Traces enabled.

Applications

This section provides detailed lists of changes by application.

nRF9160: Asset Tracker v2

  • Updated the code and documentation to use the acronym GNSS instead of GPS when not referring explicitly to the GPS system.

  • Added support for atmospheric pressure readings retrieved from the BME680 sensor on Thingy:91.

  • Fixed an issue where PSM could be requested from the network even though it was disabled in Kconfig.

  • Added new documentation for Asset Tracker v2 Modem module.

  • Added support for A-GPS filtered ephemerides.

  • Added new documentation for Utility module and Modules common API.

  • Updated support for P-GPS preemptive updates and P-GPS coexistence with A-GPS.

nRF9160: Asset Tracker

nRF Machine Learning (Edge Impulse)

  • Added:

    • Added CONFIG_ML_APP_SENSOR_EVENT_DESCR option that globally defines sensor used by the application modules.

    • Bluetooth LE bonding functionality. The functionality relies on CAF: Bluetooth LE bond module.

  • Updated:

    • Renamed ml_state module to ml_app_mode module.

nRF Desktop

  • Added:

    • Possibility to ask for bootloader variant using config channel.

    • Added Kconfig options that allow erasing dongle bond on the gaming mouse using buttons or config channel.

    • Added two states to enable erasing dongle peer: STATE_DONGLE_ERASE_PEER and STATE_DONGLE_ERASE_ADV.

    • Added new application specific Kconfig option to enable Bluetooth LE bond module.

  • Updated:

    • Documentation and diagrams for the Bluetooth LE bond module.

    • Moved Fn key related macros to an application specific header file (configuration/common/fn_key_id.h).

    • Config channel no longer uses orphaned sections to store module Id information. Hence, the CONFIG_LINKER_ORPHAN_SECTION_PLACE option is no longer required in the config file.

Samples

This section provides detailed lists of changes by sample, including protocol-related samples. For lists of protocol-specific changes, see Protocols.

Bluetooth samples

nRF9160 samples

  • nRF9160: Modem Shell sample:

    • Added a new shell command cloud for establishing an MQTT connection to nRF Cloud.

    • Removed support for the GPS driver.

    • The LED 1 on the development kit indicates the LTE registration status.

  • nRF9160: HTTP application update sample:

    • Added support for application downgrade. The sample now alternates updates between two different application images.

  • nRF9160: GNSS sample:

    • Added support for minimal assistance using factory almanac, time and location.

    • Added support for TTFF test mode.

  • nRF9160: HTTP update samples:

    • HTTP update samples now set the modem in the power off mode after the firmware image download completes. This avoids ungraceful disconnects from the network upon pressing the reset button on the kit.

Thread samples

Other samples

Radio test - Added support for front-end module devices that support 2-pin PA/LNA interface with additional support for the Skyworks SKY66114-11 and the Skyworks SKY66403-11.

  • Secure Partition Manager sample:

    • Bug fixes:

      • NCSDK-12230: Fixed an issue where low baud rates would trigger a fault by selecting as system clock driver SYSTICK instead of RTC1.

Drivers

This section provides detailed lists of changes by driver.

  • No changes since the latest nRF Connect SDK release.

Libraries

This section provides detailed lists of changes by library.

Bluetooth libraries and services

Common Application Framework (CAF)

Bootloader libraries

Libraries for networking

  • FOTA download library: * Skipping host name check when connecting to TLS service using just IP address.

Modem libraries

  • Modem library integration layer library:

    • Fixed a bug in the socket offloading component, where the recvfrom() wrapper could do an out-of-bounds copy of the sender’s address, when the application is compiled without IPv6 support. In some cases, the out of bounds copy could indefinitely block the send() and other socket API calls.

  • AT monitor library:

    • Introduced AT_MONITOR_ISR macro to monitor AT notifications in an interrupt service routine.

    • Removed at_monitor_init() function and CONFIG_AT_MONITOR_SYS_INIT option. The library now initializes automatically when enabled.

  • AT command parser library:

    • Can now parse AT command responses containing the response result, for example, OK or ERROR.

  • Modem library integration layer:

    • The modem trace handling is moved from nrf_modem_os.c to a new file nrf_modem_lib_trace.c, which also provides the API for starting a trace session for a given time interval or until a given size of trace data is received.

Event manager

  • Added:

    • EVENT_SUBSCRIBE_FIRST subscriber priority.

  • Updated:

    • Modified the sections used by the event manager. Stopped using orphaned sections. Removed forced alignment for x86. Reworked priorities.

    • Event manager no longer uses orphaned sections to store information about event types, listeners and subscribers. Hence, the CONFIG_LINKER_ORPHAN_SECTION_PLACE option is no longer required in the config file.

Event manager Profiler Tracer

  • Updated:

    • Event manager Profiler Tracer no longer use orphaned sections to store profiler information. Hence, the CONFIG_LINKER_ORPHAN_SECTION_PLACE option is no longer required in the config file.

Libraries for networking

  • FOTA download library:

    • Fixed an issue where the application would not be notified of errors originating from inside download_with_offset(). In the http_update samples, this would result in the dfu start button interrupt being disabled after a connect error in download_with_offset() after a disconnect during firmware download.

  • DFU target library:

    • Updated the implementation of modem delta upgrades in the DFU target library to use the new socketless interface provided by the Modem library.

  • Location library:

    • Added A-GPS filtered ephemerides support.

  • nRF Cloud library:

    • Added A-GPS filtered ephemerides support, with ability to set matching threshold mask angle.

    • When filtered ephemerides is enabled, A-GPS assistance requests to cloud are limited to no more than once every two hours.

    • Updated MQTT connection error handling. Now, unacknowledged pings and other errors result in a transition to the disconnected state. This ensures that reconnection can take place.

  • nRF Cloud REST library:

    • Updated to use the REST client library for REST API calls.

Other libraries

  • Moved Bootloader libraries to a section of their own. * Added write protection by default for the image partition.

  • Date-Time library:

    • Removed the CONFIG_DATE_TIME_IPV6 Kconfig option. The library now automatically uses IPv6 for NTP when available.

  • Location library:

    • Added support for GNSS high accuracy.

Event Manager
  • Modified sections used by the Event Manager and stopped using orphaned sections.

  • Removed forced alignment for x86.

  • Reworked priorities.

sdk-nrfxlib

See the changelog for each library in the nfxlib documentation for additional information.

Scripts

This section provides detailed lists of changes by script.

Unity

  • Fixed bug that resulted in the mocks for some functions not having the __wrap_ prefix. This happened for functions declared with whitespaces between identifier and parameter list.

HID Configurator

  • Added:

    • HID Configurator now recognizes the bootloader variant as a DFU module variant for the configuration channel communication. The new implementation is backward compatible: the new version of the script checks for module name and acts accordingly.

MCUboot

The MCUboot fork in nRF Connect SDK (sdk-mcuboot) contains all commits from the upstream MCUboot repository up to and including 680ed07, plus some nRF Connect SDK specific additions.

The code for integrating MCUboot into nRF Connect SDK is located in the ncs/nrf/modules/mcuboot folder.

The following list summarizes both the main changes inherited from upstream MCUboot and the main changes applied to the nRF Connect SDK specific additions:

  • No changes since the latest nRF Connect SDK release.

Mcumgr

The mcumgr library contains all commits from the upstream mcumgr repository up to and including snapshot 657deb65.

The following list summarizes the most important changes inherited from upstream mcumgr:

  • No changes since the latest nRF Connect SDK release.

Zephyr

The Zephyr fork in nRF Connect SDK (sdk-zephyr) contains all commits from the upstream Zephyr repository up to and including 3f82656, plus some nRF Connect SDK specific additions.

For a complete list of upstream Zephyr commits incorporated into nRF Connect SDK since the most recent release, run the following command from the ncs/zephyr repository (after running west update):

git log --oneline 3f82656 ^v2.6.0-rc1-ncs1

For a complete list of nRF Connect SDK specific commits, run:

git log --oneline manifest-rev ^3f82656

The current nRF Connect SDK main branch is based on the Zephyr v2.7 development branch.

Matter (Project CHIP)

The Matter fork in the nRF Connect SDK (sdk-connectedhomeip) contains all commits from the upstream Matter repository up to, and including, bbd19d92f6d58ef79c98793fe0dfb2979db6336d.

The following list summarizes the most important changes inherited from the upstream Matter:

  • No changes since the latest nRF Connect SDK release.

cddl-gen

The cddl-gen module has been updated from version 0.1.0 to 0.3.0. Release notes for 0.3.0 can be found in ncs/nrf/modules/lib/cddl-gen/RELEASE_NOTES.md.

The change prompted some changes in the CMake for the module, notably:

  • The CMake function target_cddl_source() was removed.

  • The non-generated source files (cbor_encode.c and cbor_decode.c) and their accompanying header files are now added to the build when CONFIG_CDDL_GEN is enabled.

Also, it prompted the following:

Documentation

In addition to documentation related to the changes listed above, the following documentation has been updated:

  • Reorganized the contents of the Application development section:

  • Reorganized the contents of the Protocols section:

    • Reduced the ToC levels of the subpages.

  • Reorganized the contents of the Working with RF front-end modules section:

    • Added new section :ref: ug_radio_fem_nrf21540_spi_gpio.

    • Added new section :ref: ug_radio_fem_direct_support.

    • Added more information about supported protocols and hardware.