If you built an application based on nRF5 SDK v16.0.0, complete the actions listed in the following sections to migrate your application to nRF5 SDK v17.0.0.
Note that this migration guide does not list all changes, but it covers the most important changes that require you to update your code. See the release notes for further information on changes that were made in this release.
req_report
member has been removed from the scan_evt_t
structure.NRF_BLE_SCAN_EVT_SCAN_REQ_REPORT
value has been removed from the nrf_ble_scan_evt_t
enumeration.The nrf_oberon library version 3.0.5 provides mbed TLS APIs and library for some of its features.
Usage of mbed TLS is not demonstrated in nRF5 SDK. For an example implementation, see Nordic Security Module .
To interface with the mbed TLS features using nRF5 SDK, do the following:
mbedtls_mpi_write_binary_le
mbedtls_mpi_read_binary_le
The nrfx 1.8.4 comes with two SAADC drivers. The first one is a legacy driver while the second one is backported from nrfx 2.2.0. The new driver fixes several known issues but comes with new API.
The new SAADC driver is added to the existing files. There is no need to add new files to the compilation process. However, to switch to new API, the code must be rewritten and symbol NRFX_SAADC_API_V2
must be defined. Examples on how to use the new API can be found here: SAADC driver migration.
Enabling and disabling of CryptoCell hardware and interrupts is now done internally in the nrf_cc310 library. The following API that allowed to do this manually is now removed:
cc310_backend_enable()
;cc310_backend_disable()
;Any direct references to enable or disable the CryptoCell hardware or CryptoCell IRQ are also removed:
Action: If you have maintained the enabling and disabling of Cryptocell hardware and interrupts on your own, remove these calls from your code.