FirmwareRetriever

Retrieves firmware files, either by direct download or by extracting from a release asset.

Constructors

Link copied to clipboard
constructor(fileHandler: FirmwareFileHandler)

Functions

Link copied to clipboard
suspend fun retrieveEsp32Firmware(release: FirmwareRelease, hardware: DeviceHardware, onProgress: (Float) -> Unit): String?
Link copied to clipboard
suspend fun retrieveOtaFirmware(release: FirmwareRelease, hardware: DeviceHardware, onProgress: (Float) -> Unit): String?
Link copied to clipboard
suspend fun retrieveUsbFirmware(release: FirmwareRelease, hardware: DeviceHardware, onProgress: (Float) -> Unit): String?