nRF5 IoT SDK
v0.9.0
|
Internal Device Firmware Update module interface. More...
Functions | |
void | bootloader_settings_load (bootloader_settings_t *p_bootloader_settings) |
Function for loading the bootloader settings. More... | |
void | bootloader_settings_save (bootloader_settings_t *p_bootloader_settings) |
Function for saving the bootloader settings. More... | |
uint32_t | dfu_bl_image_validate (void) |
Function for checking if new bootloader will be installed. More... | |
uint32_t | dfu_app_image_validate (void) |
Function for validating that new application has been correctly installed. More... | |
uint32_t | dfu_sd_image_validate (void) |
Function for validating that new SoftDevice has been correctly installed. More... | |
uint32_t | dfu_bl_image_swap (void) |
Function for swapping existing bootloader with newly received. More... | |
uint32_t | dfu_sd_image_swap (void) |
Function for swapping existing SoftDevice with newly received. More... | |
uint32_t | dfu_app_image_swap (void) |
Function for swapping existing application with newly received. More... | |
Internal Device Firmware Update module interface.
void bootloader_settings_load | ( | bootloader_settings_t * | p_bootloader_settings | ) |
Function for loading the bootloader settings.
This function is defined as an interface function. The implementation of this is system specific and needs to be implemented by a user module.
[out] | p_bootloader_settings | Current bootloader settings. |
void bootloader_settings_save | ( | bootloader_settings_t * | p_bootloader_settings | ) |
Function for saving the bootloader settings.
This function is defined as an interface function. The implementation of this is system specific and needs to be implemented by a user module.
[in] | p_bootloader_settings | New bootloader settings. |
uint32_t dfu_app_image_swap | ( | void | ) |
Function for swapping existing application with newly received.
uint32_t dfu_app_image_validate | ( | void | ) |
Function for validating that new application has been correctly installed.
The function will also compare the copied version against the firmware source, and mark it as installed if comparisson is a success before returning.
uint32_t dfu_bl_image_swap | ( | void | ) |
Function for swapping existing bootloader with newly received.
uint32_t dfu_bl_image_validate | ( | void | ) |
Function for checking if new bootloader will be installed.
The function will also compare the copied version against the firmware source, and mark it as installed if comparisson is a success before returning.
uint32_t dfu_sd_image_swap | ( | void | ) |
Function for swapping existing SoftDevice with newly received.
uint32_t dfu_sd_image_validate | ( | void | ) |
Function for validating that new SoftDevice has been correctly installed.
The function will also compare the copied version against the firmware source, and mark it as installed if comparisson is a success before returning.