1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// TuyaSmartDeviceModelUtils.h
// TuyaSmartDeviceCoreKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#ifndef TuyaSmartDeviceModelUtils_h
#define TuyaSmartDeviceModelUtils_h
 
typedef enum : NSUInteger {
    TuyaSmartDeviceUpgradeStatusDefault = 0,    // Default. No upgrade required by default.
    TuyaSmartDeviceUpgradeStatusReady,          // Ready. Hardware readiness.
    TuyaSmartDeviceUpgradeStatusUpgrading,      // Upgrading. Upgrade in progress.
    TuyaSmartDeviceUpgradeStatusSuccess,        // Success. Upgrade completed.
    TuyaSmartDeviceUpgradeStatusFailure,        // Failure. Upgrade Exception.
    TuyaSmartDeviceUpgradeStatusWaitingExectue, // For nb,waiting execute nb. Equipment tasks have been issued, but not yet executed.
    TuyaSmartDeviceUpgradeStatusDownloaded,     // For nb,downloaded nb. Device firmware has been downloaded.
    TuyaSmartDeviceUpgradeStatusTimeout         // Timeout. Upgrade timeout.
} TuyaSmartDeviceUpgradeStatus;
 
#endif /* TuyaSmartDeviceModelUtils_h */