| 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
Functions | Variables
DFU settings
DFU bootloader

## Functions
ret_code_t | nrf_dfu_settings_write (dfu_flash_callback_t callback)
| Function for writing DFU settings to flash. More...
void | nrf_dfu_settings_init (void)
| Function for initializing the DFU settings module.

## Variables
nrf_dfu_settings_t | s_dfu_settings
| Global DFU settings. More...

## Detailed Description

## Function Documentation

ret_code_t nrf_dfu_settings_write | ( | dfu_flash_callback_t | callback | ) |

Function for writing DFU settings to flash.

Parameters

  [in] | callback | Pointer to a function that is called after completing the write operation.

Return values

  NRF_SUCCESS | If the write process was successfully initiated.
  NRF_ERROR_BUSY | If a flash write error occurred (for example, due to full flash operation queue).

## Variable Documentation

nrf_dfu_settings_t s_dfu_settings

Global DFU settings.

Note
  Using this variable is not thread-safe.