nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ dfu_multi_image_register_writer()

int dfu_multi_image_register_writer ( const struct dfu_image_writer writer)

#include <include/dfu/dfu_multi_image.h>

Register DFU image writer.

Registers functions for opening, writing and closing a single image included in the downloaded DFU Multi Image package.

Parameters
[in]writerStructure that contains the applicable image identifier and functions to be registered.
Returns
-ENOMEM If the image writer could not be registered due to lack of empty slots.
0 On success.