observeFirmwareUpdateStatus

Observes the status of firmware updates on the connected module.

Please, note that the produced output indicates the exact current state of a firmware update and might not be directly suitable for rendering user interface. For example, in case of external updates, the method might emit values in the following order:

CmFirmwareUpdateStatus.Ongoing with step CmFirmwareUpdateStep.Fetching with step CmFirmwareUpdateStep.Initiating with step CmFirmwareUpdateStep.Fetching with step CmFirmwareUpdateStep.Updating CmFirmwareUpdateStatus.UpToDate with step CmFirmwareUpdateStep.Updating

Return

A Flow emitting CmFirmwareUpdateStatus indicating the current update status.

See also