![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
The information about the device. More...
#import <ThingSmartDeviceModel.h>
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 |
| ThingSmartCommunication * | communication |
| 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 |
| NSArray * | quickOpDps |
| NSArray * | displayDps |
| NSArray * | faultDps |
| 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 |
| ThingSmartDeviceModuleModel * | moduleMap |
| 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... | |
| ThingSmartStandSchemaModel * | standSchemaModel |
| 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... | |
| NSArray * | otaUpgradeModes |
| 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... | |
| ThingSmartThingModel * | thingModel |
| 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 |
The information about the device.
Definition at line 97 of file ThingSmartDeviceModel.h.
| - ((deprecated("deprecated, use) thingsdk_associatedHomeKitDeviceForHomeManager: |
Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.
[[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("deprecated, use) thingsdk_associatedHomeKitDeviceForHomeManager: |
Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.
[[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).
| - (NSString *switchDp) __deprecated_msg | ("Use switchDps instead") |
| - (NSString *switchDp) __deprecated_msg | ("Use switchDps instead") |
| - (NSString *switchDp) __deprecated_msg | ("Use switchDps instead") |
| - (NSString *switchDp) __deprecated_msg | ("Use switchDps instead") |
| - (BOOL upgrading) __deprecated_msg | ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") |
| - (BOOL upgrading) __deprecated_msg | ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") |
| - (BOOL upgrading) __deprecated_msg | ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") |
| - (BOOL upgrading) __deprecated_msg | ("Use ThingSmartDeviceOTAModel.otaUpgradeStatus instead") |
| - (void) addToHome: | (long long) | homeId |
Provided by category ThingSmartDeviceModel(Home).
| - (void) addToHome: | (long long) | homeId |
Provided by category ThingSmartDeviceModel(Home).
| - (void) addToHome: | (long long) | homeId |
Provided by category ThingSmartDeviceModel(Home).
| - (void) addToHome: | (long long) | homeId |
Provided by category ThingSmartDeviceModel(Home).
| - (BOOL) attributeIsSupport: | (NSUInteger) | i |
| - (BOOL) attributeIsSupport: | (NSUInteger) | i |
| - (BOOL) attributeIsSupport: | (NSUInteger) | i |
| - (BOOL) attributeIsSupport: | (NSUInteger) | i |
| - (BOOL) baseAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) baseAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) baseAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) baseAttributeIsSupport: | (NSUInteger) | i |
| - (NSDictionary *) cameraDeviceFeatures |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSDictionary *) cameraDeviceFeatures |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) canBeBind |
网关和子设备都可能可以进行绑定,但并不表示当前设备是高性能的
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) canBeBind |
网关和子设备都可能可以进行绑定,但并不表示当前设备是高性能的
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) canBeBindGateway |
符合绑定条件的网关
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) canBeBindGateway |
符合绑定条件的网关
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) canBeBindSubDevice |
符合绑定条件的子设备
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) canBeBindSubDevice |
符合绑定条件的子设备
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) capabilityIsSupport: | (NSUInteger) | i |
| - (BOOL) capabilityIsSupport: | (NSUInteger) | i |
| - (BOOL) capabilityIsSupport: | (NSUInteger) | i |
| - (BOOL) capabilityIsSupport: | (NSUInteger) | i |
| - (BOOL) devAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) devAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) devAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) devAttributeIsSupport: | (NSUInteger) | i |
| + (ThingSmartDeviceModel *) deviceModelWithDeviceID: | (NSString *) | deviceID |
根据DeviceID获取当前的DeviceModel
Provided by category ThingSmartDeviceModel(Home).
| + (ThingSmartDeviceModel *) deviceModelWithDeviceID: | (NSString *) | deviceID |
根据DeviceID获取当前的DeviceModel
Provided by category ThingSmartDeviceModel(Home).
| + (ThingSmartDeviceModel *) deviceModelWithDeviceID: | (NSString *) | deviceID |
根据DeviceID获取当前的DeviceModel
Provided by category ThingSmartDeviceModel(Home).
| + (ThingSmartDeviceModel *) deviceModelWithDeviceID: | (NSString *) | deviceID |
根据DeviceID获取当前的DeviceModel
Provided by category ThingSmartDeviceModel(Home).
| - (ThingSmartBLELocalOnlineType) deviceOnlineType |
Query the online type of the device.
Provided by category ThingSmartDeviceModel(MasterSlaveInfo).
| - (ThingSmartBLELocalOnlineType) deviceOnlineType |
Query the online type of the device.
Provided by category ThingSmartDeviceModel(MasterSlaveInfo).
| - (NSString *) directlyDeviceSecKey |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSString *) directlyDeviceSecKey |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSString *) dpCodeWithDpId: | (NSString *) | dpId |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSString *) dpCodeWithDpId: | (NSString *) | dpId |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSString *) dpIdWithDpCode: | (NSString *) | dpCode |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSString *) dpIdWithDpCode: | (NSString *) | dpCode |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (ThingSmartDeviceModelGatewayBindType) gatewayBindType |
确定子设备的绑定类型
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (ThingSmartDeviceModelGatewayBindType) gatewayBindType |
确定子设备的绑定类型
Provided by category ThingSmartDeviceModel(PerformanceGateway).
| - (BOOL) isAssociateWithBluetooth |
Provided by category ThingSmartDeviceModel(Home).
| - (BOOL) isAssociateWithBluetooth |
Provided by category ThingSmartDeviceModel(Home).
| - (BOOL) isAssociateWithBluetooth |
Provided by category ThingSmartDeviceModel(Home).
| - (BOOL) isAssociateWithBluetooth |
Provided by category ThingSmartDeviceModel(Home).
| - (BOOL) isExitCachedDpValue: | (NSString *) | dpId |
Provided by category ThingSmartDeviceModel(offlineSupport).
| - (BOOL) isExitCachedDpValue: | (NSString *) | dpId |
Provided by category ThingSmartDeviceModel(offlineSupport).
| - (BOOL) isIPCDevice |
Whether device is an IPC.
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isIPCDevice |
Whether device is an IPC.
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isLANAndMQTTVersionSupport |
Returns YES if the device supports the current LAN and MQTT protocol version.
Provided by category ThingSmartDeviceModel(VersionSupport).
| - (BOOL) isLANAndMQTTVersionSupport |
Returns YES if the device supports the current LAN and MQTT protocol version.
Provided by category ThingSmartDeviceModel(VersionSupport).
| - (BOOL) isLANAndMQTTVersionSupport |
Returns YES if the device supports the current LAN and MQTT protocol version.
Provided by category ThingSmartDeviceModel(VersionSupport).
| - (BOOL) isLANAndMQTTVersionSupport |
Returns YES if the device supports the current LAN and MQTT protocol version.
Provided by category ThingSmartDeviceModel(VersionSupport).
| - (BOOL) isLoginMesh |
| - (BOOL) isLoginMesh |
| - (BOOL) isLoginMesh |
| - (BOOL) isLoginMesh |
| - (BOOL) isLowPowerDevice |
Whether device is a low power device.
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isLowPowerDevice |
Whether device is a low power device.
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isSupportDirectly |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isSupportDirectly |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isSupportMasterDevice |
Provided by category ThingSmartDeviceModel(MasterSlaveInfo).
| - (BOOL) isSupportMasterDevice |
Provided by category ThingSmartDeviceModel(MasterSlaveInfo).
| - (BOOL) isSupportMatter |
The device support matter protocol.
| - (BOOL) isSupportMatter |
The device support matter protocol.
| - (BOOL) isSupportMatter |
The device support matter protocol.
| - (BOOL) isSupportMatter |
The device support matter protocol.
| - (BOOL) isSupportMultiPlay |
Whether device is support multi play.
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isSupportMultiPlay |
Whether device is support multi play.
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) isSupportProxyAndRelay |
| - (BOOL) isSupportProxyAndRelay |
| - (BOOL) isSupportProxyAndRelay |
| - (BOOL) isSupportProxyAndRelay |
| - (BOOL) isSupportThingModelDevice |
The device support thing model.
| - (BOOL) isSupportThingModelDevice |
The device support thing model.
| - (BOOL) isSupportThingModelDevice |
The device support thing model.
| - (BOOL) isSupportThingModelDevice |
The device support thing model.
| - (BOOL) isThingWIFIMatterDevice |
The device is thing.BLE & WIFI matter device.
| - (BOOL) isThingWIFIMatterDevice |
The device is thing.BLE & WIFI matter device.
| - (BOOL) isThingWIFIMatterDevice |
The device is thing.BLE & WIFI matter device.
| - (BOOL) isThingWIFIMatterDevice |
The device is thing.BLE & WIFI matter device.
| + (instancetype) modelWithDictionary: | (NSDictionary *) | dict |
Update the value of a part properties of DeviceModel This method will change the value of the originJson
| + (instancetype) modelWithDictionary: | (NSDictionary *) | dict |
Update the value of a part properties of DeviceModel This method will change the value of the originJson
| + (instancetype) modelWithDictionary: | (NSDictionary *) | dict |
Update the value of a part properties of DeviceModel This method will change the value of the originJson
| + (instancetype) modelWithDictionary: | (NSDictionary *) | dict |
Update the value of a part properties of DeviceModel This method will change the value of the originJson
| - (NSInteger) p2pType |
p2p type of the ipc device
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSInteger) p2pType |
p2p type of the ipc device
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (BOOL) protocolAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) protocolAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) protocolAttributeIsSupport: | (NSUInteger) | i |
| - (BOOL) protocolAttributeIsSupport: | (NSUInteger) | i |
| - (NSArray *) rangeForEnumDpCode: | (ThingSmartCameraDPKey) | dpCode |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSArray *) rangeForEnumDpCode: | (ThingSmartCameraDPKey) | dpCode |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSArray *) rangeForEnumDpName: | (ThingSmartCameraDPKey) | dpName |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSArray *) rangeForEnumDpName: | (ThingSmartCameraDPKey) | dpName |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (ThingSmartSchemaModel *) schemaModelForDpCode: | (ThingSmartCameraDPKey) | dpCode |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (ThingSmartSchemaModel *) schemaModelForDpCode: | (ThingSmartCameraDPKey) | dpCode |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (ThingSmartSchemaModel *) schemaModelForDpName: | (ThingSmartCameraDPKey) | dpName |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (ThingSmartSchemaModel *) schemaModelForDpName: | (ThingSmartCameraDPKey) | dpName |
Provided by category ThingSmartDeviceModel(IPCSDK).
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMap |
creates a dictionary containing entries constructed from self.switchDps and self.dps
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMap |
creates a dictionary containing entries constructed from self.switchDps and self.dps
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMap |
creates a dictionary containing entries constructed from self.switchDps and self.dps
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMap |
creates a dictionary containing entries constructed from self.switchDps and self.dps
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: | (NSDictionary< NSString *, id > *) | dps |
creates a dictionary containing entries constructed from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: | (NSDictionary< NSString *, id > *) | dps |
creates a dictionary containing entries constructed from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: | (NSDictionary< NSString *, id > *) | dps |
creates a dictionary containing entries constructed from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (NSDictionary< NSString *, NSNumber * > *) switchDpsMapFromDps: | (NSDictionary< NSString *, id > *) | dps |
creates a dictionary containing entries constructed from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (BOOL) switchDpsValue |
return or operation on all values from self.switchDpsMap
| - (BOOL) switchDpsValue |
return or operation on all values from self.switchDpsMap
| - (BOOL) switchDpsValue |
return or operation on all values from self.switchDpsMap
| - (BOOL) switchDpsValue |
return or operation on all values from self.switchDpsMap
| - (BOOL) switchDpsValueFromDps: | (NSDictionary< NSString *, id > *) | dps |
return or operation on all values from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (BOOL) switchDpsValueFromDps: | (NSDictionary< NSString *, id > *) | dps |
return or operation on all values from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (BOOL) switchDpsValueFromDps: | (NSDictionary< NSString *, id > *) | dps |
return or operation on all values from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (BOOL) switchDpsValueFromDps: | (NSDictionary< NSString *, id > *) | dps |
return or operation on all values from self.switchDps and dps
| dps | the dps which contains the dp value |
| - (nullable ThingSmartHomeKitDevice *) thingsdk_associatedHomeKitDeviceForHomeManager: | (HMHomeManager *) | homeManager |
Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.
[[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).
| - (nullable ThingSmartHomeKitDevice *) thingsdk_associatedHomeKitDeviceForHomeManager: | (HMHomeManager *) | homeManager |
Find ThingSmartHomeKitDevice that associated with ThingSmartDeviceModel which has added in HomeKit.
[[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).
| - (nullable ThingSmartSchemaModel *) tsod_schemaMWithCode: | (NSString *) | code |
get schema model with code
| code | DP code |
Provided by category ThingSmartDeviceModel(ThingSmartOutdoor).
| - (nullable ThingSmartSchemaModel *) tsod_schemaMWithCode: | (NSString *) | code |
get schema model with code
| code | DP code |
Provided by category ThingSmartDeviceModel(ThingSmartOutdoor).
| - (ThingSmartUIPanelModel *) uiPanelModel |
| - (ThingSmartUIPanelModel *) uiPanelModel |
| - (ThingSmartUIPanelModel *) uiPanelModel |
| - (ThingSmartUIPanelModel *) uiPanelModel |
| - (void) updateLocalDeviceConfigWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessDict) | success | |
| failure: | (ThingFailureError) | failure | |
更新本地设备的时区(配网用,如有缓存,直接调用成功回调)
| devId | 设备 ID |
| success | 更新成功,如果有缓存,直接成功 |
| failure | 更新失败,云端接口失败 |
Provided by category ThingSmartDeviceModel(Home).
| - (void) updateLocalDeviceConfigWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessDict) | success | |
| failure: | (ThingFailureError) | failure | |
更新本地设备的时区(配网用,如有缓存,直接调用成功回调)
| devId | 设备 ID |
| success | 更新成功,如果有缓存,直接成功 |
| failure | 更新失败,云端接口失败 |
Provided by category ThingSmartDeviceModel(Home).
| - (void) updateLocalDeviceConfigWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessDict) | success | |
| failure: | (ThingFailureError) | failure | |
更新本地设备的时区(配网用,如有缓存,直接调用成功回调)
| devId | 设备 ID |
| success | 更新成功,如果有缓存,直接成功 |
| failure | 更新失败,云端接口失败 |
Provided by category ThingSmartDeviceModel(Home).
| - (void) updateLocalDeviceConfigWithDevId: | (NSString *) | devId | |
| success: | (ThingSuccessDict) | success | |
| failure: | (ThingFailureError) | failure | |
更新本地设备的时区(配网用,如有缓存,直接调用成功回调)
| devId | 设备 ID |
| success | 更新成功,如果有缓存,直接成功 |
| failure | 更新失败,云端接口失败 |
Provided by category ThingSmartDeviceModel(Home).
|
readwritenonatomicassign |
The capability of the device.
Definition at line 109 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The device access type: 0-Tuya, 1-Matter, 2-ThingLink.
Definition at line 344 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 259 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The attribute.
Definition at line 184 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 320 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 269 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The hardware baseline version.
Definition at line 165 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 215 of file ThingSmartDeviceModel.h.
|
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.
|
readwritenonatomicstrong |
Definition at line 230 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 231 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 213 of file ThingSmartDeviceModel.h.
|
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.
|
readwritenonatomicstrong |
The Bluetooth connection configuration.
Definition at line 338 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 239 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Mark: 0: 1<<0 auto. 3: 1<<3 route.
Definition at line 297 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 262 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The ID of the device.
Definition at line 100 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The Bluetooth mesh device key.
Definition at line 300 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 233 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 235 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The order.
Provided by category ThingSmartDeviceModel(Home).
Definition at line 205 of file ThingSmartDeviceModel.h.
|
readnonatomicstrong |
The DP codes.
Definition at line 307 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The last DP update time.
Definition at line 310 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The DP name.
Definition at line 174 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The DP of the device.
Definition at line 131 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The DP execution time of the device.
Definition at line 134 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 260 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 234 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 241 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 240 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The type of gateway.
Definition at line 149 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Provided by category ThingSmartDeviceModel(Home).
Definition at line 206 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Provided by category ThingSmartDeviceModel(Home).
Definition at line 200 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 220 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The URL of the device icon.
Definition at line 106 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 208 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Specifies whether the device is connected to the cloud.
Definition at line 115 of file ThingSmartDeviceModel.h.
|
readnonatomicassign |
是否是本地直连设备
Provided by category ThingSmartDeviceModel(Home).
Definition at line 21 of file ThingSmartDeviceModel+Home.h.
|
readwritenonatomicassign |
Definition at line 291 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 258 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Specifies whether the device is online.
Definition at line 112 of file ThingSmartDeviceModel.h.
|
readnonatomicassign |
Definition at line 350 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 361 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 363 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Specifies whether the device is shared.
Definition at line 126 of file ThingSmartDeviceModel.h.
|
readnonatomicassign |
Provided by category ThingSmartDeviceModel(offlineSupport).
Definition at line 14 of file ThingSmartDeviceModel+offlineSupport.h.
|
readwritenonatomicassign |
Specifies whether the device is a virtual device.
Definition at line 313 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Specifies whether the device is connected to the yu net.
Definition at line 118 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The latitude of the device.
Definition at line 168 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 186 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The longitude of the device.
Definition at line 171 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The media access control address.
Definition at line 193 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Can be controlled with matter protocol. Default is YES.
Definition at line 353 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The MatterNodeId.(Attention:when home changed,nodeId changed)
Definition at line 341 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
mesh categroyExt
Definition at line 359 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 287 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 271 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 267 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The name of the device.
Definition at line 103 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The node ID.
Definition at line 285 of file ThingSmartDeviceModel.h.
|
readnonatomicstrong |
Provided by category ThingSmartDeviceModel(offlineSupport).
Definition at line 12 of file ThingSmartDeviceModel+offlineSupport.h.
|
readwritenonatomicassign |
Definition at line 120 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 265 of file ThingSmartDeviceModel.h.
|
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.
|
readwritenonatomicstrong |
Definition at line 229 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 286 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 292 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The product ID.
Definition at line 137 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The product version.
Definition at line 140 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 328 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The protocol version of the gateway.
Definition at line 152 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 232 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 242 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 219 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Provided by category ThingSmartDeviceModel(Home).
Definition at line 201 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 181 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The schema of the device.
Definition at line 177 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 179 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 178 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 188 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Definition at line 202 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The skills.
Definition at line 211 of file ThingSmartDeviceModel.h.
|
readnonatomiccopy |
本地直连设备 Wi-Fi 名
Provided by category ThingSmartDeviceModel(Home).
Definition at line 24 of file ThingSmartDeviceModel+Home.h.
|
readwritenonatomicassign |
Specifies whether to standardize the schema.
Definition at line 303 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 304 of file ThingSmartDeviceModel.h.
|
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.
|
readwritenonatomicassign |
Specifies whether to support groups.
Definition at line 143 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
Specifies whether to support standard groups.
Definition at line 146 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 237 of file ThingSmartDeviceModel.h.
|
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.
|
readwritenonatomicstrong |
Definition at line 198 of file ThingSmartDeviceModel.h.
|
readnonatomicassign |
inductive unlock type, only DP Detection
Provided by category ThingSmartDeviceModel(InductiveUnlock).
Definition at line 21 of file ThingSmartDeviceModel+InductiveUnlock.h.
|
readwritenonatomicstrong |
Definition at line 221 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 227 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 243 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 228 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 222 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 226 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 224 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 225 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 223 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 190 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
The information about Bluetooth mesh.
Definition at line 290 of file ThingSmartDeviceModel.h.
|
readwritenonatomicstrong |
Definition at line 128 of file ThingSmartDeviceModel.h.
|
readwritenonatomicassign |
The device experience.
Definition at line 356 of file ThingSmartDeviceModel.h.