Device Firmware Update module interface.
More...
uint32_t dfu_init |
( |
void |
| ) |
|
- Returns
- NRF_SUCCESS on success, an error_code otherwise.
uint32_t dfu_image_size_set |
( |
uint32_t |
image_size | ) |
|
Function sets the DFU image size. This function must be called when an update is started in order to notify the DFU of the new image size.
- Parameters
-
[in] | image_size | Size of the image to be transmitted. |
- Returns
- NRF_SUCCESS on success, an error_code otherwise.
- Parameters
-
[in] | p_packet | Pointer to the DFU packet. |
- Returns
- NRF_SUCCESS on success, an error_code otherwise.
- Returns
- NRF_SUCCESS on success, an error_code otherwise.
uint32_t dfu_image_validate |
( |
void |
| ) |
|
- Returns
- NRF_SUCCESS on success, an error_code otherwise.
uint32_t dfu_image_activate |
( |
void |
| ) |
|
- Returns
- NRF_SUCCESS on success, an error_code otherwise.