Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartActivatorBleProtocol> Protocol Reference

#import <ThingSmartActivatorBleProtocol.h>

Inheritance diagram for <ThingSmartActivatorBleProtocol>:
ThingSmartActivatorDiscovery(Ble) ThingSmartActivatorDiscovery(Ble)

Instance Methods

(void) - configMultimodeDeviceDualWifiChannel:model:
 
(void) - configMultimodeDeviceDualBleChannel:model:
 
(void) - switchZigbeeSubDeviceToZigbeeActivator:devices:success:failure:
 
(void) - currentSpaceId:
 
(void) - scanWifiList:activatorTypeModel:deviceModel:
 
(void) - configMultimodeDeviceDualWifiChannel:model:
 
(void) - configMultimodeDeviceDualBleChannel:model:
 
(void) - switchZigbeeSubDeviceToZigbeeActivator:devices:success:failure:
 
(void) - currentSpaceId:
 
(void) - scanWifiList:activatorTypeModel:deviceModel:
 

Detailed Description

Definition at line 12 of file ThingSmartActivatorBleProtocol.h.

Method Documentation

◆ configMultimodeDeviceDualBleChannel:model: [1/2]

- (void) configMultimodeDeviceDualBleChannel: (ThingSmartActivatorTypeModel *)  activatorType
model: (ThingSmartActivatorDeviceModel *)  deviceModel 

Activate Bluetooth channel for Bluetooth dual-mode devices (only activate Bluetooth), the result is provided through network configuration callback

Parameters
activatorTypeNetwork configuration type, please use ThingSmartActivatorTypeBleModel
deviceModelDevice model

◆ configMultimodeDeviceDualBleChannel:model: [2/2]

- (void) configMultimodeDeviceDualBleChannel: (ThingSmartActivatorTypeModel *)  activatorType
model: (ThingSmartActivatorDeviceModel *)  deviceModel 

Activate Bluetooth channel for Bluetooth dual-mode devices (only activate Bluetooth), the result is provided through network configuration callback

Parameters
activatorTypeNetwork configuration type, please use ThingSmartActivatorTypeBleModel
deviceModelDevice model

◆ configMultimodeDeviceDualWifiChannel:model: [1/2]

- (void) configMultimodeDeviceDualWifiChannel: (ThingSmartActivatorTypeModel *)  activatorType
model: (ThingSmartActivatorDeviceModel *)  deviceModel 

Configure Wi-Fi channel for Bluetooth dual-mode devices (Bluetooth channel is already activated), the result is provided through network configuration callback

Parameters
activatorTypeNetwork configuration type, please use ActivatorTypeBleModel
deviceModelDevice model

◆ configMultimodeDeviceDualWifiChannel:model: [2/2]

- (void) configMultimodeDeviceDualWifiChannel: (ThingSmartActivatorTypeModel *)  activatorType
model: (ThingSmartActivatorDeviceModel *)  deviceModel 

Configure Wi-Fi channel for Bluetooth dual-mode devices (Bluetooth channel is already activated), the result is provided through network configuration callback

Parameters
activatorTypeNetwork configuration type, please use ActivatorTypeBleModel
deviceModelDevice model

◆ currentSpaceId: [1/2]

- (void) currentSpaceId: (long long)  spaceId

Set current home ID

Parameters
spaceIdhome ID

◆ currentSpaceId: [2/2]

- (void) currentSpaceId: (long long)  spaceId

Set current home ID

Parameters
spaceIdhome ID

◆ scanWifiList:activatorTypeModel:deviceModel: [1/2]

- (void) scanWifiList: (ThingSmartActivatorScanWifiParam *)  param
activatorTypeModel: (ThingSmartActivatorTypeModel *)  activatorTypeModel
deviceModel: (ThingSmartActivatorDeviceModel *)  deviceModel 

◆ scanWifiList:activatorTypeModel:deviceModel: [2/2]

- (void) scanWifiList: (ThingSmartActivatorScanWifiParam *)  param
activatorTypeModel: (ThingSmartActivatorTypeModel *)  activatorTypeModel
deviceModel: (ThingSmartActivatorDeviceModel *)  deviceModel 

◆ switchZigbeeSubDeviceToZigbeeActivator:devices:success:failure: [1/2]

- (void) switchZigbeeSubDeviceToZigbeeActivator: (ThingSmartActivatorTypeModel *)  activatorType
devices: (NSArray< ThingSmartActivatorDeviceModel * > *)  devices
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Switching ble-zigbee devices to a sub-device pairing network

Parameters
activatorTypeNetwork configuration type, please use ThingSmartActivatorTypeBleModel
devicesble-zigbee devices
successSuccessful callback
failureFailure callback

◆ switchZigbeeSubDeviceToZigbeeActivator:devices:success:failure: [2/2]

- (void) switchZigbeeSubDeviceToZigbeeActivator: (ThingSmartActivatorTypeModel *)  activatorType
devices: (NSArray< ThingSmartActivatorDeviceModel * > *)  devices
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Switching ble-zigbee devices to a sub-device pairing network

Parameters
activatorTypeNetwork configuration type, please use ThingSmartActivatorTypeBleModel
devicesble-zigbee devices
successSuccessful callback
failureFailure callback

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