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

◆ suit_dfu_fetch_source_seek()

int suit_dfu_fetch_source_seek ( uint32_t session_id,
size_t offset )

Move the internal write pointer inside the SUIT processor to the given offset.

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]offsetThe offset to which the write pointer shall be used.
Returns
0 on success, negative error code otherwise.