Tuya iOS Smart Life App SDK 5.15.0
ThingSmartDeviceModel Class Reference

The information about the device. More...

#import <ThingSmartDeviceModel.h>

Inheritance diagram for ThingSmartDeviceModel:

Instance Methods

(NSString *switchDp) - __deprecated_msg
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMap
 creates a dictionary containing entries constructed from self.switchDps and self.dps More...
 
(BOOL) - switchDpsValue
 return or operation on all values from self.switchDpsMap More...
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMapFromDps:
 
(BOOL) - switchDpsValueFromDps:
 
(BOOL upgrading) - __deprecated_msg
 
(BOOL) - attributeIsSupport:
 
(BOOL) - capabilityIsSupport:
 
(BOOL) - devAttributeIsSupport:
 
(BOOL) - baseAttributeIsSupport:
 
(BOOL) - protocolAttributeIsSupport:
 
(BOOL) - isLoginMesh
 
(BOOL) - isSupportThingModelDevice
 The device support thing model. More...
 
(BOOL) - isSupportMatter
 The device support matter protocol. More...
 
(BOOL) - isThingWIFIMatterDevice
 The device is thing.BLE & WIFI matter device. More...
 
(BOOL) - isSupportProxyAndRelay
 
(ThingSmartUIPanelModel *) - uiPanelModel
 
(NSString *switchDp) - __deprecated_msg
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMap
 creates a dictionary containing entries constructed from self.switchDps and self.dps More...
 
(BOOL) - switchDpsValue
 return or operation on all values from self.switchDpsMap More...
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMapFromDps:
 
(BOOL) - switchDpsValueFromDps:
 
(BOOL upgrading) - __deprecated_msg
 
(BOOL) - attributeIsSupport:
 
(BOOL) - capabilityIsSupport:
 
(BOOL) - devAttributeIsSupport:
 
(BOOL) - baseAttributeIsSupport:
 
(BOOL) - protocolAttributeIsSupport:
 
(BOOL) - isLoginMesh
 
(BOOL) - isSupportThingModelDevice
 The device support thing model. More...
 
(BOOL) - isSupportMatter
 The device support matter protocol. More...
 
(BOOL) - isThingWIFIMatterDevice
 The device is thing.BLE & WIFI matter device. More...
 
(BOOL) - isSupportProxyAndRelay
 
(ThingSmartUIPanelModel *) - uiPanelModel
 
(NSString *switchDp) - __deprecated_msg
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMap
 creates a dictionary containing entries constructed from self.switchDps and self.dps More...
 
(BOOL) - switchDpsValue
 return or operation on all values from self.switchDpsMap More...
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMapFromDps:
 
(BOOL) - switchDpsValueFromDps:
 
(BOOL upgrading) - __deprecated_msg
 
(BOOL) - attributeIsSupport:
 
(BOOL) - capabilityIsSupport:
 
(BOOL) - devAttributeIsSupport:
 
(BOOL) - baseAttributeIsSupport:
 
(BOOL) - protocolAttributeIsSupport:
 
(BOOL) - isLoginMesh
 
(BOOL) - isSupportThingModelDevice
 The device support thing model. More...
 
(BOOL) - isSupportMatter
 The device support matter protocol. More...
 
(BOOL) - isThingWIFIMatterDevice
 The device is thing.BLE & WIFI matter device. More...
 
(BOOL) - isSupportProxyAndRelay
 
(ThingSmartUIPanelModel *) - uiPanelModel
 
(NSString *switchDp) - __deprecated_msg
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMap
 creates a dictionary containing entries constructed from self.switchDps and self.dps More...
 
(BOOL) - switchDpsValue
 return or operation on all values from self.switchDpsMap More...
 
(NSDictionary< NSString *, NSNumber * > *) - switchDpsMapFromDps:
 
(BOOL) - switchDpsValueFromDps:
 
(BOOL upgrading) - __deprecated_msg
 
(BOOL) - attributeIsSupport:
 
(BOOL) - capabilityIsSupport:
 
(BOOL) - devAttributeIsSupport:
 
(BOOL) - baseAttributeIsSupport:
 
(BOOL) - protocolAttributeIsSupport:
 
(BOOL) - isLoginMesh
 
(BOOL) - isSupportThingModelDevice
 The device support thing model. More...
 
(BOOL) - isSupportMatter
 The device support matter protocol. More...
 
(BOOL) - isThingWIFIMatterDevice
 The device is thing.BLE & WIFI matter device. More...
 
(BOOL) - isSupportProxyAndRelay
 
(ThingSmartUIPanelModel *) - uiPanelModel
 
(BOOL) - isAssociateWithBluetooth
 
(BOOL) - isAssociateWithBluetooth
 
(BOOL) - isAssociateWithBluetooth
 
(BOOL) - isAssociateWithBluetooth
 
(void) - addToHome:
 
(void) - addToHome:
 
(void) - addToHome:
 
(void) - addToHome:
 
(void) - updateLocalDeviceConfigWithDevId:success:failure:
 
(void) - updateLocalDeviceConfigWithDevId:success:failure:
 
(void) - updateLocalDeviceConfigWithDevId:success:failure:
 
(void) - updateLocalDeviceConfigWithDevId:success:failure:
 
(BOOL) - isIPCDevice
 Whether device is an IPC. More...
 
(BOOL) - isIPCDevice
 Whether device is an IPC. More...
 
(BOOL) - isLowPowerDevice
 Whether device is a low power device. More...
 
(BOOL) - isLowPowerDevice
 Whether device is a low power device. More...
 
(NSInteger) - p2pType
 p2p type of the ipc device More...
 
(NSInteger) - p2pType
 p2p type of the ipc device More...
 
(NSArray *) - rangeForEnumDpName:
 
(NSArray *) - rangeForEnumDpName:
 
(ThingSmartSchemaModel *) - schemaModelForDpName:
 
(ThingSmartSchemaModel *) - schemaModelForDpName:
 
(NSArray *) - rangeForEnumDpCode:
 
(NSArray *) - rangeForEnumDpCode:
 
(ThingSmartSchemaModel *) - schemaModelForDpCode:
 
(ThingSmartSchemaModel *) - schemaModelForDpCode:
 
(NSString *) - dpCodeWithDpId:
 
(NSString *) - dpCodeWithDpId:
 
(NSString *) - dpIdWithDpCode:
 
(NSString *) - dpIdWithDpCode:
 
(BOOL) - isSupportMultiPlay
 Whether device is support multi play. More...
 
(BOOL) - isSupportMultiPlay
 Whether device is support multi play. More...
 
(NSDictionary *) - cameraDeviceFeatures
 
(NSDictionary *) - cameraDeviceFeatures
 
(BOOL) - isSupportDirectly
 
(BOOL) - isSupportDirectly
 
(NSString *) - directlyDeviceSecKey
 
(NSString *) - directlyDeviceSecKey
 
