nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_delta_dfu_rollback()

int nrf_modem_delta_dfu_rollback ( void )

#include <nrf_modem/include/nrf_modem_delta_dfu.h>

Schedule a rollback to the previous firmware.

The modem needs to reboot to run the previous firmware. To reboot the modem, uninitialize the Modem library and reinitialize it using the nrf_modem_deinit and nrf_modem_init respectively.

Note
The final result of the rollback operation is reported via nrf_modem_init.
Return values
0On success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_ENOMEMNot enough shared memory for this request.
-NRF_ESHUTDOWNModem was shut down.
Returns
A positive error code from DFU errors, if the modem refused the operation.