14#ifndef DFU_TARGET_SUIT_H__
15#define DFU_TARGET_SUIT_H__
int dfu_target_suit_reboot(void)
Reboot the device and apply the new image.
int dfu_target_suit_write(const void *const buf, size_t len)
Write firmware data.
int dfu_target_suit_schedule_update(int img_num)
Schedule an update.
int dfu_target_suit_set_buf(uint8_t *buf, size_t len)
Set buffer to use for flash write operations.
int dfu_target_suit_reset(void)
Release resources and erase the download area.
int dfu_target_suit_offset_get(size_t *offset)
Get offset of firmware.
int dfu_target_suit_init(size_t file_size, int img_num, dfu_target_callback_t cb)
Initialize the DFU target for the specific image and perform the necessary steps to receive the firmw...
int dfu_target_suit_done(bool successful)
Deinitialize resources and finalize firmware upgrade if successful.
void(* dfu_target_callback_t)(enum dfu_target_evt_id evt_id)
Definition dfu_target.h:58