ClientImgExtension extension
- on
Methods
-
confirmImageState(
Duration timeout) → Future< ImageState> -
Available on Client, provided by the ClientImgExtension extension
Confirms the currently running image. -
continueImageUpload(
int offset, List< int> data, Duration timeout) → Future<ImageUploadResponse> -
Available on Client, provided by the ClientImgExtension extension
Sends a chunk of a firmware upload. -
erase(
Duration timeout) → Future< void> -
Available on Client, provided by the ClientImgExtension extension
Erases the image in the inactive slot. -
readImageState(
Duration timeout) → Future< ImageState> -
Available on Client, provided by the ClientImgExtension extension
Reads which images are currently present on the device. -
setPendingImage(
List< int> hash, bool confirm, Duration timeout) → Future<ImageState> -
Available on Client, provided by the ClientImgExtension extension
Marks the image with the specified hash as pending. -
startImageUpload(
int image, List< int> data, int length, List<int> sha256, Duration timeout) → Future<ImageUploadResponse> -
Available on Client, provided by the ClientImgExtension extension
Sends the first chunk of a firmware upload. -
uploadImage(
int image, List< int> data, List<int> hash, Duration chunkTimeout, {int chunkSize = 128, void onProgress(int)?, int windowSize = 3}) → Future<void> -
Available on Client, provided by the ClientImgExtension extension
Uploads an image to the device.