Tuya iOS Smart Life App SDK 5.15.0
ThingSmartDeviceOTAModel Class Reference

#import <ThingSmartDeviceOTAModel.h>

Inheritance diagram for ThingSmartDeviceOTAModel:

Instance Methods

(BOOL) - deviceCapabilitySupport:
 
(BOOL) - bluetoothCapabilityOfIndex:
 
(BOOL) - isGatewaySubDevOTASupported:
 
(ThingSmartDeviceConnectivityType- blueConnectivitySupport
 
(BOOL) - deviceCapabilitySupport:
 
(BOOL) - bluetoothCapabilityOfIndex:
 
(BOOL) - isGatewaySubDevOTASupported:
 
(ThingSmartDeviceConnectivityType- blueConnectivitySupport
 
(BOOL) - deviceCapabilitySupport:
 
(BOOL) - bluetoothCapabilityOfIndex:
 
(BOOL) - isGatewaySubDevOTASupported:
 
(ThingSmartDeviceConnectivityType- blueConnectivitySupport
 
(BOOL) - deviceCapabilitySupport:
 
(BOOL) - bluetoothCapabilityOfIndex:
 
(BOOL) - isGatewaySubDevOTASupported:
 
(ThingSmartDeviceConnectivityType- blueConnectivitySupport
 

Properties

NSString * devId
 The device ID. More...
 
ThingSmartDeviceOTAModelUpgradeStatus otaUpgradeStatus
 The status of device updates. More...
 
NSString * beaconCategory
 
NSString * beaconKey
 
NSString * bluetoothCapability
 
NSNumber * gwBTSubDevOtaCap
 
BOOL zigbeeInstallCode
 
NSTimeInterval cloudConnectLastUpdateTime
 
NSTimeInterval localConnectLastUpdateTime
 

Detailed Description

Definition at line 46 of file ThingSmartDeviceOTAModel.h.

Method Documentation

◆ blueConnectivitySupport [1/4]

- (ThingSmartDeviceConnectivityType) blueConnectivitySupport

◆ blueConnectivitySupport [2/4]

- (ThingSmartDeviceConnectivityType) blueConnectivitySupport

◆ blueConnectivitySupport [3/4]

- (ThingSmartDeviceConnectivityType) blueConnectivitySupport

◆ blueConnectivitySupport [4/4]

- (ThingSmartDeviceConnectivityType) blueConnectivitySupport

◆ bluetoothCapabilityOfIndex: [1/4]

- (BOOL) bluetoothCapabilityOfIndex: (NSInteger)  index

◆ bluetoothCapabilityOfIndex: [2/4]

- (BOOL) bluetoothCapabilityOfIndex: (NSInteger)  index

◆ bluetoothCapabilityOfIndex: [3/4]

- (BOOL) bluetoothCapabilityOfIndex: (NSInteger)  index

◆ bluetoothCapabilityOfIndex: [4/4]

- (BOOL) bluetoothCapabilityOfIndex: (NSInteger)  index

◆ deviceCapabilitySupport: [1/4]

- (BOOL) deviceCapabilitySupport: (ThingSmartDeviceCapability)  capability

◆ deviceCapabilitySupport: [2/4]

- (BOOL) deviceCapabilitySupport: (ThingSmartDeviceCapability)  capability

◆ deviceCapabilitySupport: [3/4]

- (BOOL) deviceCapabilitySupport: (ThingSmartDeviceCapability)  capability

◆ deviceCapabilitySupport: [4/4]

- (BOOL) deviceCapabilitySupport: (ThingSmartDeviceCapability)  capability

◆ isGatewaySubDevOTASupported: [1/4]

- (BOOL) isGatewaySubDevOTASupported: (ThingSmartDeviceModelType type

if the current gateway supports sub-device upgrade, return YES.

  • Parameter type: Only support ThingSmartDeviceModelTypeBle and ThingSmartDeviceModelTypeSIGMeshSubDev

◆ isGatewaySubDevOTASupported: [2/4]

- (BOOL) isGatewaySubDevOTASupported: (ThingSmartDeviceModelType type

if the current gateway supports sub-device upgrade, return YES.

  • Parameter type: Only support ThingSmartDeviceModelTypeBle and ThingSmartDeviceModelTypeSIGMeshSubDev

◆ isGatewaySubDevOTASupported: [3/4]

- (BOOL) isGatewaySubDevOTASupported: (ThingSmartDeviceModelType type

if the current gateway supports sub-device upgrade, return YES.

  • Parameter type: Only support ThingSmartDeviceModelTypeBle and ThingSmartDeviceModelTypeSIGMeshSubDev

◆ isGatewaySubDevOTASupported: [4/4]

- (BOOL) isGatewaySubDevOTASupported: (ThingSmartDeviceModelType type

if the current gateway supports sub-device upgrade, return YES.

  • Parameter type: Only support ThingSmartDeviceModelTypeBle and ThingSmartDeviceModelTypeSIGMeshSubDev

Property Documentation

◆ beaconCategory

- (NSString *) beaconCategory
readwritenonatomicstrong

Definition at line 55 of file ThingSmartDeviceOTAModel.h.

◆ beaconKey

- (NSString *) beaconKey
readwritenonatomicstrong

Definition at line 57 of file ThingSmartDeviceOTAModel.h.

◆ bluetoothCapability

- (NSString *) bluetoothCapability
readwritenonatomicstrong

Definition at line 59 of file ThingSmartDeviceOTAModel.h.

◆ cloudConnectLastUpdateTime

- (NSTimeInterval) cloudConnectLastUpdateTime
readwritenonatomicassign

Definition at line 66 of file ThingSmartDeviceOTAModel.h.

◆ devId

- (NSString *) devId
readwritenonatomicstrong

The device ID.

Definition at line 49 of file ThingSmartDeviceOTAModel.h.

◆ gwBTSubDevOtaCap

- (NSNumber *) gwBTSubDevOtaCap
readwritenonatomicstrong

Definition at line 62 of file ThingSmartDeviceOTAModel.h.

◆ localConnectLastUpdateTime

- (NSTimeInterval) localConnectLastUpdateTime
readwritenonatomicassign

Definition at line 67 of file ThingSmartDeviceOTAModel.h.

◆ otaUpgradeStatus

- (ThingSmartDeviceOTAModelUpgradeStatus) otaUpgradeStatus
readwritenonatomicassign

The status of device updates.

Definition at line 52 of file ThingSmartDeviceOTAModel.h.

◆ zigbeeInstallCode

- (BOOL) zigbeeInstallCode
readwritenonatomicassign

Definition at line 64 of file ThingSmartDeviceOTAModel.h.


The documentation for this class was generated from the following files: