nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
Custom DFU Target

Custom DFU (Device Firmware Update) target implementation. More...

Functions

bool dfu_target_custom_identify (const void *const buf)
 Check if the provided buffer contains a custom firmware image.
 
int dfu_target_custom_init (size_t file_size, int img_num, dfu_target_callback_t cb)
 Initialize the custom DFU target.
 
int dfu_target_custom_offset_get (size_t *offset)
 Get the current write offset for the custom DFU target.
 
int dfu_target_custom_write (const void *const buf, size_t len)
 Write data to the custom DFU target.
 
int dfu_target_custom_done (bool successful)
 Release resources and finalize the custom DFU process if successful.
 
int dfu_target_custom_schedule_update (int img_num)
 Schedule an update for the custom DFU target.
 
int dfu_target_custom_reset (void)
 Release resources and erase the download area.
 

Detailed Description

Custom DFU (Device Firmware Update) target implementation.

This file contains the function declarations for a custom DFU target implementation. It provides function prototypes for identifying, initializing, writing, and finalizing a custom firmware update process.