nRF Connect SDK API 2.8.99
|
Go to the source code of this file.
Functions | |
int | dfu_target_mcuboot_set_buf (uint8_t *buf, size_t len) |
Set buffer to use for flash write operations. | |
bool | dfu_target_mcuboot_identify (const void *const buf) |
See if data in buf indicates MCUBoot style upgrade. | |
int | dfu_target_mcuboot_init (size_t file_size, int img_num, dfu_target_callback_t cb) |
Initialize dfu target, perform steps necessary to receive firmware. | |
int | dfu_target_mcuboot_offset_get (size_t *offset) |
Get offset of firmware. | |
int | dfu_target_mcuboot_write (const void *const buf, size_t len) |
Write firmware data. | |
int | dfu_target_mcuboot_done (bool successful) |
Deinitialize resources and finalize firmware upgrade if successful. | |
int | dfu_target_mcuboot_schedule_update (int img_num) |
Schedule update of one or more images. | |
int | dfu_target_mcuboot_reset (void) |
Release resources and erase the download area. | |