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

◆ nrf_modem_delta_dfu_write_init()

int nrf_modem_delta_dfu_write_init ( void  )

#include <nrf_modem/include/nrf_modem_delta_dfu.h>

Ready the modem to receive a firmware update.

Ready the modem to receive a firmware update, acquiring the necessary resources. When a firmware update is not in progress, call nrf_modem_delta_dfu_write_done to release all resources.

Note
All functions of this interface, except nrf_modem_delta_dfu_write, are available regardless of the initialization status.
Return values
0On success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EALREADYWrite already 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.