nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_modem_delta_dfu_write()

int nrf_modem_delta_dfu_write ( const void *  src,
size_t  len 
)

#include <nrf_modem/include/nrf_modem_delta_dfu.h>

Write bytes from a delta patch to the modem DFU area.

Parameters
srcFirmware update bytes.
lenLength of data being written.
Return values
0On success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EFAULTIf src is NULL.
-NRF_EINVALIf len is zero.
-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.