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

◆ dfu_target_stream_write()

int dfu_target_stream_write ( const uint8_t *  buf,
size_t  len 
)

#include <include/dfu/dfu_target_stream.h>

Write a chunk of firmware data.

Parameters
[in]bufPointer to data that should be written.
[in]lenLength of data to write.
Returns
Non-negative value on success, negative errno otherwise.