pub unsafe extern "C" fn nrf_modem_delta_dfu_write_init() -> c_int
Expand description

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.

Returns 0 On success. Returns -NRF_EPERM The Modem library is not initialized. Returns -NRF_EALREADY Write already initialized. Returns -NRF_ENOMEM Not enough shared memory for this request. Returns -NRF_ESHUTDOWN Modem was shut down. @returns A positive error code from @ref nrf_modem_delta_dfu_errors, if the modem refused the operation.