Function nrfxlib_sys::nrf_modem_delta_dfu_write
source · pub unsafe extern "C" fn nrf_modem_delta_dfu_write(
src: *const c_void,
len: usize
) -> c_int
Expand description
Write bytes from a delta patch to the modem DFU area.
src
- Firmware update bytes.len
- Length of data being written.
Returns 0 On success.
Returns -NRF_EPERM The Modem library is not initialized.
Returns -NRF_EFAULT If * src
- is NULL.
Returns -NRF_EINVAL If * len
- is zero.
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.