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

◆ suit_dfu_fetch_source_write_fetched_data()

int suit_dfu_fetch_source_write_fetched_data ( uint32_t  session_id,
const uint8_t *  data,
size_t  len 
)

Passes the fetched data to the SUIT processor.

This function shall only be called from inside a suit_dfu_fetch_source_request_fn callback.

Parameters
[in]session_idSession id, the same which was passed to the session_id parameter of the suit_dfu_fetch_source_request_fn callback.
[in]dataPointer to the data to write.
[in]lenLength of the data to write.
Returns
0 on success, negative error code otherwise.