retrieveEsp32Firmware
suspend fun retrieveEsp32Firmware(release: FirmwareRelease, hardware: DeviceHardware, onProgress: (Float) -> Unit): FirmwareArtifact?(source)
Download the ESP32 OTA firmware binary. Tries in order:
.mt.jsonmanifest resolution (2.7.17+)Current naming convention (
firmware-<target>-<version>.bin)Legacy naming (
firmware-<target>-<version>-update.bin)Any matching
.binfrom the release zip
Return
The downloaded .bin FirmwareArtifact, or null if the file could not be resolved.