| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
nrf_dfu_settings_t Struct Reference
DFU types

DFU settings for application and bank data. More...

`#include <nrf_dfu_types.h>`

## Data Fields
uint32_t | crc
uint32_t | settings_version
uint32_t | app_version
uint32_t | bootloader_version
uint32_t | bank_layout
uint32_t | bank_current
nrf_dfu_bank_t | bank_0
nrf_dfu_bank_t | bank_1
uint32_t | write_offset
uint32_t | sd_size
dfu_progress_t | progress
uint32_t | enter_buttonless_dfu
uint8_t | init_command [256]

## Detailed Description

DFU settings for application and bank data.

## Field Documentation

uint32_t nrf_dfu_settings_t::app_version

Version of the last stored application.

nrf_dfu_bank_t nrf_dfu_settings_t::bank_0

Bank 0.

nrf_dfu_bank_t nrf_dfu_settings_t::bank_1

Bank 1.

uint32_t nrf_dfu_settings_t::bank_current

The bank that is currently used.

uint32_t nrf_dfu_settings_t::bank_layout

Bank layout: single bank or dual bank. This value can change.

uint32_t nrf_dfu_settings_t::bootloader_version

Version of the last stored bootloader.

uint32_t nrf_dfu_settings_t::crc

CRC for the stored DFU settings, not including the CRC itself. If 0xFFFFFFF, the CRC has never been calculated.

uint8_t nrf_dfu_settings_t::init_command[256]

Buffer for storing the init command.

dfu_progress_t nrf_dfu_settings_t::progress

Current DFU progress.

uint32_t nrf_dfu_settings_t::sd_size

SoftDevice size (if combined BL and SD).

uint32_t nrf_dfu_settings_t::settings_version

Version of the currect dfu settings struct layout.

uint32_t nrf_dfu_settings_t::write_offset

Write offset for the current operation.