nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_delta_dfu_area()

int nrf_modem_delta_dfu_area ( size_t *  size)

#include <nrf_modem/include/nrf_modem_delta_dfu.h>

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.

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