Data Structures | |
struct | dfu_progress_t |
DFU progress. More... | |
struct | nrf_dfu_adv_name_t |
Structure contains device name used during advertisement procedure. More... | |
struct | nrf_dfu_bank_t |
Description of a single bank. More... | |
struct | nrf_dfu_peer_data_t |
Structure contains information about bonded peers. More... | |
struct | nrf_dfu_settings_t |
DFU settings for application and bank data. More... | |
struct | nrf_dfu_shared_data_t |
Data passed to bootloader by application. More... | |
Macros | |
#define | DFU_APP_DATA_RESERVED CODE_PAGE_SIZE * 3 |
Size of the flash space reserved for application data. | |
#define | DFU_REGION_TOTAL_SIZE ((* (uint32_t *)NRF_UICR_BOOTLOADER_START_ADDRESS) - CODE_REGION_1_START) |
Total size of the region between the SoftDevice and the bootloader. | |
#define | INIT_COMMAND_MAX_SIZE 256 |
#define | NRF_DFU_BANK_INVALID 0x00 |
DFU bank state codes. More... | |
#define | NRF_DFU_BANK_VALID_APP 0x01 |
#define | NRF_DFU_BANK_VALID_BL 0xAA |
#define | NRF_DFU_BANK_VALID_SD 0xA5 |
#define | NRF_DFU_BANK_VALID_SD_BL 0xAC |
#define | NRF_MBR_PARAMS_PAGE_ADDRESS (0x0007E000UL) |
Size of a flash codepage. This value is used for calculating the size of the reserved flash space in the bootloader region. It is checked against NRF_UICR->CODEPAGESIZE at run time to ensure that the region is correct. More... | |
#define | SYSTEM_SERVICE_ATT_SIZE 8 |
#define INIT_COMMAND_MAX_SIZE 256 |
Maximum size of the init command stored in dfu_settings.
#define NRF_DFU_BANK_INVALID 0x00 |
DFU bank state codes.
The DFU bank state indicates the content of a bank: A valid image of a certain type or an invalid image.Invalid image.
#define NRF_DFU_BANK_VALID_APP 0x01 |
Valid application.
#define NRF_DFU_BANK_VALID_BL 0xAA |
Valid bootloader.
#define NRF_DFU_BANK_VALID_SD 0xA5 |
Valid SoftDevice.
#define NRF_DFU_BANK_VALID_SD_BL 0xAC |
Valid SoftDevice and bootloader.
#define NRF_MBR_PARAMS_PAGE_ADDRESS (0x0007E000UL) |
Size of a flash codepage. This value is used for calculating the size of the reserved flash space in the bootloader region. It is checked against NRF_UICR->CODEPAGESIZE at run time to ensure that the region is correct.
Maximum size of a data object. Page location of the bootloader settings address. Page location of the MBR parameters page address.
#define SYSTEM_SERVICE_ATT_SIZE 8 |
Size of the system service attribute length including CRC-16 at the end.