FirmwareImageObtainer

class FirmwareImageObtainer(firmwareRetriever: FirmwareRetriever, firmwareFileHandler: FirmwareFileHandler)(source)

Downloads or imports a firmware image and unpacks it for the BLE update handlers, reporting progress and failures through the same states the handlers used to. ObtainedImage.artifact is the caller's to delete once the update ends.

Constructors

Link copied to clipboard
constructor(firmwareRetriever: FirmwareRetriever, firmwareFileHandler: FirmwareFileHandler)