Smart Remote 3 nRF52 v1.2
Data Fields
nrf_dfu_settings_t Struct Reference

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

Data Fields

uint32_t app_version
 
nrf_dfu_bank_t bank_0
 
nrf_dfu_bank_t bank_1
 
uint32_t bank_current
 
uint32_t bank_layout
 
uint32_t bootloader_version
 
uint32_t crc
 
uint8_t init_command [INIT_COMMAND_MAX_SIZE]
 
dfu_progress_t progress
 
uint32_t sd_size
 
uint32_t settings_version
 
nrf_dfu_shared_data_t shared_data
 
uint32_t transport_activated
 
uint32_t write_offset
 

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[INIT_COMMAND_MAX_SIZE]

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 current DFU settings structure layout.

nrf_dfu_shared_data_t nrf_dfu_settings_t::shared_data

Data passed to the bootloader from the application.

uint32_t nrf_dfu_settings_t::transport_activated

True if DFU transport has been activated

uint32_t nrf_dfu_settings_t::write_offset

Write offset for the current operation.


Documentation feedback | Developer Zone | Subscribe | Updated