TuyaSmartActivatorDelegate Protocol Reference

Conforms to NSObject
Declared in TuyaSmartActivator.h

Overview

收到有线配网设备的广播后,会发送此通知。objec为dictionary,@{@“productId”:productId, @“gwId”:gwId} Receiving broadcasts from wired config network

– activator:didReceiveDevice:error: required method

Callback of Config Network Status Update 配网状态更新的回调,wifi单品,zigbee网关,zigbee子设备

- (void)activator:(TuyaSmartActivator *)activator didReceiveDevice:(TuyaSmartDeviceModel *)deviceModel error:(NSError *)error

Parameters

activator

instance

deviceModel

deviceModel

error

error

Discussion

Callback of Config Network Status Update 配网状态更新的回调,wifi单品,zigbee网关,zigbee子设备

Declared In

TuyaSmartActivator.h

– activator:didReceiveDevice:step:error:

Callback of Config Network Status Update 配网状态更新的回调,wifi单品,zigbee网关,zigbee子设备

- (void)activator:(TuyaSmartActivator *)activator didReceiveDevice:(TuyaSmartDeviceModel *)deviceModel step:(TYActivatorStep)step error:(NSError *)error

Parameters

activator

instance

deviceModel

deviceModel

step

activator step

error

error

Discussion

Callback of Config Network Status Update 配网状态更新的回调,wifi单品,zigbee网关,zigbee子设备

Declared In

TuyaSmartActivator.h

– meshActivator:didReceiveDeviceId:meshId:error:

Callback of Config Network Status Update (mesh gateway),deprecated 配网状态更新的回调 mesh网关,已经废弃

- (void)meshActivator:(TuyaSmartActivator *)activator didReceiveDeviceId:(NSString *)deviceId meshId:(NSString *)meshId error:(NSError *)error

Parameters

activator

instance

deviceId

devId

meshId

meshId

error

error

Discussion

Callback of Config Network Status Update (mesh gateway),deprecated 配网状态更新的回调 mesh网关,已经废弃

Declared In

TuyaSmartActivator.h