FirmwareUpdateHandler

Common interface for all firmware update handlers (BLE DFU, ESP32 OTA, USB).

Inheritors

Functions

Link copied to clipboard
abstract suspend fun startUpdate(release: FirmwareRelease, hardware: DeviceHardware, target: String, updateState: (FirmwareUpdateState) -> Unit, firmwareUri: CommonUri? = null): FirmwareArtifact?

Start the firmware update process.