#import <ThingSmartPairingHandlerDelegate.h>
◆ activatorDeviceFailureWithError: [1/2]
- (void) activatorDeviceFailureWithError: |
|
(NSError *) |
error |
|
|
optional |
◆ activatorDeviceFailureWithError: [2/2]
- (void) activatorDeviceFailureWithError: |
|
(NSError *) |
error |
|
|
optional |
◆ activatorDeviceSuccessed [1/2]
- (void) activatorDeviceSuccessed |
|
|
|
|
optional |
◆ activatorDeviceSuccessed [2/2]
- (void) activatorDeviceSuccessed |
|
|
|
|
optional |
◆ checkDeviceStatusByDevId:token:apCompensation: [1/2]
- (void) checkDeviceStatusByDevId: |
|
(nullable NSString *) |
devId |
token: |
|
(nullable NSString *) |
token |
apCompensation: |
|
(nullable ThingSuccessHandler) |
compensation |
|
|
| |
|
optional |
◆ checkDeviceStatusByDevId:token:apCompensation: [2/2]
- (void) checkDeviceStatusByDevId: |
|
(nullable NSString *) |
devId |
token: |
|
(nullable NSString *) |
token |
apCompensation: |
|
(nullable ThingSuccessHandler) |
compensation |
|
|
| |
|
optional |
◆ checkGatewayInfo:token:success:failure: [1/2]
- (void) checkGatewayInfo: |
|
(nullable NSString *) |
devId |
token: |
|
(nullable NSString *) |
token |
success: |
|
(nullable void(^)(void)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ checkGatewayInfo:token:success:failure: [2/2]
- (void) checkGatewayInfo: |
|
(nullable NSString *) |
devId |
token: |
|
(nullable NSString *) |
token |
success: |
|
(nullable void(^)(void)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ deviceDataUpdate: [1/2]
- (void) deviceDataUpdate: |
|
(NSString *) |
devId |
|
|
optional |
◆ deviceDataUpdate: [2/2]
- (void) deviceDataUpdate: |
|
(NSString *) |
devId |
|
|
optional |
◆ didFailedToConnectWiFiToDevice:uuid:error: [1/2]
- (void) didFailedToConnectWiFiToDevice: |
|
(NSString *) |
ssid |
uuid: |
|
(NSString *) |
uuid |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
◆ didFailedToConnectWiFiToDevice:uuid:error: [2/2]
- (void) didFailedToConnectWiFiToDevice: |
|
(NSString *) |
ssid |
uuid: |
|
(NSString *) |
uuid |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
◆ fetchInitKeyWithUUID:success:failure: [1/2]
- (void) fetchInitKeyWithUUID: |
|
(NSString *) |
uuid |
success: |
|
(nullable void(^)(NSString *initKey)) |
success |
failure: |
|
(nullable ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ fetchInitKeyWithUUID:success:failure: [2/2]
- (void) fetchInitKeyWithUUID: |
|
(NSString *) |
uuid |
success: |
|
(nullable void(^)(NSString *initKey)) |
success |
failure: |
|
(nullable ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ fetchPSKInfoWithSL:success:failure: [1/2]
◆ fetchPSKInfoWithSL:success:failure: [2/2]
◆ meshSubDeviceDataUpdateWithMeshId:deviceId:error: [1/2]
- (void) meshSubDeviceDataUpdateWithMeshId: |
|
(NSString *) |
meshId |
deviceId: |
|
(NSString *) |
deviceId |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
◆ meshSubDeviceDataUpdateWithMeshId:deviceId:error: [2/2]
- (void) meshSubDeviceDataUpdateWithMeshId: |
|
(NSString *) |
meshId |
deviceId: |
|
(NSString *) |
deviceId |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
◆ pairingDeviceReady [1/2]
- (void) pairingDeviceReady |
|
|
|
|
optional |
◆ pairingDeviceReady [2/2]
- (void) pairingDeviceReady |
|
|
|
|
optional |
◆ pairingDeviceStateError: [1/2]
- (void) pairingDeviceStateError: |
|
(NSError *) |
error |
|
|
optional |
◆ pairingDeviceStateError: [2/2]
- (void) pairingDeviceStateError: |
|
(NSError *) |
error |
|
|
optional |
◆ pairingDidPassWiFiToSecurityLevelDevice: [1/2]
- (void) pairingDidPassWiFiToSecurityLevelDevice: |
|
(NSString *) |
uuid |
|
|
optional |
有安全级别的设备传递完了wifi信息,等待下一步了
◆ pairingDidPassWiFiToSecurityLevelDevice: [2/2]
- (void) pairingDidPassWiFiToSecurityLevelDevice: |
|
(NSString *) |
uuid |
|
|
optional |
有安全级别的设备传递完了wifi信息,等待下一步了
◆ pairingError:errorDevice: [1/2]
- (void) pairingError: |
|
(nullable NSError *) |
error |
errorDevice: |
|
(nullable id) |
errorDevice |
|
|
| |
|
optional |
◆ pairingError:errorDevice: [2/2]
- (void) pairingError: |
|
(nullable NSError *) |
error |
errorDevice: |
|
(nullable id) |
errorDevice |
|
|
| |
|
optional |
◆ pairingSuccessWithResult: [1/2]
- (void) pairingSuccessWithResult: |
|
(nullable id) |
result |
|
|
optional |
◆ pairingSuccessWithResult: [2/2]
- (void) pairingSuccessWithResult: |
|
(nullable id) |
result |
|
|
optional |
◆ pairingWithResult:error:step: [1/2]
- (void) pairingWithResult: |
|
(nullable id) |
result |
error: |
|
(nullable NSError *) |
error |
step: |
|
(ThingActivatorStep) |
step |
|
|
| |
|
optional |
◆ pairingWithResult:error:step: [2/2]
- (void) pairingWithResult: |
|
(nullable id) |
result |
error: |
|
(nullable NSError *) |
error |
step: |
|
(ThingActivatorStep) |
step |
|
|
| |
|
optional |
◆ pollingDeviceWithToken:retry:success:failure: [1/2]
开始设备轮询
- Parameters
-
token | token |
retry | 重试回调 |
success | 成功轮询到设备的回调 |
failure | 轮询到配网失败的设备回调 @discuss: 开始设备轮询时从服务端拉取的设备信息不一定存在,所以需要多次触发接口查询设备是否成功配网,如果当前没有轮询到设备则需要调用 retry() 进行重试,轮询到设备后也有可能依然存在正在配网的设备正在上线中,所以依然需要调用 retry() , 不用担心循环的问题,在该方法中有超时和停止设定,当轮询到达一定时间时会自动停止,在手动调用 stopConfigWiFi 时也会停止轮询操作。 |
◆ pollingDeviceWithToken:retry:success:failure: [2/2]
开始设备轮询
- Parameters
-
token | token |
retry | 重试回调 |
success | 成功轮询到设备的回调 |
failure | 轮询到配网失败的设备回调 @discuss: 开始设备轮询时从服务端拉取的设备信息不一定存在,所以需要多次触发接口查询设备是否成功配网,如果当前没有轮询到设备则需要调用 retry() 进行重试,轮询到设备后也有可能依然存在正在配网的设备正在上线中,所以依然需要调用 retry() , 不用担心循环的问题,在该方法中有超时和停止设定,当轮询到达一定时间时会自动停止,在手动调用 stopConfigWiFi 时也会停止轮询操作。 |
◆ requestDeviceModel [1/2]
- (NSDictionary *) requestDeviceModel |
|
|
|
|
optional |
◆ requestDeviceModel [2/2]
- (NSDictionary *) requestDeviceModel |
|
|
|
|
optional |
◆ requestDeviceSchema [1/2]
- (NSDictionary *) requestDeviceSchema |
|
|
|
|
optional |
◆ requestDeviceSchema [2/2]
- (NSDictionary *) requestDeviceSchema |
|
|
|
|
optional |
◆ resetDevice:token:success:failure: [1/2]
- (void) resetDevice: |
|
(nullable NSString *) |
devId |
token: |
|
(nullable NSString *) |
token |
success: |
|
(nullable void(^)(void)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ resetDevice:token:success:failure: [2/2]
- (void) resetDevice: |
|
(nullable NSString *) |
devId |
token: |
|
(nullable NSString *) |
token |
success: |
|
(nullable void(^)(void)) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ updateDeviceModelWithBody:data:lpv:type: [1/2]
- (void) updateDeviceModelWithBody: |
|
(NSDictionary *) |
body |
data: |
|
(NSData *) |
data |
lpv: |
|
(NSString *) |
lpv |
type: |
|
(int) |
type |
|
|
| |
|
optional |
◆ updateDeviceModelWithBody:data:lpv:type: [2/2]
- (void) updateDeviceModelWithBody: |
|
(NSDictionary *) |
body |
data: |
|
(NSData *) |
data |
lpv: |
|
(NSString *) |
lpv |
type: |
|
(int) |
type |
|
|
| |
|
optional |
The documentation for this protocol was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartPairingCoreKit/Build/ThingSmartPairingCoreKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartPairingCoreKit.framework/Headers/ThingSmartPairingHandlerDelegate.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartPairingCoreKit/Build/ThingSmartPairingCoreKit.xcframework/ios-arm64/ThingSmartPairingCoreKit.framework/Headers/ThingSmartPairingHandlerDelegate.h