uploadResource
Command delivers a part of the requested resource to the device (asynchronous).
After sending a SUIT Envelope using upload, the device may request a resource to be delivered. To get the session ID and the resource ID, use poll.
Use uploadAsync to upload the whole file.
Parameters
the non-zero session ID obtained using poll.
image data.
the offset, from which the chunk will be sent.
the asynchronous callback.
Command delivers a part of the requested resource to the device (synchronous).
After sending a SUIT Envelope using upload, the device may request a resource to be delivered. To get the session ID and the resource ID, use poll.
Use uploadAsync to upload the whole envelope.
Return
The upload response.
Parameters
the non-zero session ID obtained using poll.
image data.
the offset, from which the chunk will be sent.