nrfxlib API 0.1.0
|
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.
off | Offset of the firmware image. |
0 | On success. |
-NRF_EPERM | The Modem library is not initialized. |
-NRF_ENOMEM | Not enough shared memory for this request. |
-NRF_EFAULT | If off is NULL. |
-NRF_ESHUTDOWN | Modem was shut down. |