Enumerations | |
enum | nrf_bootloader_fw_activation_result_t { ACTIVATION_NONE, ACTIVATION_SUCCESS, ACTIVATION_SUCCESS_EXPECT_ADDITIONAL_UPDATE, ACTIVATION_ERROR } |
Functions | |
nrf_bootloader_fw_activation_result_t | nrf_bootloader_fw_activate (void) |
Function for activating a firmware received during DFU. More... | |
nrf_bootloader_fw_activation_result_t nrf_bootloader_fw_activate | ( | void | ) |
Function for activating a firmware received during DFU.
This function initiates or continues the DFU copy-back routines. These routines are fail-safe operations to activate either a new SoftDevice, bootloader, combination of SoftDevice and bootloader, or a new application.
This function relies on accessing MBR commands through supervisor calls. It does not rely on the SoftDevice for flash operations.
ACTIVATION_NONE | If no update was found. |
ACTIVATION_SUCCESS | If the firmware update was successfully activated. |
ACTIVATION_SUCCESS_EXPECT_ADDITIONAL_UPDATE | If the firmware update was successfully activated, but there are likely more updates to be transferred. |
ACTIVATION_ERROR | If the firmware update could not be activated. |