nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
dfu_target_modem_delta.h File Reference
#include <zephyr/types.h>

Go to the source code of this file.

Functions

bool dfu_target_modem_delta_identify (const void *const buf)
 See if data in buf indicates modem delta upgrade.
 
int dfu_target_modem_delta_init (size_t file_size, int img_num, dfu_target_callback_t callback)
 Initialize dfu target, perform steps necessary to receive firmware.
 
int dfu_target_modem_delta_offset_get (size_t *offset)
 Get offset of firmware.
 
int dfu_target_modem_delta_write (const void *const buf, size_t len)
 Write firmware data.
 
int dfu_target_modem_delta_done (bool successful)
 Deinitialize resources and finalize firmware upgrade if successful.
 
int dfu_target_modem_delta_schedule_update (int img_num)
 Schedule update of the image.
 
int dfu_target_modem_delta_reset (void)
 Release resources and erase the download area.