(ThingSmartBLELocalOnlineType) - deviceOnlineType
 Query the online type of the device. More...
 
(ThingSmartBLELocalOnlineType) - deviceOnlineType
 Query the online type of the device. More...
 
(BOOL) - isSupportMasterDevice
 
(BOOL) - isSupportMasterDevice
 
(BOOL) - isExitCachedDpValue:
 
(BOOL) - isExitCachedDpValue:
 
(BOOL) - canBeBindSubDevice
 符合绑定条件的子设备 More...
 
(BOOL) - canBeBindSubDevice
 符合绑定条件的子设备 More...
 
(BOOL) - canBeBindGateway
 符合绑定条件的网关 More...
 
(BOOL) - canBeBindGateway
 符合绑定条件的网关 More...
 
(BOOL) - canBeBind
 网关和子设备都可能可以进行绑定,但并不表示当前设备是高性能的 More...
 
(BOOL) - canBeBind
 网关和子设备都可能可以进行绑定,但并不表示当前设备是高性能的 More...
 
(ThingSmartDeviceModelGatewayBindType) - gatewayBindType
 确定子设备的绑定类型 More...
 
(ThingSmartDeviceModelGatewayBindType) - gatewayBindType
 确定子设备的绑定类型 More...
 
((deprecated("deprecated, use thingsdk_associatedHomeKitDeviceForHomeManager:") - __attribute__
 
((deprecated("deprecated, use thingsdk_associatedHomeKitDeviceForHomeManager:") - __attribute__
 
(nullable ThingSmartHomeKitDevice *) - thingsdk_associatedHomeKitDeviceForHomeManager:
 
(nullable ThingSmartHomeKitDevice *) - thingsdk_associatedHomeKitDeviceForHomeManager:
 
(nullable ThingSmartSchemaModel *) - tsod_schemaMWithCode:
 
(nullable ThingSmartSchemaModel *) - tsod_schemaMWithCode:
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 

Class Methods

(instancetype) + modelWithDictionary:
 
(instancetype) + modelWithDictionary:
 
(instancetype) + modelWithDictionary:
 
(instancetype) + modelWithDictionary:
 
(ThingSmartDeviceModel *) + deviceModelWithDeviceID:
 
(ThingSmartDeviceModel *) + deviceModelWithDeviceID:
 
(ThingSmartDeviceModel *) + deviceModelWithDeviceID:
 
(ThingSmartDeviceModel *) + deviceModelWithDeviceID:
 

Properties

NSString * devId
 The ID of the device. More...
 
NSString * name
 The name of the device. More...
 
NSString * iconUrl
 The URL of the device icon. More...
 
NSInteger ability
 The capability of the device. More...
 
BOOL isOnline
 Specifies whether the device is online. More...
 
BOOL isCloudOnline
 Specifies whether the device is connected to the cloud. More...
 
BOOL isYuOnline
 Specifies whether the device is connected to the yu net. More...
 
ThingSmartDeviceOnlineType onlineType
 
ThingSmartCommunicationcommunication
 The communication information, the information about the gateway sub-devices and mesh-like device communication nodes, the communication priority, and the device connectivity. More...
 
BOOL isShare
 Specifies whether the device is shared. More...
 
NSString * verSw
 
NSDictionary * dps
 The DP of the device. More...
 
NSDictionary * dpsTime
 The DP execution time of the device. More...
 
NSString * productId
 The product ID. More...
 
NSString * productVer
 The product version. More...
 
BOOL supportGroup
 Specifies whether to support groups. More...
 
BOOL supportSGroup
 Specifies whether to support standard groups. More...
 
NSString * gwType
 The type of gateway. More...
 
double pv
 The protocol version of the gateway. More...
 
double bv
 The hardware baseline version. More...
 
NSString * latitude
 The latitude of the device. More...
 
NSString * longitude
 The longitude of the device. More...
 
NSDictionary * dpName
 The DP name. More...
 
NSString * schema
 The schema of the device. More...
 
NSString * schemaExt
 
NSArray< ThingSmartSchemaModel * > * schemaArray
 
NSString * runtimeEnv
 
NSUInteger attribute
 The attribute. More...
 
NSString * localKey
 
NSString * secKey
 
NSString * uuid
 
NSString * mac
 The media access control address. More...
 
NSUInteger capability
 The network communication capability. Valid values: 0: Wi-Fi. 1: wired. 2: GPRS. 3: NB-IoT. 10: Bluetooth. 11: Bluetooth mesh. 12: Zigbee. More...
 
NSString * timezoneId
 
long long homeId
 
long long roomId
 
long long sharedTime
 
NSInteger displayOrder
 The order. More...
 
NSInteger homeDisplayOrder
 
NSString * ip
 
NSDictionary * skills
 The skills. More...
 
NSString * cloudId
 
NSString * cadv
 
BOOL rnFind
 
long long i18nTime
 
NSString * ui
 
NSString * uiId
 
NSString * uiVersion
 
NSString * uiPhase
 
NSString * uiType
 
NSString * uiName
 
NSString * uiBizClientId
 
NSDictionary * uiConfig
 
NSDictionary * panelConfig
 
NSString * category
 
NSString * categoryCode
 
NSArrayquickOpDps
 
NSArraydisplayDps
 
NSArrayfaultDps
 
NSDictionary * displayMsgs
 
NSArray< NSNumber * > * switchDps
 
NSString * content
 
NSString * fileSize
 
NSString * fileMd5
 
NSInteger rnBizPack
 
NSArray< ThingSmartUIComponent * > * uiComponentList
 
BOOL isNewFirmware
 
NSTimeInterval activeTime
 
long errorCode
 
ThingSmartDeviceModelType deviceType
 
NSDictionary * originJson
 
ThingSmartDeviceModuleModelmoduleMap
 
NSUInteger bizAttribute
 
NSDictionary * meta
 
NSString * nodeId
 The node ID. More...
 
NSString * parentId
 
NSString * meshId
 
NSString * vendorInfo
 The information about Bluetooth mesh. More...
 
BOOL isMeshBleOnline
 
NSString * pcc
 
NSUInteger devAttribute
 Mark: 0: 1<<0 auto. 3: 1<<3 route. More...
 
NSString * devKey
 The Bluetooth mesh device key. More...
 
BOOL standard
 Specifies whether to standardize the schema. More...
 
ThingSmartStandSchemaModelstandSchemaModel
 
NSDictionary * dpCodes
 The DP codes. More...
 
NSTimeInterval dpMaxTime
 The last DP update time. More...
 
BOOL isVirtualDevice
 Specifies whether the device is a virtual device. More...
 
NSUInteger baseAttribute
 
NSInteger protocolAttribute
 
BOOL supportAuto
 Specifies whether automatic updates are supported. Currently, NB-IoT and Bluetooth mesh devices do not support automatic updates. More...
 
NSArrayotaUpgradeModes
 
NSDictionary * configMetas
 The Bluetooth connection configuration. More...
 
long long matterNodeId
 The MatterNodeId.(Attention:when home changed,nodeId changed) More...
 
NSInteger accessType
 The device access type: 0-Tuya, 1-Matter, 2-ThingLink. More...
 
ThingSmartThingModelthingModel
 
BOOL isOriginMatter
 
BOOL matterControlEnable
 Can be controlled with matter protocol. Default is YES. More...
 
BOOL virtualExperience
 The device experience. More...
 
NSData * meshCategoryExt
 mesh categroyExt More...
 
BOOL isProxyOpen
 
BOOL isRelayOpen
 
BOOL isLocalDevice
 是否是本地直连设备 More...
 
NSString * ssidName
 本地直连设备 Wi-Fi 名 More...
 
InductiveUnlockType tsod_inductiveUnlockType
 inductive unlock type, only DP Detection More...
 
NSDictionary * offline_dps
 
BOOL isSupportOfflineDp
 

Detailed Description

The information about the device.

Definition at line 97 of file ThingSmartDeviceModel.h.

Method Documentation

◆ __attribute__ [1/2]

- ((deprecated("deprecated, use) thingsdk_associatedHomeKitDeviceForHomeManager:

Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.

Returns
If The device has been added to HomeKit and is reachable, will return associated ThingSmartHomeKitDevice. If not found , will reutrn nil.
Note
When your device has been added to HomeKit, you can invoke [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"com.apple.home://"] options:@{} completionHandler:nil];, after user clicked the Add To HomeKit button in The Device Detail page.

Provided by category ThingSmartDeviceModel(ThingSmartHomeKit).

◆ __attribute__ [2/2]

- ((deprecated("deprecated, use) thingsdk_associatedHomeKitDeviceForHomeManager:

Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.

Returns
If The device has been added to HomeKit and is reachable, will return associated ThingSmartHomeKitDevice. If not found , will reutrn nil.
Note
When your device has been added to HomeKit, you can invoke [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"com.apple.home://"] options:@{} completionHandler:nil];, after user clicked the Add To HomeKit button in The Device Detail page.

Provided by category ThingSmartDeviceModel(ThingSmartHomeKit).

◆ __deprecated_msg [1/8]

- (NSString *switchDp) __deprecated_msg ("Use switchDps instead") 

◆ __deprecated_msg [2/8]

- (NSString *switchDp) __deprecated_msg ("Use switchDps instead") 

◆ __deprecated_msg [3/8]

- (NSString *switchDp) __deprecated_msg ("Use switchDps instead") 

◆ __deprecated_msg [4/8]

- (NSString *switchDp) __deprecated_msg ("Use switchDps instead") 

◆ __deprecated_msg [5/8]

- (BOOL upgrading) __deprecated_msg ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") 

◆ __deprecated_msg [6/8]

- (BOOL upgrading) __deprecated_msg ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") 

◆ __deprecated_msg [7/8]

- (BOOL upgrading) __deprecated_msg ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") 

◆ __deprecated_msg [8/8]

- (BOOL upgrading) __deprecated_msg ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") 

◆ addToHome: [1/4]

- (void) addToHome: (long long)  homeId

Provided by category ThingSmartDeviceModel(Home).

◆ addToHome: [2/4]

- (void) addToHome: (long long)  homeId

Provided by category ThingSmartDeviceModel(Home).

◆ addToHome: [3/4]

- (void) addToHome: (long long)  homeId

Provided by category ThingSmartDeviceModel(Home).

◆ addToHome: [4/4]

- (void) addToHome: (long long)  homeId

Provided by category ThingSmartDeviceModel(Home).

◆ attributeIsSupport: [1/4]

- (BOOL) attributeIsSupport: (NSUInteger)  i

◆ attributeIsSupport: [2/4]

- (BOOL) attributeIsSupport: (NSUInteger)  i

◆ attributeIsSupport: [3/4]

- (BOOL) attributeIsSupport: (NSUInteger)  i

◆ attributeIsSupport: [4/4]

- (BOOL) attributeIsSupport: (NSUInteger)  i

◆ baseAttributeIsSupport: [1/4]

- (BOOL) baseAttributeIsSupport: (NSUInteger)  i

◆ baseAttributeIsSupport: [2/4]

- (BOOL) baseAttributeIsSupport: (NSUInteger)  i

◆ baseAttributeIsSupport: [3/4]

- (BOOL) baseAttributeIsSupport: (NSUInteger)  i

◆ baseAttributeIsSupport: [4/4]

- (BOOL) baseAttributeIsSupport: (NSUInteger)  i

◆ cameraDeviceFeatures [1/2]

- (NSDictionary *) cameraDeviceFeatures

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ cameraDeviceFeatures [2/2]

- (NSDictionary *) cameraDeviceFeatures

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ canBeBind [1/2]

- (BOOL) canBeBind

网关和子设备都可能可以进行绑定,但并不表示当前设备是高性能的

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ canBeBind [2/2]

- (BOOL) canBeBind

网关和子设备都可能可以进行绑定,但并不表示当前设备是高性能的

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ canBeBindGateway [1/2]

- (BOOL) canBeBindGateway

符合绑定条件的网关

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ canBeBindGateway [2/2]

- (BOOL) canBeBindGateway

符合绑定条件的网关

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ canBeBindSubDevice [1/2]

- (BOOL) canBeBindSubDevice

符合绑定条件的子设备

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ canBeBindSubDevice [2/2]

- (BOOL) canBeBindSubDevice

符合绑定条件的子设备

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ capabilityIsSupport: [1/4]

- (BOOL) capabilityIsSupport: (NSUInteger)  i

◆ capabilityIsSupport: [2/4]

- (BOOL) capabilityIsSupport: (NSUInteger)  i

◆ capabilityIsSupport: [3/4]

- (BOOL) capabilityIsSupport: (NSUInteger)  i

◆ capabilityIsSupport: [4/4]

- (BOOL) capabilityIsSupport: (NSUInteger)  i

◆ devAttributeIsSupport: [1/4]

- (BOOL) devAttributeIsSupport: (NSUInteger)  i

◆ devAttributeIsSupport: [2/4]

- (BOOL) devAttributeIsSupport: (NSUInteger)  i

◆ devAttributeIsSupport: [3/4]

- (BOOL) devAttributeIsSupport: (NSUInteger)  i

◆ devAttributeIsSupport: [4/4]

- (BOOL) devAttributeIsSupport: (NSUInteger)  i

◆ deviceModelWithDeviceID: [1/4]

+ (ThingSmartDeviceModel *) deviceModelWithDeviceID: (NSString *)  deviceID

根据DeviceID获取当前的DeviceModel

  • Parameter deviceID: DeviceID String类型

Provided by category ThingSmartDeviceModel(Home).

◆ deviceModelWithDeviceID: [2/4]

+ (ThingSmartDeviceModel *) deviceModelWithDeviceID: (NSString *)  deviceID

根据DeviceID获取当前的DeviceModel

  • Parameter deviceID: DeviceID String类型

Provided by category ThingSmartDeviceModel(Home).

◆ deviceModelWithDeviceID: [3/4]

+ (ThingSmartDeviceModel *) deviceModelWithDeviceID: (NSString *)  deviceID

根据DeviceID获取当前的DeviceModel

  • Parameter deviceID: DeviceID String类型

Provided by category ThingSmartDeviceModel(Home).

◆ deviceModelWithDeviceID: [4/4]

+ (ThingSmartDeviceModel *) deviceModelWithDeviceID: (NSString *)  deviceID

根据DeviceID获取当前的DeviceModel

  • Parameter deviceID: DeviceID String类型

Provided by category ThingSmartDeviceModel(Home).

◆ deviceOnlineType [1/2]

- (ThingSmartBLELocalOnlineType) deviceOnlineType

Query the online type of the device.

Provided by category ThingSmartDeviceModel(MasterSlaveInfo).

◆ deviceOnlineType [2/2]

- (ThingSmartBLELocalOnlineType) deviceOnlineType

Query the online type of the device.

Provided by category ThingSmartDeviceModel(MasterSlaveInfo).

◆ directlyDeviceSecKey [1/2]

- (NSString *) directlyDeviceSecKey

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ directlyDeviceSecKey [2/2]

- (NSString *) directlyDeviceSecKey

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ dpCodeWithDpId: [1/2]

- (NSString *) dpCodeWithDpId: (NSString *)  dpId

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ dpCodeWithDpId: [2/2]

- (NSString *) dpCodeWithDpId: (NSString *)  dpId

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ dpIdWithDpCode: [1/2]

- (NSString *) dpIdWithDpCode: (NSString *)  dpCode

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ dpIdWithDpCode: [2/2]

- (NSString *) dpIdWithDpCode: (NSString *)  dpCode

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ gatewayBindType [1/2]

- (ThingSmartDeviceModelGatewayBindType) gatewayBindType

确定子设备的绑定类型

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ gatewayBindType [2/2]

- (ThingSmartDeviceModelGatewayBindType) gatewayBindType

确定子设备的绑定类型

Provided by category ThingSmartDeviceModel(PerformanceGateway).

◆ isAssociateWithBluetooth [1/4]

- (BOOL) isAssociateWithBluetooth

Provided by category ThingSmartDeviceModel(Home).

◆ isAssociateWithBluetooth [2/4]

- (BOOL) isAssociateWithBluetooth

Provided by category ThingSmartDeviceModel(Home).

◆ isAssociateWithBluetooth [3/4]

- (BOOL) isAssociateWithBluetooth

Provided by category ThingSmartDeviceModel(Home).

◆ isAssociateWithBluetooth [4/4]

- (BOOL) isAssociateWithBluetooth

Provided by category ThingSmartDeviceModel(Home).

◆ isExitCachedDpValue: [1/2]

- (BOOL) isExitCachedDpValue: (NSString *)  dpId

◆ isExitCachedDpValue: [2/2]

- (BOOL) isExitCachedDpValue: (NSString *)  dpId

◆ isIPCDevice [1/2]

- (BOOL) isIPCDevice

Whether device is an IPC.

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isIPCDevice [2/2]

- (BOOL) isIPCDevice

Whether device is an IPC.

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isLANAndMQTTVersionSupport [1/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartDeviceModel(VersionSupport).

◆ isLANAndMQTTVersionSupport [2/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartDeviceModel(VersionSupport).

◆ isLANAndMQTTVersionSupport [3/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartDeviceModel(VersionSupport).

◆ isLANAndMQTTVersionSupport [4/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartDeviceModel(VersionSupport).

◆ isLoginMesh [1/4]

- (BOOL) isLoginMesh

◆ isLoginMesh [2/4]

- (BOOL) isLoginMesh

◆ isLoginMesh [3/4]

- (BOOL) isLoginMesh

◆ isLoginMesh [4/4]

- (BOOL) isLoginMesh

◆ isLowPowerDevice [1/2]

- (BOOL) isLowPowerDevice

Whether device is a low power device.

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isLowPowerDevice [2/2]

- (BOOL) isLowPowerDevice

Whether device is a low power device.

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isSupportDirectly [1/2]

- (BOOL) isSupportDirectly

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isSupportDirectly [2/2]

- (BOOL) isSupportDirectly

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isSupportMasterDevice [1/2]

- (BOOL) isSupportMasterDevice

◆ isSupportMasterDevice [2/2]

- (BOOL) isSupportMasterDevice

◆ isSupportMatter [1/4]

- (BOOL) isSupportMatter

The device support matter protocol.

◆ isSupportMatter [2/4]

- (BOOL) isSupportMatter

The device support matter protocol.

◆ isSupportMatter [3/4]

- (BOOL) isSupportMatter

The device support matter protocol.

◆ isSupportMatter [4/4]

- (BOOL) isSupportMatter

The device support matter protocol.

◆ isSupportMultiPlay [1/2]

- (BOOL) isSupportMultiPlay

Whether device is support multi play.

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isSupportMultiPlay [2/2]

- (BOOL) isSupportMultiPlay

Whether device is support multi play.

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ isSupportProxyAndRelay [1/4]

- (BOOL) isSupportProxyAndRelay

◆ isSupportProxyAndRelay [2/4]

- (BOOL) isSupportProxyAndRelay

◆ isSupportProxyAndRelay [3/4]

- (BOOL) isSupportProxyAndRelay

◆ isSupportProxyAndRelay [4/4]

- (BOOL) isSupportProxyAndRelay

◆ isSupportThingModelDevice [1/4]

- (BOOL) isSupportThingModelDevice

The device support thing model.

◆ isSupportThingModelDevice [2/4]

- (BOOL) isSupportThingModelDevice

The device support thing model.

◆ isSupportThingModelDevice [3/4]

- (BOOL) isSupportThingModelDevice

The device support thing model.

◆ isSupportThingModelDevice [4/4]

- (BOOL) isSupportThingModelDevice

The device support thing model.

◆ isThingWIFIMatterDevice [1/4]

- (BOOL) isThingWIFIMatterDevice

The device is thing.BLE & WIFI matter device.

◆ isThingWIFIMatterDevice [2/4]

- (BOOL) isThingWIFIMatterDevice

The device is thing.BLE & WIFI matter device.

◆ isThingWIFIMatterDevice [3/4]

- (BOOL) isThingWIFIMatterDevice

The device is thing.BLE & WIFI matter device.

◆ isThingWIFIMatterDevice [4/4]

- (BOOL) isThingWIFIMatterDevice

The device is thing.BLE & WIFI matter device.

◆ modelWithDictionary: [1/4]

+ (instancetype) modelWithDictionary: (NSDictionary *)  dict

Update the value of a part properties of DeviceModel This method will change the value of the originJson

◆ modelWithDictionary: [2/4]

+ (instancetype) modelWithDictionary: (NSDictionary *)  dict

Update the value of a part properties of DeviceModel This method will change the value of the originJson

◆ modelWithDictionary: [3/4]

+ (instancetype) modelWithDictionary: (NSDictionary *)  dict

Update the value of a part properties of DeviceModel This method will change the value of the originJson

◆ modelWithDictionary: [4/4]

+ (instancetype) modelWithDictionary: (NSDictionary *)  dict

Update the value of a part properties of DeviceModel This method will change the value of the originJson

◆ p2pType [1/2]

- (NSInteger) p2pType

p2p type of the ipc device

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ p2pType [2/2]

- (NSInteger) p2pType

p2p type of the ipc device

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ protocolAttributeIsSupport: [1/4]

- (BOOL) protocolAttributeIsSupport: (NSUInteger)  i

◆ protocolAttributeIsSupport: [2/4]

- (BOOL) protocolAttributeIsSupport: (NSUInteger)  i

◆ protocolAttributeIsSupport: [3/4]

- (BOOL) protocolAttributeIsSupport: (NSUInteger)  i

◆ protocolAttributeIsSupport: [4/4]

- (BOOL) protocolAttributeIsSupport: (NSUInteger)  i

◆ rangeForEnumDpCode: [1/2]

- (NSArray *) rangeForEnumDpCode: (ThingSmartCameraDPKey)  dpCode

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ rangeForEnumDpCode: [2/2]

- (NSArray *) rangeForEnumDpCode: (ThingSmartCameraDPKey)  dpCode

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ rangeForEnumDpName: [1/2]

- (NSArray *) rangeForEnumDpName: (ThingSmartCameraDPKey)  dpName

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ rangeForEnumDpName: [2/2]

- (NSArray *) rangeForEnumDpName: (ThingSmartCameraDPKey)  dpName

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ schemaModelForDpCode: [1/2]

- (ThingSmartSchemaModel *) schemaModelForDpCode: (ThingSmartCameraDPKey)  dpCode

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ schemaModelForDpCode: [2/2]

- (ThingSmartSchemaModel *) schemaModelForDpCode: (ThingSmartCameraDPKey)  dpCode

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ schemaModelForDpName: [1/2]

- (ThingSmartSchemaModel *) schemaModelForDpName: (ThingSmartCameraDPKey)  dpName

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ schemaModelForDpName: [2/2]

- (ThingSmartSchemaModel *) schemaModelForDpName: (ThingSmartCameraDPKey)  dpName

Provided by category ThingSmartDeviceModel(IPCSDK).

◆ switchDpsMap [1/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMap

creates a dictionary containing entries constructed from self.switchDps and self.dps

◆ switchDpsMap [2/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMap

creates a dictionary containing entries constructed from self.switchDps and self.dps

◆ switchDpsMap [3/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMap

creates a dictionary containing entries constructed from self.switchDps and self.dps

◆ switchDpsMap [4/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMap

creates a dictionary containing entries constructed from self.switchDps and self.dps

◆ switchDpsMapFromDps: [1/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: (NSDictionary< NSString *, id > *)  dps

creates a dictionary containing entries constructed from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsMapFromDps: [2/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: (NSDictionary< NSString *, id > *)  dps

creates a dictionary containing entries constructed from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsMapFromDps: [3/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: (NSDictionary< NSString *, id > *)  dps

creates a dictionary containing entries constructed from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsMapFromDps: [4/4]

- (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: (NSDictionary< NSString *, id > *)  dps

creates a dictionary containing entries constructed from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsValue [1/4]

- (BOOL) switchDpsValue

return or operation on all values from self.switchDpsMap

◆ switchDpsValue [2/4]

- (BOOL) switchDpsValue

return or operation on all values from self.switchDpsMap

◆ switchDpsValue [3/4]

- (BOOL) switchDpsValue

return or operation on all values from self.switchDpsMap

◆ switchDpsValue [4/4]

- (BOOL) switchDpsValue

return or operation on all values from self.switchDpsMap

◆ switchDpsValueFromDps: [1/4]

- (BOOL) switchDpsValueFromDps: (NSDictionary< NSString *, id > *)  dps

return or operation on all values from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsValueFromDps: [2/4]

- (BOOL) switchDpsValueFromDps: (NSDictionary< NSString *, id > *)  dps

return or operation on all values from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsValueFromDps: [3/4]

- (BOOL) switchDpsValueFromDps: (NSDictionary< NSString *, id > *)  dps

return or operation on all values from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ switchDpsValueFromDps: [4/4]

- (BOOL) switchDpsValueFromDps: (NSDictionary< NSString *, id > *)  dps

return or operation on all values from self.switchDps and dps

Parameters
dpsthe dps which contains the dp value

◆ thingsdk_associatedHomeKitDeviceForHomeManager: [1/2]

- (nullable ThingSmartHomeKitDevice *) thingsdk_associatedHomeKitDeviceForHomeManager: (HMHomeManager *)  homeManager

Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.

Returns
If The device has been added to HomeKit and is reachable, will return associated ThingSmartHomeKitDevice. If not found , will reutrn nil.
Note
When your device has been added to HomeKit, you can invoke [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"com.apple.home://"] options:@{} completionHandler:nil];, after user clicked the Add To HomeKit button in The Device Detail page.

Provided by category ThingSmartDeviceModel(ThingSmartHomeKit).

◆ thingsdk_associatedHomeKitDeviceForHomeManager: [2/2]

- (nullable ThingSmartHomeKitDevice *) thingsdk_associatedHomeKitDeviceForHomeManager: (HMHomeManager *)  homeManager

Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.

Returns
If The device has been added to HomeKit and is reachable, will return associated ThingSmartHomeKitDevice. If not found , will reutrn nil.
Note
When your device has been added to HomeKit, you can invoke [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"com.apple.home://"] options:@{} completionHandler:nil];, after user clicked the Add To HomeKit button in The Device Detail page.

Provided by category ThingSmartDeviceModel(ThingSmartHomeKit).

◆ tsod_schemaMWithCode: [1/2]

- (nullable ThingSmartSchemaModel *) tsod_schemaMWithCode: (NSString *)  code

get schema model with code

Parameters
codeDP code

Provided by category ThingSmartDeviceModel(ThingSmartOutdoor).

◆ tsod_schemaMWithCode: [2/2]

- (nullable ThingSmartSchemaModel *) tsod_schemaMWithCode: (NSString *)  code

get schema model with code

Parameters
codeDP code

Provided by category ThingSmartDeviceModel(ThingSmartOutdoor).

◆ uiPanelModel [1/4]

- (ThingSmartUIPanelModel *) uiPanelModel

◆ uiPanelModel [2/4]

- (ThingSmartUIPanelModel *) uiPanelModel

◆ uiPanelModel [3/4]

- (ThingSmartUIPanelModel *) uiPanelModel

◆ uiPanelModel [4/4]

- (ThingSmartUIPanelModel *) uiPanelModel

◆ updateLocalDeviceConfigWithDevId:success:failure: [1/4]

- (void) updateLocalDeviceConfigWithDevId: (NSString *)  devId
success: (ThingSuccessDict success
failure: (ThingFailureError failure 

更新本地设备的时区(配网用,如有缓存,直接调用成功回调)

Parameters
devId设备 ID
success更新成功,如果有缓存,直接成功
failure更新失败,云端接口失败

Provided by category ThingSmartDeviceModel(Home).

◆ updateLocalDeviceConfigWithDevId:success:failure: [2/4]

- (void) updateLocalDeviceConfigWithDevId: (NSString *)  devId
success: (ThingSuccessDict success
failure: (ThingFailureError failure 

更新本地设备的时区(配网用,如有缓存,直接调用成功回调)

Parameters
devId设备 ID
success更新成功,如果有缓存,直接成功
failure更新失败,云端接口失败

Provided by category ThingSmartDeviceModel(Home).

◆ updateLocalDeviceConfigWithDevId:success:failure: [3/4]

- (void) updateLocalDeviceConfigWithDevId: (NSString *)  devId
success: (ThingSuccessDict success
failure: (ThingFailureError failure 

更新本地设备的时区(配网用,如有缓存,直接调用成功回调)

Parameters
devId设备 ID
success更新成功,如果有缓存,直接成功
failure更新失败,云端接口失败

Provided by category ThingSmartDeviceModel(Home).

◆ updateLocalDeviceConfigWithDevId:success:failure: [4/4]

- (void) updateLocalDeviceConfigWithDevId: (NSString *)  devId
success: (ThingSuccessDict success
failure: (ThingFailureError failure 

更新本地设备的时区(配网用,如有缓存,直接调用成功回调)

Parameters
devId设备 ID
success更新成功,如果有缓存,直接成功
failure更新失败,云端接口失败

Provided by category ThingSmartDeviceModel(Home).

Property Documentation

◆ ability

- (NSInteger) ability
readwritenonatomicassign

The capability of the device.

Definition at line 109 of file ThingSmartDeviceModel.h.

◆ accessType

- (NSInteger) accessType
readwritenonatomicassign

The device access type: 0-Tuya, 1-Matter, 2-ThingLink.

Definition at line 344 of file ThingSmartDeviceModel.h.

◆ activeTime

- (NSTimeInterval) activeTime
readwritenonatomicassign

Definition at line 259 of file ThingSmartDeviceModel.h.

◆ attribute

- (NSUInteger) attribute
readwritenonatomicassign

The attribute.

Definition at line 184 of file ThingSmartDeviceModel.h.

◆ baseAttribute

- (NSUInteger) baseAttribute
readwritenonatomicassign

Definition at line 320 of file ThingSmartDeviceModel.h.

◆ bizAttribute

- (NSUInteger) bizAttribute
readwritenonatomicassign

Definition at line 269 of file ThingSmartDeviceModel.h.

◆ bv

- (double) bv
readwritenonatomicassign

The hardware baseline version.

Definition at line 165 of file ThingSmartDeviceModel.h.

◆ cadv

- (NSString *) cadv
readwritenonatomicstrong

Definition at line 215 of file ThingSmartDeviceModel.h.

◆ capability

- (NSUInteger) capability
readwritenonatomicassign

The network communication capability. Valid values: 0: Wi-Fi. 1: wired. 2: GPRS. 3: NB-IoT. 10: Bluetooth. 11: Bluetooth mesh. 12: Zigbee.

Definition at line 196 of file ThingSmartDeviceModel.h.

◆ category

- (NSString *) category
readwritenonatomicstrong

Definition at line 230 of file ThingSmartDeviceModel.h.

◆ categoryCode

- (NSString *) categoryCode
readwritenonatomicstrong

Definition at line 231 of file ThingSmartDeviceModel.h.

◆ cloudId

- (NSString *) cloudId
readwritenonatomicstrong

Definition at line 213 of file ThingSmartDeviceModel.h.

◆ communication

- (ThingSmartCommunication *) communication
readwritenonatomicstrong

The communication information, the information about the gateway sub-devices and mesh-like device communication nodes, the communication priority, and the device connectivity.

Definition at line 123 of file ThingSmartDeviceModel.h.

◆ configMetas

- (NSDictionary *) configMetas
readwritenonatomicstrong

The Bluetooth connection configuration.

Definition at line 338 of file ThingSmartDeviceModel.h.

◆ content

- (NSString *) content
readwritenonatomicstrong

Definition at line 239 of file ThingSmartDeviceModel.h.

◆ devAttribute

- (NSUInteger) devAttribute
readwritenonatomicassign

Mark: 0: 1<<0 auto. 3: 1<<3 route.

Definition at line 297 of file ThingSmartDeviceModel.h.

◆ deviceType

- (ThingSmartDeviceModelType) deviceType
readwritenonatomicassign

Definition at line 262 of file ThingSmartDeviceModel.h.

◆ devId

- (NSString *) devId
readwritenonatomicstrong

The ID of the device.

Definition at line 100 of file ThingSmartDeviceModel.h.

◆ devKey

- (NSString *) devKey
readwritenonatomicstrong

The Bluetooth mesh device key.

Definition at line 300 of file ThingSmartDeviceModel.h.

◆ displayDps

- (NSArray *) displayDps
readwritenonatomicstrong

Definition at line 233 of file ThingSmartDeviceModel.h.

◆ displayMsgs

- (NSDictionary *) displayMsgs
readwritenonatomicstrong

Definition at line 235 of file ThingSmartDeviceModel.h.

◆ displayOrder

- (NSInteger) displayOrder
readwritenonatomicassign

The order.

Provided by category ThingSmartDeviceModel(Home).

Definition at line 205 of file ThingSmartDeviceModel.h.

◆ dpCodes

- (NSDictionary *) dpCodes
readnonatomicstrong

The DP codes.

Definition at line 307 of file ThingSmartDeviceModel.h.

◆ dpMaxTime

- (NSTimeInterval) dpMaxTime
readwritenonatomicassign

The last DP update time.

Definition at line 310 of file ThingSmartDeviceModel.h.

◆ dpName

- (NSDictionary *) dpName
readwritenonatomicstrong

The DP name.

Definition at line 174 of file ThingSmartDeviceModel.h.

◆ dps

- (NSDictionary *) dps
readwritenonatomicstrong

The DP of the device.

Definition at line 131 of file ThingSmartDeviceModel.h.

◆ dpsTime

- (NSDictionary *) dpsTime
readwritenonatomicstrong

The DP execution time of the device.

Definition at line 134 of file ThingSmartDeviceModel.h.

◆ errorCode

- (long) errorCode
readwritenonatomicassign

Definition at line 260 of file ThingSmartDeviceModel.h.

◆ faultDps

- (NSArray *) faultDps
readwritenonatomicstrong

Definition at line 234 of file ThingSmartDeviceModel.h.

◆ fileMd5

- (NSString *) fileMd5
readwritenonatomicstrong

Definition at line 241 of file ThingSmartDeviceModel.h.

◆ fileSize

- (NSString *) fileSize
readwritenonatomicstrong

Definition at line 240 of file ThingSmartDeviceModel.h.

◆ gwType

- (NSString *) gwType
readwritenonatomicstrong

The type of gateway.

Definition at line 149 of file ThingSmartDeviceModel.h.

◆ homeDisplayOrder

- (NSInteger) homeDisplayOrder
readwritenonatomicassign

Provided by category ThingSmartDeviceModel(Home).

Definition at line 206 of file ThingSmartDeviceModel.h.

◆ homeId

- (long long) homeId
readwritenonatomicassign

Provided by category ThingSmartDeviceModel(Home).

Definition at line 200 of file ThingSmartDeviceModel.h.

◆ i18nTime

- (long long) i18nTime
readwritenonatomicassign

Definition at line 220 of file ThingSmartDeviceModel.h.

◆ iconUrl

- (NSString *) iconUrl
readwritenonatomicstrong

The URL of the device icon.

Definition at line 106 of file ThingSmartDeviceModel.h.

◆ ip

- (NSString *) ip
readwritenonatomicstrong

Definition at line 208 of file ThingSmartDeviceModel.h.

◆ isCloudOnline

- (BOOL) isCloudOnline
readwritenonatomicassign

Specifies whether the device is connected to the cloud.

Definition at line 115 of file ThingSmartDeviceModel.h.

◆ isLocalDevice

- (BOOL) isLocalDevice
readnonatomicassign

是否是本地直连设备

Provided by category ThingSmartDeviceModel(Home).

Definition at line 21 of file ThingSmartDeviceModel+Home.h.

◆ isMeshBleOnline

- (BOOL) isMeshBleOnline
readwritenonatomicassign

Definition at line 291 of file ThingSmartDeviceModel.h.

◆ isNewFirmware

- (BOOL) isNewFirmware
readwritenonatomicassign

Definition at line 258 of file ThingSmartDeviceModel.h.

◆ isOnline

- (BOOL) isOnline
readwritenonatomicassign

Specifies whether the device is online.

Definition at line 112 of file ThingSmartDeviceModel.h.

◆ isOriginMatter

- (BOOL) isOriginMatter
readnonatomicassign

Definition at line 350 of file ThingSmartDeviceModel.h.

◆ isProxyOpen

- (BOOL) isProxyOpen
readwritenonatomicassign

Definition at line 361 of file ThingSmartDeviceModel.h.

◆ isRelayOpen

- (BOOL) isRelayOpen
readwritenonatomicassign

Definition at line 363 of file ThingSmartDeviceModel.h.

◆ isShare

- (BOOL) isShare
readwritenonatomicassign

Specifies whether the device is shared.

Definition at line 126 of file ThingSmartDeviceModel.h.

◆ isSupportOfflineDp

- (BOOL) isSupportOfflineDp
readnonatomicassign

Provided by category ThingSmartDeviceModel(offlineSupport).

Definition at line 14 of file ThingSmartDeviceModel+offlineSupport.h.

◆ isVirtualDevice

- (BOOL) isVirtualDevice
readwritenonatomicassign

Specifies whether the device is a virtual device.

Definition at line 313 of file ThingSmartDeviceModel.h.

◆ isYuOnline

- (BOOL) isYuOnline
readwritenonatomicassign

Specifies whether the device is connected to the yu net.

Definition at line 118 of file ThingSmartDeviceModel.h.

◆ latitude

- (NSString *) latitude
readwritenonatomicstrong

The latitude of the device.

Definition at line 168 of file ThingSmartDeviceModel.h.

◆ localKey

- (NSString *) localKey
readwritenonatomicstrong

Definition at line 186 of file ThingSmartDeviceModel.h.

◆ longitude

- (NSString *) longitude
readwritenonatomicstrong

The longitude of the device.

Definition at line 171 of file ThingSmartDeviceModel.h.

◆ mac

- (NSString *) mac
readwritenonatomicstrong

The media access control address.

Definition at line 193 of file ThingSmartDeviceModel.h.

◆ matterControlEnable

- (BOOL) matterControlEnable
readwritenonatomicassign

Can be controlled with matter protocol. Default is YES.

Definition at line 353 of file ThingSmartDeviceModel.h.

◆ matterNodeId

- (long long) matterNodeId
readwritenonatomicassign

The MatterNodeId.(Attention:when home changed,nodeId changed)

Definition at line 341 of file ThingSmartDeviceModel.h.

◆ meshCategoryExt

- (NSData *) meshCategoryExt
readwritenonatomicstrong

mesh categroyExt

Definition at line 359 of file ThingSmartDeviceModel.h.

◆ meshId

- (NSString *) meshId
readwritenonatomicstrong

Definition at line 287 of file ThingSmartDeviceModel.h.

◆ meta

- (NSDictionary *) meta
readwritenonatomicstrong

Definition at line 271 of file ThingSmartDeviceModel.h.

◆ moduleMap

- (ThingSmartDeviceModuleModel *) moduleMap
readwritenonatomicstrong

Definition at line 267 of file ThingSmartDeviceModel.h.

◆ name

- (NSString *) name
readwritenonatomicstrong

The name of the device.

Definition at line 103 of file ThingSmartDeviceModel.h.

◆ nodeId

- (NSString *) nodeId
readwritenonatomicstrong

The node ID.

Definition at line 285 of file ThingSmartDeviceModel.h.

◆ offline_dps

- (NSDictionary *) offline_dps
readnonatomicstrong

Provided by category ThingSmartDeviceModel(offlineSupport).

Definition at line 12 of file ThingSmartDeviceModel+offlineSupport.h.

◆ onlineType

- (ThingSmartDeviceOnlineType) onlineType
readwritenonatomicassign

Definition at line 120 of file ThingSmartDeviceModel.h.

◆ originJson

- (NSDictionary *) originJson
readwritenonatomicstrong

Definition at line 265 of file ThingSmartDeviceModel.h.

◆ otaUpgradeModes

- (NSArray *) otaUpgradeModes
readwritenonatomicstrong

Supports the following over-the-air (OTA) update methods that are listed in descending priority from left to right: 0: Wi-Fi. 1: Bluetooth LE. 2: Bluetooth mesh. 3: NB-IoT.

Definition at line 335 of file ThingSmartDeviceModel.h.

◆ panelConfig

- (NSDictionary *) panelConfig
readwritenonatomicstrong

Definition at line 229 of file ThingSmartDeviceModel.h.

◆ parentId

- (NSString *) parentId
readwritenonatomicstrong

Definition at line 286 of file ThingSmartDeviceModel.h.

◆ pcc

- (NSString *) pcc
readwritenonatomicstrong

Definition at line 292 of file ThingSmartDeviceModel.h.

◆ productId

- (NSString *) productId
readwritenonatomicstrong

The product ID.

Definition at line 137 of file ThingSmartDeviceModel.h.

◆ productVer

- (NSString *) productVer
readwritenonatomicstrong

The product version.

Definition at line 140 of file ThingSmartDeviceModel.h.

◆ protocolAttribute

- (NSInteger) protocolAttribute
readwritenonatomicassign

Definition at line 328 of file ThingSmartDeviceModel.h.

◆ pv

- (double) pv
readwritenonatomicassign

The protocol version of the gateway.

Definition at line 152 of file ThingSmartDeviceModel.h.

◆ quickOpDps

- (NSArray *) quickOpDps
readwritenonatomicstrong

Definition at line 232 of file ThingSmartDeviceModel.h.

◆ rnBizPack

- (NSInteger) rnBizPack
readwritenonatomicassign

Definition at line 242 of file ThingSmartDeviceModel.h.

◆ rnFind

- (BOOL) rnFind
readwritenonatomicassign

Definition at line 219 of file ThingSmartDeviceModel.h.

◆ roomId

- (long long) roomId
readwritenonatomicassign

Provided by category ThingSmartDeviceModel(Home).

Definition at line 201 of file ThingSmartDeviceModel.h.

◆ runtimeEnv

- (NSString *) runtimeEnv
readwritenonatomicstrong

Definition at line 181 of file ThingSmartDeviceModel.h.

◆ schema

- (NSString *) schema
readwritenonatomicstrong

The schema of the device.

Definition at line 177 of file ThingSmartDeviceModel.h.

◆ schemaArray

- (NSArray< ThingSmartSchemaModel * > *) schemaArray
readwritenonatomicstrong

Definition at line 179 of file ThingSmartDeviceModel.h.

◆ schemaExt

- (NSString *) schemaExt
readwritenonatomicstrong

Definition at line 178 of file ThingSmartDeviceModel.h.

◆ secKey

- (NSString *) secKey
readwritenonatomicstrong

Definition at line 188 of file ThingSmartDeviceModel.h.

◆ sharedTime

- (long long) sharedTime
readwritenonatomicassign

Definition at line 202 of file ThingSmartDeviceModel.h.

◆ skills

- (NSDictionary *) skills
readwritenonatomicstrong

The skills.

Definition at line 211 of file ThingSmartDeviceModel.h.

◆ ssidName

- (NSString*) ssidName
readnonatomiccopy

本地直连设备 Wi-Fi 名

Provided by category ThingSmartDeviceModel(Home).

Definition at line 24 of file ThingSmartDeviceModel+Home.h.

◆ standard

- (BOOL) standard
readwritenonatomicassign

Specifies whether to standardize the schema.

Definition at line 303 of file ThingSmartDeviceModel.h.

◆ standSchemaModel

- (ThingSmartStandSchemaModel *) standSchemaModel
readwritenonatomicstrong

Definition at line 304 of file ThingSmartDeviceModel.h.

◆ supportAuto

- (BOOL) supportAuto
readwritenonatomicassign

Specifies whether automatic updates are supported. Currently, NB-IoT and Bluetooth mesh devices do not support automatic updates.

Definition at line 331 of file ThingSmartDeviceModel.h.

◆ supportGroup

- (BOOL) supportGroup
readwritenonatomicassign

Specifies whether to support groups.

Definition at line 143 of file ThingSmartDeviceModel.h.

◆ supportSGroup

- (BOOL) supportSGroup
readwritenonatomicassign

Specifies whether to support standard groups.

Definition at line 146 of file ThingSmartDeviceModel.h.

◆ switchDps

- (NSArray< NSNumber * > *) switchDps
readwritenonatomicstrong

Definition at line 237 of file ThingSmartDeviceModel.h.

◆ thingModel

- (ThingSmartThingModel *) thingModel
readwritenonatomicstrong

The device's thing model. ( for the device which accessType == 2) Notice: If it return nil, you can get it from - getThingModelWithSuccess:failure: or + getThingModelWithProductId:productVersion:success:failure:.

Definition at line 348 of file ThingSmartDeviceModel.h.

◆ timezoneId

- (NSString *) timezoneId
readwritenonatomicstrong

Definition at line 198 of file ThingSmartDeviceModel.h.

◆ tsod_inductiveUnlockType

- (InductiveUnlockType) tsod_inductiveUnlockType
readnonatomicassign

inductive unlock type, only DP Detection

Provided by category ThingSmartDeviceModel(InductiveUnlock).

Definition at line 21 of file ThingSmartDeviceModel+InductiveUnlock.h.

◆ ui

- (NSString *) ui
readwritenonatomicstrong

Definition at line 221 of file ThingSmartDeviceModel.h.

◆ uiBizClientId

- (NSString *) uiBizClientId
readwritenonatomicstrong

Definition at line 227 of file ThingSmartDeviceModel.h.

◆ uiComponentList

- (NSArray< ThingSmartUIComponent * > *) uiComponentList
readwritenonatomicstrong

Definition at line 243 of file ThingSmartDeviceModel.h.

◆ uiConfig

- (NSDictionary *) uiConfig
readwritenonatomicstrong

Definition at line 228 of file ThingSmartDeviceModel.h.

◆ uiId

- (NSString *) uiId
readwritenonatomicstrong

Definition at line 222 of file ThingSmartDeviceModel.h.

◆ uiName

- (NSString *) uiName
readwritenonatomicstrong

Definition at line 226 of file ThingSmartDeviceModel.h.

◆ uiPhase

- (NSString *) uiPhase
readwritenonatomicstrong

Definition at line 224 of file ThingSmartDeviceModel.h.

◆ uiType

- (NSString *) uiType
readwritenonatomicstrong

Definition at line 225 of file ThingSmartDeviceModel.h.

◆ uiVersion

- (NSString *) uiVersion
readwritenonatomicstrong

Definition at line 223 of file ThingSmartDeviceModel.h.

◆ uuid

- (NSString *) uuid
readwritenonatomicstrong

Definition at line 190 of file ThingSmartDeviceModel.h.

◆ vendorInfo

- (NSString *) vendorInfo
readwritenonatomicstrong

The information about Bluetooth mesh.

Definition at line 290 of file ThingSmartDeviceModel.h.

◆ verSw

- (NSString *) verSw
readwritenonatomicstrong

Definition at line 128 of file ThingSmartDeviceModel.h.

◆ virtualExperience

- (BOOL) virtualExperience
readwritenonatomicassign

The device experience.

Definition at line 356 of file ThingSmartDeviceModel.h.


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