nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_delta_dfu_update()

int nrf_modem_delta_dfu_update ( void  )

#include <nrf_modem/include/nrf_modem_delta_dfu.h>

Schedule execution of firmware update.

The modem needs to reboot to run the new 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 update 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.