nRF Connect SDK v2.4.0 Release Notes

nRF Connect SDK delivers reference software and supporting libraries for developing low-power wireless applications with Nordic Semiconductor products in the nRF52, nRF53, nRF70, and nRF91 Series. The SDK includes open source projects (TF-M, MCUboot, OpenThread, Matter, and the Zephyr RTOS), which are continuously integrated and redistributed with the SDK.

Release notes might refer to “experimental” support for features, which indicates that the feature is incomplete in functionality or verification, and can be expected to change in future releases. To learn more, see Software maturity levels.

Highlights

The following list includes the summary of the most relevant changes introduced in this release.

  • Added support for the following features:

    • Matter:

      • Matter 1.1 specification and Matter over Wi-Fi®. See the CSA blog post to learn more about the Matter 1.1 updates.

    • Bluetooth® Low Energy:

      • Periodic Advertising with Responses (PAwR). The advertiser role feature was added as experimental in nRF Connect SDK v2.3.0, and now both advertiser and scanner are supported.

    • Bluetooth mesh:

    • Wi-Fi®:

      • Wi-Fi Station (STA) mode on the nRF5340 host platform.

      • Emulated boards for the nRF7000 and nRF7001 ICs on the nRF7002 Evaluation Kit (EK).

      • Emulated board for the nRF7001 IC on the nRF7002 Development Kit (DK).

      • nRF7002 EB (Expansion Board) for Thingy:53.

      • Bluetooth LE coexistence, a mechanism for managing the Bluetooth LE and Wi-Fi radio operations, so that the two radios operating in close proximity do not cause interference to each other.

      • Memfault sample supported on nRF7002 DK, using Wi-Fi for uploading data to the Memfault cloud.

    • Cellular IoT:

    • Security:

      • The Oberon PSA core library provides an optimized implementation of the PSA Crypto API, which reduces the required flash footprint when compared to the Mbed TLS PSA Crypto implementation.

  • Added experimental support for the following features:

    • PMIC: nPM1300 PMIC and nPM1300 EK:

    • Bluetooth Low Energy:

      • Encrypted Advertising Data (EAD). This is a new feature introduced in Bluetooth v5.4 specification that provides a standardized way of encrypting data in advertising as well as sharing key material, which is required for data encryption.

    • Bluetooth mesh 1.1:

      • Device Firmware Update (DFU) and BLOB Transfer models. This feature allows updating the firmware of mesh nodes through the Bluetooth mesh network.

      • Remote provisioning. This feature allows provisioning devices without being in direct RF range of the provisioner.

      • Private beacons. This feature improves privacy of secure network beacons.

      • Mesh Enhancements. This includes several mesh specification enhancements namely On-demand private GATT proxy, SAR configuration models, opcode aggravator models, large Composition Data models.

      • Enhanced Provisioning Authentication algorithm. This feature improves security of the provisioning process.

    • nRF Cloud library:

      • nRF Cloud Alert, which enables applications to generate and transmit messages that comply with the alert features of nRF Cloud.

      • nRF Cloud Log, which enables applications to generate and transmit messages that comply with the logs features of nRF Cloud.

  • Improved:

    • Bluetooth mesh:

      • Updated the default configuration of advertising sets used by the Bluetooth mesh subsystem, which improves performance of the Relay and GATT features with increased throughput, and provides an improved Friend feature to reduce power consumption of low power node.

      • Mesh light fixture and mesh sensor samples to align with upcoming Bluetooth Networked Lighting Control profiles.

Sign up for the nRF Connect SDK v2.4.0 webinar to learn more about the new features.

See Changelog for the complete list of changes.

Release tag

