3#include "dfu_headers.h"
9 UpdateBlockResult_Unknown,
11 UpdateBlockResult_Skipped,
12 UpdateBlockResult_Failed
13} DfuUpdateBlockResult;
16 *DfuPageTaskCb)(
const uint8_t i_page,
const uint8_t* update_block, uint16_t update_block_len);
17typedef void (*DfuPageTaskProgressCb)(
const uint8_t progress,
void* context);
18typedef bool (*DfuAddressValidationCb)(
const size_t address);
21 DfuPageTaskCb task_cb;
22 DfuPageTaskProgressCb progress_cb;
23 DfuAddressValidationCb address_cb;
33bool dfu_file_validate_crc(
File* dfuf,
const DfuPageTaskProgressCb progress_cb,
void* context);
40bool dfu_file_process_targets(
const DfuUpdateTask* task,
File* dfuf,
const uint8_t n_targets);
APIs for working with storages, directories and files.
Structure that hold file index and returned api errors.
Definition filesystem_api_internal.h:17