![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
The device firmware update information. (Provided for home owner role
or administrator role
users.)
More...
#import <ThingSmartFirmwareUpgradeModel.h>
Instance Methods | |
(NSString *downloadingDesc) | - __deprecated_msg |
The notification text in the device download firmware. Currently, only NB-IoT devices are supported. More... | |
(NSString *downloadingDesc) | - __deprecated_msg |
The notification text in the device download firmware. Currently, only NB-IoT devices are supported. More... | |
(NSString *downloadingDesc) | - __deprecated_msg |
The notification text in the device download firmware. Currently, only NB-IoT devices are supported. More... | |
(NSString *downloadingDesc) | - __deprecated_msg |
The notification text in the device download firmware. Currently, only NB-IoT devices are supported. More... | |
Properties | |
NSString * | desc |
The update copywriting. More... | |
NSString * | typeDesc |
The device type copywriting. More... | |
ThingSmartDeviceUpgradeStatus | upgradeStatus |
Valid values: 0 : no later version. 1 : a later version available. 2 : updating. 5 : waiting for the device to wake up. More... | |
NSString * | version |
The firmware version that is used in the later version. More... | |
NSString * | currentVersion |
The current firmware version in use. More... | |
NSInteger | timeout |
The update timeout. Unit: seconds. More... | |
NSInteger | upgradeType |
NSInteger | type |
NSInteger | devType |
NSString * | url |
The download URL of the update firmware for Bluetooth devices. More... | |
NSString * | md5 |
The firmware MD5 message-digest algorithm. More... | |
NSString * | fileSize |
The size of the firmware package. Unit: bytes. More... | |
NSString * | sign |
Firmware sign. More... | |
long long | lastUpgradeTime |
The last update time of the DP. More... | |
long long | firmwareDeployTime |
The firmware release date. More... | |
BOOL | controlType |
Indicates whether the update device is controllable. 1 : controllable. 0 : not controllable. More... | |
NSString * | waitingDesc |
The description of waiting for device wake-up. The low-power non-keep-alive device is in the state of "waiting for device wake-up" before an update. More... | |
NSString * | upgradingDesc |
The notification text in the firmware update. More... | |
NSNumber * | canUpgrade |
if the device has the ability to upgrade.can not upgrade like low power. It will be nil when device has not dp check. More... | |
NSString * | remind |
The remind when device can not upgrade.Value can be nil. More... | |
NSString * | hmac |
The firmware sign hmac. More... | |
BOOL | diffOta |
The firmware support differential packet or not. More... | |
NSString * | filePath |
The firmware's local file path for upgrade used lan way. More... | |
ThingSmartDeviceUpgradeMode | upgradeMode |
BOOL | autoSwitch |
The device firmware update information. (Provided for home owner role
or administrator role
users.)
Definition at line 17 of file ThingSmartFirmwareUpgradeModel.h.
- (NSString *downloadingDesc) __deprecated_msg | ("This property is) | deprecated | |
(Use upgradingDesc instead") | |||
The notification text in the device download firmware. Currently, only NB-IoT devices are supported.
- (NSString *downloadingDesc) __deprecated_msg | ("This property is) | deprecated | |
(Use upgradingDesc instead") | |||
The notification text in the device download firmware. Currently, only NB-IoT devices are supported.
- (NSString *downloadingDesc) __deprecated_msg | ("This property is) | deprecated | |
(Use upgradingDesc instead") | |||
The notification text in the device download firmware. Currently, only NB-IoT devices are supported.
- (NSString *downloadingDesc) __deprecated_msg | ("This property is) | deprecated | |
(Use upgradingDesc instead") | |||
The notification text in the device download firmware. Currently, only NB-IoT devices are supported.
|
readwritenonatomicassign |
Definition at line 101 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
if the device has the ability to upgrade.can not upgrade like low power. It will be nil when device has not dp check.
Definition at line 78 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
Indicates whether the update device is controllable. 1
: controllable. 0
: not controllable.
Definition at line 69 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The current firmware version in use.
Definition at line 32 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The update copywriting.
Definition at line 20 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
Definition at line 48 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The firmware support differential packet or not.
Definition at line 87 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The firmware's local file path for upgrade used lan way.
Definition at line 90 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The size of the firmware package. Unit: bytes.
Definition at line 57 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The firmware release date.
Definition at line 66 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomiccopy |
The firmware sign hmac.
Definition at line 84 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The last update time of the DP.
Definition at line 63 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The firmware MD5 message-digest algorithm.
Definition at line 54 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomiccopy |
The remind when device can not upgrade.Value can be nil.
Definition at line 81 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
Firmware sign.
Definition at line 60 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The update timeout. Unit: seconds.
Definition at line 35 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The firmware type. Notice: only have meanning when upgradeMode == ThingSmartDeviceUpgradeModeNormal
Definition at line 45 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The device type copywriting.
Definition at line 23 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The firmware upgrade mode. (normal upgrade, pid version upgrade, ... )
Definition at line 98 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
Valid values: 0
: no later version. 1
: a later version available. 2
: updating. 5
: waiting for the device to wake up.
Definition at line 26 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicassign |
The upgrade reminder recommend. Used to display UI different.
Definition at line 41 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The notification text in the firmware update.
Definition at line 75 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The download URL of the update firmware for Bluetooth devices.
Definition at line 51 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The firmware version that is used in the later version.
Definition at line 29 of file ThingSmartFirmwareUpgradeModel.h.
|
readwritenonatomicstrong |
The description of waiting for device wake-up. The low-power non-keep-alive device is in the state of "waiting for device wake-up" before an update.
Definition at line 72 of file ThingSmartFirmwareUpgradeModel.h.