EnvelopeUploader
This uploader is using a SUITManager to upload the SUIT Envelope.
The SUIT Envelope is a CBOR-encoded data structure that contains the manifest and, optionally, the firmware. The SUIT Envelope is sent to the device to start the firmware update process. If the device decides, during the processing, that additional resources are required, it will notify the polling client using the SUITManager.poll method.
The response the the poll operation contains a resource URI and session ID. The resource should be sent using ResourceUploader.
Parameters
The candidate SUIT Envelope to be sent, as bytes.
Number of buffers available for sending data, defaults to 1. The more buffers are available, the more packets can be sent without awaiting notification with response, thus accelerating upload process.
The memory alignment of the device, defaults to 1. Some memory implementations may require bytes to be aligned to a certain value before saving them.
Constructors
Functions
Uploads the data asynchronously.