pub unsafe extern "C" fn nrf_modem_delta_dfu_offset(
    off: *mut usize
) -> c_int
Expand description

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.

  • off - Offset of the firmware image.

Returns 0 On success. Returns -NRF_EPERM The Modem library is not initialized. Returns -NRF_ENOMEM Not enough shared memory for this request. Returns -NRF_EFAULT If * off - is NULL. 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.