nRF Connect SDK API 2.8.99
|
int dfu_target_modem_delta_init | ( | size_t | file_size, |
int | img_num, | ||
dfu_target_callback_t | callback ) |
#include <include/dfu/dfu_target_modem_delta.h>
Initialize dfu target, perform steps necessary to receive firmware.
[in] | file_size | Size of the current file being downloaded. |
[in] | img_num | Image pair index. The value is not used currently. |
[in] | callback | Callback function for signaling if the modem is not able to service the erase request. |
0 | If successful, negative errno otherwise. |