Tuya iOS Smart Life App SDK 5.15.0
ThingBLEStatusHandler Class Reference

#import <ThingBLEStatusHandler.h>

Inheritance diagram for ThingBLEStatusHandler:

Instance Methods

(NSArray *) - getUnActivedListInfo
 获取已扫描到的未配网设备 More...
 
(void) - clearUnactiveList
 
(void) - disconnectAllDevices
 
(NSInteger) - getPeripheralRSSI:
 
(NSInteger) - getPeripheralRSSI:mac:
 
(BOOL) - isOTA:
 
(NSInteger) - getOTAStatus:
 
(void) - disconnectDevice:
 
(BOOL) - handleConnectedDevices:
 判断当前已连接设备是否达到阈值,并踢掉最不活跃的设备 More...
 
(NSArray *) - getUnActivedListInfo
 获取已扫描到的未配网设备 More...
 
(void) - clearUnactiveList
 
(void) - disconnectAllDevices
 
(NSInteger) - getPeripheralRSSI:
 
(NSInteger) - getPeripheralRSSI:mac:
 
(BOOL) - isOTA:
 
(NSInteger) - getOTAStatus:
 
(void) - disconnectDevice:
 
(BOOL) - handleConnectedDevices:
 判断当前已连接设备是否达到阈值,并踢掉最不活跃的设备 More...
 

Properties

BOOL autoScanning
 是否在 batch 接口调用完后进行自动扫描连接 More...
 

Detailed Description

Definition at line 14 of file ThingBLEStatusHandler.h.

Method Documentation

◆ clearUnactiveList [1/2]

- (void) clearUnactiveList

◆ clearUnactiveList [2/2]

- (void) clearUnactiveList

◆ disconnectAllDevices [1/2]

- (void) disconnectAllDevices

◆ disconnectAllDevices [2/2]

- (void) disconnectAllDevices

◆ disconnectDevice: [1/2]

- (void) disconnectDevice: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ disconnectDevice: [2/2]

- (void) disconnectDevice: (id< ThingBLEDeviceInfoProtocol >)  deviceInfo

◆ getOTAStatus: [1/2]

- (NSInteger) getOTAStatus: (NSString *)  uuid

◆ getOTAStatus: [2/2]

- (NSInteger) getOTAStatus: (NSString *)  uuid

◆ getPeripheralRSSI: [1/2]

- (NSInteger) getPeripheralRSSI: ("This method is)  deprecated
(Use getPeripheralRSSI:mac:instead")  __deprecated_msg 

◆ getPeripheralRSSI: [2/2]

- (NSInteger) getPeripheralRSSI: ("This method is)  deprecated
(Use getPeripheralRSSI:mac:instead")  __deprecated_msg 

◆ getPeripheralRSSI:mac: [1/2]

- (NSInteger) getPeripheralRSSI: (nullable NSString *)  uuid
mac: (nullable NSString *)  mac 

◆ getPeripheralRSSI:mac: [2/2]

- (NSInteger) getPeripheralRSSI: (nullable NSString *)  uuid
mac: (nullable NSString *)  mac 

◆ getUnActivedListInfo [1/2]

- (NSArray *) getUnActivedListInfo

获取已扫描到的未配网设备

◆ getUnActivedListInfo [2/2]

- (NSArray *) getUnActivedListInfo

获取已扫描到的未配网设备

◆ handleConnectedDevices: [1/2]

- (BOOL) handleConnectedDevices: (NSString *)  uuid

判断当前已连接设备是否达到阈值,并踢掉最不活跃的设备

◆ handleConnectedDevices: [2/2]

- (BOOL) handleConnectedDevices: (NSString *)  uuid

判断当前已连接设备是否达到阈值,并踢掉最不活跃的设备

◆ isOTA: [1/2]

- (BOOL) isOTA: (NSString *)  uuid

◆ isOTA: [2/2]

- (BOOL) isOTA: (NSString *)  uuid

Property Documentation

◆ autoScanning

- (BOOL) autoScanning
readwritenonatomicassign

是否在 batch 接口调用完后进行自动扫描连接

Definition at line 19 of file ThingBLEStatusHandler.h.


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