nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_delta_dfu_offset()

int nrf_modem_delta_dfu_offset ( size_t * off)

#include <nrf_modem/include/nrf_modem_delta_dfu.h>

Retrieve the offset of the firmware image in the modem DFU area.

The offset will be zero if no image is in modem DFU area. The offset will be NRF_MODEM_DELTA_DFU_OFFSET_DIRTY if the modem DFU area needs to be erased before a new firmware update can be received.

Parameters
offOffset of the firmware image.
Return values
0On success.
-NRF_EPERMThe Modem library is not initialized.
-NRF_ENOMEMNot enough shared memory for this request.
-NRF_EFAULTIf off is NULL.
-NRF_ESHUTDOWNModem was shut down.
Returns
A positive error code from DFU errors, if the modem refused the operation.