nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
dfu_target_full_modem.h File Reference
#include <stddef.h>
#include <sys/types.h>
#include <zephyr/device.h>
#include <dfu/dfu_target.h>

Go to the source code of this file.

Data Structures

struct  dfu_target_fmfu_fdev
 
struct  dfu_target_full_modem_params
 

Functions

int dfu_target_full_modem_cfg (const struct dfu_target_full_modem_params *params)
 Configure resources required by dfu_target_full_modem.
 
int dfu_target_full_modem_fdev_get (struct dfu_target_fmfu_fdev *const fdev)
 Get the configured flash device information.
 
bool dfu_target_full_modem_identify (const void *const buf)
 See if data in buf indicates a full modem update.
 
int dfu_target_full_modem_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_full_modem_offset_get (size_t *offset)
 Get offset of firmware.
 
int dfu_target_full_modem_write (const void *const buf, size_t len)
 Write firmware data.
 
int dfu_target_full_modem_done (bool successful)
 Release resources and finalize firmware upgrade if successful.
 
int dfu_target_full_modem_schedule_update (int img_num)
 Schedule update of the image.
 
int dfu_target_full_modem_reset (void)
 Release resources and erase the download area.