Skip to main content

FotaState

Type Alias FotaState 

pub type FotaState = FotaState;
👎Deprecated:

moved to ql-fota, use ql_fota::FotaState

Expand description

Aliased Type§

pub enum FotaState {
    Succeed,
    Update,
    Backup,
    Failed,
    WriteDone,
    NeedSync,
    Cancel,
    UnknownStatus,
}

Variants§

§

Succeed

Update succeeded and A/B partition is synchronized successfully.

§

Update

System is updating.

§

Backup

System updated but A/B partition was not synchronized.

§

Failed

System update failed.

§

WriteDone

System update finished, and A/B partition was not synchronized.

§

NeedSync

System switched, needs to perform A/B synchronization.

§

Cancel

Update canceled.

§

UnknownStatus

Unknown status.