dfu_progress_t

nRF5 SDK v12.2.0

DFU progress. More...

#include <nrf_dfu_types.h>

Detailed Description

DFU progress.

Be aware of the difference between objects and firmware images. A firmware image consists of multiple objects, each of a maximum size DATA_OBJECT_MAX_SIZE .

Field Documentation

uint32_t dfu_progress_t::command_crc

The calculated CRC of the init command (calculated after the transfer is completed).

uint32_t dfu_progress_t::command_offset

The offset of the currently received init command data. The offset will increase as the init command is received.

uint32_t dfu_progress_t::command_size

The size of the current init command stored in the DFU settings.

uint32_t dfu_progress_t::data_object_size

The size of the last object created. Note that this size is not the size of the whole firmware image.

uint32_t dfu_progress_t::firmware_image_crc

CRC value of the current firmware (continuously calculated as data is received).

uint32_t dfu_progress_t::firmware_image_crc_last

The CRC of the last executed object.

uint32_t dfu_progress_t::firmware_image_offset

The offset of the current firmware image being transferred. Note that this offset is the offset in the entire firmware image and not only the current object.

uint32_t dfu_progress_t::firmware_image_offset_last

The offset of the last executed object from the start of the firmware image.

  • components/libraries/bootloader/dfu/nrf_dfu_types.h