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

◆ dfu_target_suit_write()

int dfu_target_suit_write ( const void *const buf,
size_t len )

#include <include/dfu/dfu_target_suit.h>

Write firmware data.

Parameters
[in]bufPointer to data that should be written.
[in]lenLength of data to write.
Returns
0 If successful.
-EFAULT errno code if the stream flash has not been initialized for any dfu image.
other negative errno code if the initialization failed.