upload
Send a packet of given data from the specified offset to the device (asynchronous).
The chunk size is limited by the current MTU. If the current MTU set by setUploadMtu is too large, the onError with InsufficientMtuException error will be returned. Use getMtu to get the current MTU and pass it to setUploadMtu and try again.
Use imageUpload to send the whole file asynchronously using one command.
Parameters
image data.
the offset, from which the chunk will be sent.
the asynchronous callback.
See also
Send a packet of given data from the specified offset to the given core (image) on the device (asynchronous).
The chunk size is limited by the current MTU. If the current MTU set by setUploadMtu is too large, the onError with InsufficientMtuException error will be returned. Use getMtu to get the current MTU and pass it to setUploadMtu and try again.
Use imageUpload to send the whole file asynchronously using one command.
Parameters
image data.
the offset, from which the chunk will be sent.
the image number, default is 0. Use 0 for core0, 1 for core1, etc.
the asynchronous callback.
See also
Send a packet of given data from the specified offset to the device (synchronous).
The chunk size is limited by the current MTU. If the current MTU set by setUploadMtu is too large, the InsufficientMtuException error will be thrown. Use getMtu to get the current MTU and pass it to setUploadMtu and try again.
Use imageUpload to send the whole file asynchronously using one command.
Return
The upload response.
Parameters
image data.
the offset, from which the chunk will be sent.
See also
Send a packet of given data from the specified offset to the given core (image) on the device (synchronous).
The chunk size is limited by the current MTU. If the current MTU set by setUploadMtu is too large, the InsufficientMtuException error will be thrown. Use getMtu to get the current MTU and pass it to setUploadMtu and try again.
Use imageUpload to send the whole file asynchronously using one command.
Return
The upload response.
Parameters
image data.
the offset, from which the chunk will be sent.
the image number, default is 0. Use 0 for core0, 1 for core1, etc.
See also
Deprecated
Use the new transfer implementation's imageUpload(...) method
Begin an image upload.
Only one upload can occur per ImageManager.
Return
True, if the upload has stared, false otherwise.
Parameters
the image data to upload to slot 1.
the image upload callback.