The release tag for the nRF Connect SDK manifest repository (https://github.com/nrfconnect/sdk-nrf) is v2.4.0. Check the west.yml file for the corresponding tags in the project repositories.

To use this release, check out the tag in the manifest repository and run west update. See Get the nRF Connect SDK code and Examples of commands for more information.

For information on the included repositories and revisions, see Repositories and revisions for v2.4.0.

IDE and tool support

nRF Connect extension for Visual Studio Code is the only officially supported IDE for nRF Connect SDK v2.4.0.

Toolchain Manager, used to install the nRF Connect SDK automatically from nRF Connect for Desktop, is available for Windows, Linux, and macOS.

Supported modem firmware

See Modem firmware compatibility matrix for an overview of which modem firmware versions have been tested with this version of the nRF Connect SDK.

Use the latest version of the nRF Programmer app of nRF Connect for Desktop to update the modem firmware. See Updating the modem firmware for instructions.

Known issues

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

Changelog

The following sections provide detailed lists of changes by component.

Application development

Build system

When using the Kconfig option CONFIG_SB_SIGNING_KEY_FILE with relative paths, the relative path now points to the application configuration directory instead of the application source directory (these are the same if the application configuration directory is not set).

Security

Updated Mbed TLS version to 3.3.0.

Protocols

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

Bluetooth LE

  • Added:

    • Support for the vendor-specific HCI command: Set Compatibility mode for window offset.

    • Support for Periodic Advertising with Responses (PAwR) Scanner.

    • Support for LE Read and Write RF Path Compensation HCI commands.

    • Support for up to 255 addresses in the Filter Accept List.

    • Support for configuring the Filter Accept List to have an arbitrary size.

    • Support for sync handles in the sdc_hci_cmd_vs_zephyr_write_tx_power() and sdc_hci_cmd_vs_zephyr_read_tx_power() commands.

    • Support for reading channel map updates that are not at the beginning of an ACAD.

  • Updated:

    • Periodic Advertising with Responses (PAwR) Advertiser is now supported.

For details, see the SoftDevice Controller changelog.

Bluetooth mesh

  • Updated:

    • The protocol user guide with the information about the DFU over Bluetooth mesh.

    • The default configuration of advertising sets used by the Bluetooth mesh subsystem to improve performance of the Relay, GATT, and Friend features. This configuration is specified in the ncs/nrf/subsys/bluetooth/mesh/Kconfig file.

See Bluetooth mesh samples for the list of changes in the Bluetooth mesh samples.

Enhanced ShockBurst (ESB)

  • Added:

  • Updated:

    • The number of PPI/DPPI channels used from three to six.

    • Events 6 and 7 from the EGU0 instance by assigning them to the ESB module.

    • The type parameter of the esb_set_tx_power() function to int8_t.

Matter

  • Added:

    • Support for Matter 1.1.0 version.

    • Support for the Persistent subscriptions feature.

    • Support for negotiating subscription report interval with a Matter Controller to minimalize overall power consumption.

    • The Matter Nordic UART Service (NUS) feature to the Matter: Door lock sample. This feature allows using Nordic UART Service to control the device remotely through Bluetooth LE and adding custom text commands to a Matter sample. The Matter NUS implementation allows controlling the device regardless of whether the device is connected to a Matter network or not. The feature is dedicated for the Matter over Thread solution.

    • Documentation page about Storing Certification Declaration in firmware.

    • Matter SDK fork documentation pages with the page about CHIP Certificate Tool.

    • Documentation page about Adding Bluetooth LE services to Matter application.

  • Updated:

    • Configuration of factory data partition write-protection on nRF5340 SoC.

    • Configuration of logging verbosity in the debug variants of samples.

    • Overall stability and robustness of Matter over Wi-Fi solution.

    • The default number of user RTC channels on the nRF5340 SoC’s network core from 2 to 3 (the platform default) to fix the CSL transmitter feature on Matter over Thread devices acting as Thread routers.

    • Matter hardware and memory requirements with updated memory requirement values valid for the nRF Connect SDK v2.4.0.

    • Matter: Door lock, Matter: Window covering, and Matter: Light bulb samples as well as the Thingy:53: Matter weather station application have been tested with the following ecosystems:

      • Google Home ecosystem for both Matter over Thread and Matter over Wi-Fi solutions. Tested with Google Nest Hub 2nd generation (software version: 47.9.4.447810048; Chromecast firmware version: 1.56.324896, and Google Home mobile application v3.0.1.9).

      • Apple Home ecosystem for both Matter over Thread and Matter over Wi-Fi solutions. Tested with Apple HomePod mini and Apple iPhone (iOS v16.5).

      Additionally, these samples and application were positively verified against “Works with Google” certification tests.

    • The Matter protocol page with a table that lists compatibility versions for the nRF Connect SDK, the Matter SDK, and the Matter specification.

    • The Matter tools page with installation instructions for the ZAP tool, moved from the Adding clusters to Matter application page.

    • The Matter tools page with information about CHIP Tool, CHIP Certificate Tool, and the Spake2+ Python tool.

    • The Reducing power consumption in Matter applications page with information about sleepy active threshold parameter configuration and optimizing subscription report intervals.

See Matter samples for the list of changes for the Matter samples.

Matter fork

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

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

  • Added the SLEEPY_ACTIVE_THRESHOLD parameter that makes the Matter sleepy device stay awake for a specified amount of time after network activity.

  • Updated:

    • The factory data generation script with the feature for generating the onboarding code. You can now use the factory data script to generate a manual pairing code and a QR Code that are required to commission a Matter-enabled device over Bluetooth LE. Generated onboarding codes should be put on the device’s package or on the device itself. For details, see the Generating onboarding codes section on the Configuring factory data for the nRF Connect examples page in the Matter documentation.

    • The Basic Information cluster with device finish and device color attributes and added the related entries in factory data set.

Thread

Thread is impacted by CVE-2023-2626. Due to this issue, nRF Connect SDK v2.4.0 will not undergo the certification process, and is not intended to be used in final Thread products.

Zigbee

  • Fixed an issue where device is not fully operational in the distributed network by adding a call to the zb_enable_distributed() function for Zigbee Router role by default.

HomeKit

  • Fixed a bug where the DFU over UARP protocol does not work on the nRF5340 SoC.

Wi-Fi

  • Added support for the following:

    • nRF7000 EK.

    • nRF7001 EK and nRF7001 DK.

    • A new shield, nRF7002 Evaluation Board (EB) for Thingy53 (rev 1.1.0).

    • Listen interval based power save. Refactored existing power save configurations into one.

    • Configuring antenna gain and band-edge power backoff.

    • nRF700x non-secure build.

    • Interoperation with CMW500 configured as Wi-Fi Access Point.

    • Configuring regulatory domain.

    • Raw scan results.

  • Updated:

    • The shield for nRF7002 EK (nrf7002_ek to nrf7002ek).

    • TWT features with improvements (units for interval changed from milliseconds to microseconds).

    • The Wi-Fi user guide by adding a section on Wi-Fi certification.

Applications

This section provides detailed lists of changes by application.

nRF9160: Asset Tracker v2

  • Added the integration of the LwM2M client utils FOTA callback functionality.

  • Updated:

    • mcuboot_secondary is moved to external flash for nRF9160 DK v0.14.0 and newer. This requires board controller firmware v2.0.1 or newer, which enables the pin routing to external flash.

    • The application now uses the function nrf_cloud_location_request_msg_json_encode() to create an nRF Cloud location request message.

    • The application now uses defines from the nRF Cloud library for string values related to nRF Cloud.

    • Instead of sending a battery voltage, the PMIC’s fuel gauge function is used to get a battery percentage. For nRF Cloud, the data ID VOLTAGE has been replaced with BATTERY. For the other cloud backends, the name stays the same, but the range changes to 0-100.

    • External flash is enabled in the nRF9160 DK devicetree overlays for v0.14.0 or later versions, as it is now disabled in the Zephyr board definition.

nRF9160: Serial LTE modem

  • Added:

    • AT command #XWIFIPOS to get Wi-Fi location from nRF Cloud.

    • Support for WRITE REQUEST in TFTP client.

  • Updated the application to use defines from the nRF Cloud library for string values related to nRF Cloud.

  • Fixed a bug in receiving a large MQTT Publish message.

nRF Desktop

  • Added:

    • The Swift Pair module. The module is used to enable or disable the Swift Pair Bluetooth advertising payload depending on the selected Bluetooth peer (used local identity).

    • An application-specific string representing device generation (CONFIG_DESKTOP_DEVICE_GENERATION). The generation allows to distinguish configurations that use the same board and bootloader, but are not interoperable. The value can be read through the Configuration channel. On the firmware side, fetching the values is handled by the Device Firmware Upgrade module.

    • Unpairing old peers right after a successful erase advertising procedure. This prevents blocking the bond slots until the subsequent erase advertising procedure is triggered.

    • Support for the Device Firmware Upgrade module for devices using the MCUboot bootloader built in the direct-xip mode (MCUBOOT+XIP). In this mode, the image is booted directly from the secondary slot instead of moving it to the primary slot.

    • The Factory reset module. The module is used by configurations that enable Fast Pair to factory reset both Fast Pair and Bluetooth non-volatile data. The factory reset is triggered using the configuration channel.

    • The DFU lock utility. The utility provides synchronization mechanism for accessing the DFU flash. It is useful for application configurations that support more than one DFU method.

    • The Device Firmware Upgrade MCUmgr module that you can enable with the CONFIG_DESKTOP_DFU_MCUMGR_ENABLE option. The module handles image upload over MCUmgr SMP protocol. The module integrates the DFU lock utility for synchronizing flash access with other DFU methods.

  • Updated:

nRF5340 Audio

  • Added Kconfig options for setting periodic and extended advertising intervals. For more information on the options, see Application configuration options (all options prefixed with CONFIG_BLE_ACL_PER_ADV_INT_ and CONFIG_BLE_ACL_EXT_ADV_INT_).

  • Updated:

    • LE Audio controller for the network core has been moved to the standalone LE Audio controller for nRF5340 library.

    • Zephyr message bus (zbus) is now implemented for handling events from buttons and LE Audio.

    • The supervision timeout has been reduced to reduce reconnection times for CIS.

    • The application documentation with a note about missing support for the nRF Connect for VS Code extension.

  • Fixed an issue related to anomaly 160 in nRF5340.

nRF Machine Learning (Edge Impulse)

  • Updated:

    • The machine learning models (CONFIG_EDGE_IMPULSE_URI) used by the application to ensure compatibility with the new Zephyr version.

    • The over-the-air (OTA) device firmware update (DFU) configuration of nRF53 DK has been simplified. The configuration relies on the CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU Kconfig option.

Samples

Bluetooth samples

  • Bluetooth: Peripheral HIDS keyboard and Bluetooth: Peripheral HIDS mouse samples:

    • Updated the samples to register HID Service before Bluetooth is enabled (before calling the bt_enable() function). The bt_gatt_service_register() function can no longer be called after enabling Bluetooth and before loading settings.

  • Bluetooth: Peripheral HIDS mouse sample:

    • Updated the sample to include the CONFIG_BT_SMP Kconfig option when CONFIG_BT_HIDS_SECURITY_ENABLED is selected.

    • Fixed a CMake warning by moving the nRF RPC configuration (the CONFIG_NRF_RPC_THREAD_STACK_SIZE Kconfig option) to a separate overlay config file.

  • Bluetooth: Direct Test Mode sample:

    • Added:

      • Support for the Front-end module feature TX power split feature. The DTM command 0x09 for setting the transmitter power level takes into account the front-end module gain when this sample is built with support for front-end modules. The vendor-specific commands for setting the SoC output power and the front-end module gain are not available when the CONFIG_DTM_POWER_CONTROL_AUTOMATIC Kconfig option is enabled.

      • Support for +1 dBm, +2 dBm, and +3 dBm output power on the nRF5340 DK.

    • Updated the handling of the hardware erratas.

    • Removed a compilation warning when used with minimal pinout Skyworks FEM.

  • Bluetooth: Peripheral UART sample:

    • Fixed the unit of the CONFIG_BT_NUS_UART_RX_WAIT_TIME Kconfig option to comply with the UART API.

  • Nordic Distance Measurement library sample:

    • Updated the sample by improving the scalability when it is used with multiple devices.

  • Bluetooth: Fast Pair sample:

    • Added the default Fast Pair provisioning data that is used when no other provisioning data is specified.

    • Updated the documentation to align it with the new way of displaying notifications for the Fast Pair debug Model IDs.

  • Removed the Bluetooth: External radio coexistence using 3-wire interface sample because of the removal of the 3-wire implementation.

Bluetooth mesh samples

Crypto samples

  • Updated all samples and their documentation as the supported logging backend changed to UART instead of both SEGGER RTT and UART.

Debug samples

  • Memfault sample:

    • Added:

      • Support for the nRF7002 DK.

      • A Kconfig fragment to enable ETB trace.

    • Updated:

      • The sample has been moved from nrf9160/memfault to debug/memfault. The documentation is now found in the Debug samples section.

Matter samples

  • Updated:

    • The default settings partition size for all Matter samples from 16 kB to 32 kB.

      Caution

      This change can affect the Device Firmware Update (DFU) from the older firmware versions that were using the 16-kB settings size. Read more about this in the Partition layout section of the Matter documentation. You can still perform DFU from the older firmware version to the latest firmware version, but you will have to change the default settings size from 32 kB to the value used in the older version.

  • Added the Matter Nordic UART Service (NUS) feature, which allows controlling the door lock device remotely through Bluetooth LE using two simple commands: Lock and Unlock. This feature is dedicated for the nRF52840 and the nRF5340 DKs. The sample supports one Bluetooth LE connection at a time. Matter commissioning, DFU, and NUS over Bluetooth LE must be run separately.

  • Updated the default value of the feature map.

Multicore samples

nRF9160 samples

  • nRF9160: HTTP full modem update sample:

    • The sample now uses modem firmware versions 1.3.3 and 1.3.4.

    • Enabled external flash in the nRF9160 DK devicetree overlays for v0.14.0 or later versions, as it is now disabled in the Zephyr board definition.

  • nRF9160: HTTP modem delta update sample:

    • The sample now uses modem firmware v1.3.4 to do a delta update.

  • nRF9160: Modem Shell sample:

    • Added sending of GNSS data to carrier library when the library is enabled.

    • Updated:

      • The sample now uses defines from the nRF Cloud library for string values related to nRF Cloud. Removed the inclusion of the file nrf_cloud_codec.h.

      • Modem FOTA now updates the firmware without rebooting the application.

      • External flash is now enabled in the nRF9160 DK devicetree overlays for v0.14.0 or later versions, as it is now disabled in the Zephyr board definition.

  • nRF9160: HTTPS Client sample:

    • Added IPv6 support and wait time for PDN to fully activate (including IPv6, if available) before looking up the address.

  • nRF9160: SLM Shell sample:

    • Added support for the nRF7002 DK (PCA10143).

  • nRF9160: LwM2M Client sample:

    • Added:

    • Updated:

      • The sample now integrates the LwM2M client utils FOTA callback functionality.

      • External flash is now enabled in the nRF9160 DK devicetree overlays for v0.14.0 or later versions (it is now disabled in the Zephyr board definition).

  • nRF9160: PDN sample:

    • Updated the sample to show how to get interface address information using the nrf_getifaddrs() function.

  • nRF9160: nRF Cloud MQTT multi-service sample:

    • Updated:

      • The MCUboot partition size is increased to the minimum necessary to allow bootloader FOTA.

      • External flash is enabled in the nRF9160 DK devicetree overlays for v0.14.0 or later versions (it is now disabled in the Zephyr board definition).

    • Added:

      • Sending of log messages directly to nRF Cloud.

      • Overlay to enable Zephyr Logging backend for full logging to nRF Cloud.

  • nRF9160: nRF Cloud REST FOTA sample:

    • Updated the sample by enabling external flash in the nRF9160 DK devicetree overlays for v0.14.0 or later versions, as it is now disabled in the Zephyr board definition.

  • nRF9160: nRF Cloud REST Device Message sample:

    • Added:

      • Overlays to use RTT instead of UART for testing purposes.

      • Sending of log messages directly to nRF Cloud.

      • Overlay to enable Zephyr Logging backend for full logging to nRF Cloud.

    • Updated the Hello World message sent to nRF Cloud, which now contains a timestamp (message ID).

  • nRF9160: Modem trace external flash backend sample:

    • Updated the sample by enabling external flash in the nRF9160 DK devicetree overlays for v0.14.0 or later versions, as it is now disabled in the Zephyr board definition.

PMIC samples

Trusted Firmware-M (TF-M) samples

Other samples

Drivers

This section provides detailed lists of changes by driver.

Libraries

This section provides detailed lists of changes by library.

Binary libraries

Bluetooth libraries and services

Debug libraries

  • Added the ETB trace library for instruction traces.

Modem libraries

  • LTE link controller library:

    • Added the Kconfig option CONFIG_LTE_PSM_REQ that automatically requests PSM on modem initialization. If this option is disabled, PSM will not be requested when attaching to the LTE network. This means that the modem’s NVS (Non-Volatile Storage) contents are ignored.

    • Updated:

      • The Kconfig option CONFIG_LTE_EDRX_REQ. The option will now prevent the modem from requesting eDRX in case the option is disabled, in contrast to the previous behavior, where eDRX was requested even if the option was disabled (in the case where the modem has preserved requesting eDRX in its non-volatile storage).

      • The library to handle notifications from the modem when eDRX is not used by the current cell. The application now receives an LTE_LC_EVT_EDRX_UPDATE event with the network mode set to LTE_LC_LTE_MODE_NONE in these cases. Modem firmware version v1.3.4 or newer is required to receive these events.

      • The Kconfig option CONFIG_LTE_AUTO_INIT_AND_CONNECT is now deprecated. The application calls the lte_lc_init_and_connect() function instead.

      • New events added to enumeration lte_lc_modem_evt for RACH CE levels and missing IMEI.

  • Custom AT commands library:

    • Updated:

    • Removed:

      • The macros AT_CUSTOM_CMD_PAUSED and AT_CUSTOM_CMD_ACTIVE.

      • The functions at_custom_cmd_pause() and at_custom_cmd_active().

  • Modem library integration layer:

    • Added:

    • Updated:

      • The nrf_modem_lib_init() function now initializes the Modem library in normal operating mode only and the mode parameter is removed. Use the nrf_modem_lib_bootloader_init() function to initialize the Modem library in bootloader mode.

      • The Kconfig option CONFIG_NRF_MODEM_LIB_SYS_INIT is now deprecated. The application initializes the modem library using the nrf_modem_lib_init() function instead.

      • The nrf_modem_lib_shutdown() function now checks that the modem is in minimal functional mode (CFUN=0) before shutting down the modem. If not, a warning is given to the application, and minimal functional mode is set before calling the nrf_modem_shutdown() function.

      • The Kconfig option CONFIG_NRF_MODEM_LIB_IPC_PRIO_OVERRIDE is now deprecated.

    • Removed:

      • The deprecated function nrf_modem_lib_get_init_ret.

      • The deprecated function nrf_modem_lib_shutdown_wait.

      • The deprecated Kconfig option CONFIG_NRF_MODEM_LIB_TRACE_ENABLED.

  • PDN library:

    • Updated the library to use ePCO mode if the Kconfig option CONFIG_PDN_LEGACY_PCO is not enabled.

    • Fixed:

      • A bug in the initialization of a new PDN context without a PDN event handler.

      • A memory leak in the pdn_ctx_create() function.

Libraries for networking

  • Added the nRF Cloud Log library for logging to nRF Cloud.

  • nRF Cloud library:

    • Added:

      • A public header file nrf_cloud_defs.h that contains common defines for interacting with nRF Cloud and the nRF Cloud library.

      • A new event NRF_CLOUD_EVT_TRANSPORT_CONNECT_ERROR to indicate an error while the transport connection is being established when the CONFIG_NRF_CLOUD_CONNECTION_POLL_THREAD Kconfig option is enabled. Earlier this was indicated with a second NRF_CLOUD_EVT_TRANSPORT_CONNECTING event with an error status.

      • A public header file nrf_cloud_codec.h that contains encoding and decoding functions for nRF Cloud data.

      • Defines to enable parameters to be omitted from a P-GPS request.

    • Updated:

      • The nrf_cloud_device_status_msg_encode() function now includes the service info when encoding the device status.

      • The files nrf_cloud_codec.h and nrf_cloud_codec.c have been renamed to nrf_cloud_codec_internal.h and nrf_cloud_codec_internal.c respectively.

      • Encode and decode function names have been standardized in the codec.

      • The nrf_cloud_location_request_json_get() function has been moved from the nrf_cloud_location.h file to nrf_cloud_codec.h. The function is now renamed to nrf_cloud_location_request_msg_json_encode().

      • The library to allow only one file download at a time. MQTT-based FOTA, CONFIG_NRF_CLOUD_FOTA, has priority.

    • Removed unused internal codec function nrf_cloud_format_single_cell_pos_req_json().

  • nRF Cloud REST library:

    • Updated:

      • The mask angle parameter can now be omitted from an A-GPS REST request by using the value NRF_CLOUD_AGPS_MASK_ANGLE_NONE.

      • The library now uses defines from the nrf_cloud_pgps.h file for omitting parameters from a P-GPS request. Removed the following values:

        • NRF_CLOUD_REST_PGPS_REQ_NO_COUNT

        • NRF_CLOUD_REST_PGPS_REQ_NO_INTERVAL

        • NRF_CLOUD_REST_PGPS_REQ_NO_GPS_DAY

        • NRF_CLOUD_REST_PGPS_REQ_NO_GPS_TOD

      • A-GPS request encoding now uses the common codec function and new nRF Cloud API format.

  • LwM2M client utils library:

    • Added support for the connection pre-evaluation feature using the Kconfig option CONFIG_LWM2M_CLIENT_UTILS_LTE_CONNEVAL.

    • Updated the file lwm2m_client_utils.h, which includes new API for FOTA to register application callback to receive state changes and requests for the update process.

    • Removed the old API lwm2m_firmware_get_update_state_cb().

  • Download client library:

  • LwM2M location assistance library:

    • Updated:

      • lwm2m_client_utils_location.h includes new API for location assistance to register application callback to receive result codes from location assistance.

      • lwm2m_client_utils_location.h by removing deprecated confirmable parameters from location assistance APIs.

  • PDN library:

    • Added the event PDN_EVENT_NETWORK_DETACH to indicate a full network detach.

Other libraries

sdk-nrfxlib

  • Added:

  • Updated:

    • Deprecated PSA core implementation from Mbed TLS.

    • Deprecated PSA driver implementation from Mbed TLS.

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

Scripts

This section provides detailed lists of changes by script.

  • Partition Manager:

    • Fixed an issue that prevents an empty gap after a static partition for a region with the START_TO_END strategy.

  • HID configurator for nRF Desktop:

    • Added:

      • Support for the device information (devinfo) option fetching. The option provides device’s Vendor ID, Product ID and generation.

      • Support for devices using MCUboot bootloader built in the direct-xip mode (MCUBOOT+XIP). In this mode, the image is booted directly from the secondary slot without moving it to the primary slot.

MCUboot

The MCUboot fork in nRF Connect SDK (sdk-mcuboot) contains all commits from the upstream MCUboot repository up to and including 6902abba270c0fbcbe8ee3bb56fe39bc9acc2774, with 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:

  • Added:

  • Updated:

    • Serial recovery is now able to return hash of image slots, when CONFIG_BOOT_SERIAL_IMG_GRP_HASH is enabled.

Zephyr

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

For the list of upstream Zephyr commits (not including cherry-picked 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 4bbd91a908 ^e1e06d05fa

For the list of nRF Connect SDK specific commits, including commits cherry-picked from upstream, run:

git log --oneline manifest-rev ^4bbd91a908

The current nRF Connect SDK main branch is based on revision 4bbd91a908 of Zephyr.

Trusted Firmware-M

  • Updated TF-M version to 1.7.0.

Documentation