Tuya iOS Smart Life App SDK 5.15.0
ThingBLEBizTools Class Reference

#import <ThingBLEBizTools.h>

Inheritance diagram for ThingBLEBizTools:

Instance Methods

(void) - unbindDeviceHandle:success:failure:
 
(void) - clearUnbindDeviceCach
 清除设备缓存信息 More...
 
(void) - removeUnbindDeviceFlag:
 
(void) - unbindDeviceHandle:success:failure:
 
(void) - clearUnbindDeviceCach
 清除设备缓存信息 More...
 
(void) - removeUnbindDeviceFlag:
 

Class Methods

(NSData *) + bigDataSummary:
 
(NSData *) + bigDataBlockSummaryType:index:
 
(NSData *) + bigDataDel:
 
(ThingSmartDeviceModel *) + getDeviceModelWithUUID:
 
(BOOL) + deviceIsActive:
 
(BOOL) + isDualModeDevice:
 
(BOOL) + isDualModeDeviceWithDevId:
 
(BOOL) + dualModeDeviceSupportBLEControl:
 
(void) + updateBLEDeviceOnline:
 
(ThingBLESupportConnect) + getConfigConnectType:
 通过广播包获取设备连接类型 More...
 
(ThingBLESupportConnect) + getConfigConnectTypeWithUUID:
 
(NSData *) + bigDataSummary:
 
(NSData *) + bigDataBlockSummaryType:index:
 
(NSData *) + bigDataDel:
 
(ThingSmartDeviceModel *) + getDeviceModelWithUUID:
 
(BOOL) + deviceIsActive:
 
(BOOL) + isDualModeDevice:
 
(BOOL) + isDualModeDeviceWithDevId:
 
(BOOL) + dualModeDeviceSupportBLEControl:
 
(void) + updateBLEDeviceOnline:
 
(ThingBLESupportConnect) + getConfigConnectType:
 通过广播包获取设备连接类型 More...
 
(ThingBLESupportConnect) + getConfigConnectTypeWithUUID:
 

Detailed Description

Definition at line 14 of file ThingBLEBizTools.h.

Method Documentation

◆ bigDataBlockSummaryType:index: [1/2]

+ (NSData *) bigDataBlockSummaryType: (unsigned int)  type
index: (NSInteger)  index 

获取大数据块摘要信息

Parameters
type类型
index序号

◆ bigDataBlockSummaryType:index: [2/2]

+ (NSData *) bigDataBlockSummaryType: (unsigned int)  type
index: (NSInteger)  index 

获取大数据块摘要信息

Parameters
type类型
index序号

◆ bigDataDel: [1/2]

+ (NSData *) bigDataDel: (unsigned int)  type

删除大数据指令

Parameters
typetype

◆ bigDataDel: [2/2]

+ (NSData *) bigDataDel: (unsigned int)  type

删除大数据指令

Parameters
typetype

◆ bigDataSummary: [1/2]

+ (NSData *) bigDataSummary: (unsigned int)  type

获取大数据摘要信息

Parameters
typetype

◆ bigDataSummary: [2/2]

+ (NSData *) bigDataSummary: (unsigned int)  type

获取大数据摘要信息

Parameters
typetype

◆ clearUnbindDeviceCach [1/2]

- (void) clearUnbindDeviceCach

清除设备缓存信息

◆ clearUnbindDeviceCach [2/2]

- (void) clearUnbindDeviceCach

清除设备缓存信息

◆ deviceIsActive: [1/2]

+ (BOOL) deviceIsActive: (NSString *)  uuid

设备是否属于当前账号

◆ deviceIsActive: [2/2]

+ (BOOL) deviceIsActive: (NSString *)  uuid

设备是否属于当前账号

◆ dualModeDeviceSupportBLEControl: [1/2]

+ (BOOL) dualModeDeviceSupportBLEControl: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

判断双模多协议设备是否需要连接控制

◆ dualModeDeviceSupportBLEControl: [2/2]

+ (BOOL) dualModeDeviceSupportBLEControl: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

判断双模多协议设备是否需要连接控制

◆ getConfigConnectType: [1/2]

+ (ThingBLESupportConnect) getConfigConnectType: (id< ThingBLEDeviceInfoProtocol >)  dev

通过广播包获取设备连接类型

◆ getConfigConnectType: [2/2]

+ (ThingBLESupportConnect) getConfigConnectType: (id< ThingBLEDeviceInfoProtocol >)  dev

通过广播包获取设备连接类型

◆ getConfigConnectTypeWithUUID: [1/2]

+ (ThingBLESupportConnect) getConfigConnectTypeWithUUID: (NSString *)  uuid

◆ getConfigConnectTypeWithUUID: [2/2]

+ (ThingBLESupportConnect) getConfigConnectTypeWithUUID: (NSString *)  uuid

◆ getDeviceModelWithUUID: [1/2]

+ (ThingSmartDeviceModel *) getDeviceModelWithUUID: (NSString *)  uuid

通过 UUID 换取设备 ThingSmartDeviceModel

◆ getDeviceModelWithUUID: [2/2]

+ (ThingSmartDeviceModel *) getDeviceModelWithUUID: (NSString *)  uuid

通过 UUID 换取设备 ThingSmartDeviceModel

◆ isDualModeDevice: [1/2]

+ (BOOL) isDualModeDevice: (NSString *)  uuid

判断是否是双模多协议设备

◆ isDualModeDevice: [2/2]

+ (BOOL) isDualModeDevice: (NSString *)  uuid

判断是否是双模多协议设备

◆ isDualModeDeviceWithDevId: [1/2]

+ (BOOL) isDualModeDeviceWithDevId: (NSString *)  devId

◆ isDualModeDeviceWithDevId: [2/2]

+ (BOOL) isDualModeDeviceWithDevId: (NSString *)  devId

◆ removeUnbindDeviceFlag: [1/2]

- (void) removeUnbindDeviceFlag: (NSString *)  unbindDeviceId

重置设备查询缓存

◆ removeUnbindDeviceFlag: [2/2]

- (void) removeUnbindDeviceFlag: (NSString *)  unbindDeviceId

重置设备查询缓存

◆ unbindDeviceHandle:success:failure: [1/2]

- (void) unbindDeviceHandle: (ThingBLEAdvModel *)  item
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

查询设备是否属于其他账号

◆ unbindDeviceHandle:success:failure: [2/2]

- (void) unbindDeviceHandle: (ThingBLEAdvModel *)  item
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

查询设备是否属于其他账号

◆ updateBLEDeviceOnline: [1/2]

+ (void) updateBLEDeviceOnline: (ThingSmartDeviceModel *)  device

◆ updateBLEDeviceOnline: [2/2]

+ (void) updateBLEDeviceOnline: (ThingSmartDeviceModel *)  device

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