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

Retrieve the size of the modem DFU area.

The size of the modem DFU area is the size of the FLASH area that the modem can use to receive an incoming firmware update.

  • size - Size of the modem DFU area.

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 * size - 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.