用于处理解耦后的BLEKitCore在激活/解绑阶段想要的一些数据回调,比如秘钥、注册的gid等等,回头要拆到public里
More...
#import <ThingSmartBLEActiveDelegate.h>
用于处理解耦后的BLEKitCore在激活/解绑阶段想要的一些数据回调,比如秘钥、注册的gid等等,回头要拆到public里
Definition at line 26 of file ThingSmartBLEActiveDelegate.h.
◆ activateExtendedModule:automatic:success:failure: [1/2]
◆ activateExtendedModule:automatic:success:failure: [2/2]
◆ activateExtendedWiFiModule:automatic:ssid:password:success:failure: [1/2]
- (void) activateExtendedWiFiModule: |
|
(NSString *) |
devId |
automatic: |
|
(BOOL) |
automatic |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
pwd |
success: |
|
(nullable ThingSuccessHandler) |
success |
failure: |
|
(nullable ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ activateExtendedWiFiModule:automatic:ssid:password:success:failure: [2/2]
- (void) activateExtendedWiFiModule: |
|
(NSString *) |
devId |
automatic: |
|
(BOOL) |
automatic |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
pwd |
success: |
|
(nullable ThingSuccessHandler) |
success |
failure: |
|
(nullable ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ activeFailed: [1/2]
- (void) activeFailed: |
|
(NSString *) |
devId |
|
|
optional |
◆ activeFailed: [2/2]
- (void) activeFailed: |
|
(NSString *) |
devId |
|
|
optional |
◆ didScanWifiListSuccess:failure: [1/2]
- (void) didScanWifiListSuccess: |
|
(NSArray *) |
wifiList |
failure: |
|
(nullable NSError *) |
error |
|
|
| |
|
optional |
◆ didScanWifiListSuccess:failure: [2/2]
- (void) didScanWifiListSuccess: |
|
(NSArray *) |
wifiList |
failure: |
|
(nullable NSError *) |
error |
|
|
| |
|
optional |
◆ discoverBleChannel:services: [1/2]
发现大数据通道
- Parameters
-
deviceInfo | 设备信息 |
services | services |
◆ discoverBleChannel:services: [2/2]
发现大数据通道
- Parameters
-
deviceInfo | 设备信息 |
services | services |
◆ getExtModuleType: [1/2]
- (NSInteger) getExtModuleType: |
|
(NSString *) |
devId |
|
|
optional |
◆ getExtModuleType: [2/2]
- (NSInteger) getExtModuleType: |
|
(NSString *) |
devId |
|
|
optional |
◆ handleChipEncrypt:success:failure: [1/2]
激活流程加签
- Parameters
-
deviceInfo | 设备信息 |
success | success |
failure | failure |
◆ handleChipEncrypt:success:failure: [2/2]
激活流程加签
- Parameters
-
deviceInfo | 设备信息 |
success | success |
failure | failure |
◆ registerToServe:devId:encryptedAuthKey:productKey:pv:sv:mac:isRegisterKey:isShare:options:success:failure: [1/2]
- (void) registerToServe: |
|
(NSString *) |
uuid |
devId: |
|
(nullable NSString *) |
devId |
encryptedAuthKey: |
|
(NSString *) |
encryptedAuthKey |
productKey: |
|
(NSString *) |
productKey |
pv: |
|
(NSString *) |
pv |
sv: |
|
(NSString *) |
sv |
mac: |
|
(nullable NSString *) |
mac |
isRegisterKey: |
|
(BOOL) |
isRegisterKey |
isShare: |
|
(BOOL) |
isShare |
options: |
|
(NSDictionary *) |
options |
success: |
|
(ThingSuccessDict) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ registerToServe:devId:encryptedAuthKey:productKey:pv:sv:mac:isRegisterKey:isShare:options:success:failure: [2/2]
- (void) registerToServe: |
|
(NSString *) |
uuid |
devId: |
|
(nullable NSString *) |
devId |
encryptedAuthKey: |
|
(NSString *) |
encryptedAuthKey |
productKey: |
|
(NSString *) |
productKey |
pv: |
|
(NSString *) |
pv |
sv: |
|
(NSString *) |
sv |
mac: |
|
(nullable NSString *) |
mac |
isRegisterKey: |
|
(BOOL) |
isRegisterKey |
isShare: |
|
(BOOL) |
isShare |
options: |
|
(NSDictionary *) |
options |
success: |
|
(ThingSuccessDict) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
|
optional |
◆ reportDps:devId:dpsTime:mode:reportType: [1/2]
- (void) reportDps: |
|
(NSDictionary *) |
dps |
devId: |
|
(NSString *) |
devId |
dpsTime: |
|
(NSString *) |
dpsTime |
mode: |
|
(NSUInteger) |
mode |
reportType: |
|
(NSUInteger) |
type |
|
|
| |
|
optional |
◆ reportDps:devId:dpsTime:mode:reportType: [2/2]
- (void) reportDps: |
|
(NSDictionary *) |
dps |
devId: |
|
(NSString *) |
devId |
dpsTime: |
|
(NSString *) |
dpsTime |
mode: |
|
(NSUInteger) |
mode |
reportType: |
|
(NSUInteger) |
type |
|
|
| |
|
optional |
◆ reportDps:devId:dpsTimeMap:mode:reportType: [1/2]
- (void) reportDps: |
|
(NSDictionary *) |
dps |
devId: |
|
(NSString *) |
devId |
dpsTimeMap: |
|
(NSDictionary *) |
dpsTimeMap |
mode: |
|
(NSUInteger) |
mode |
reportType: |
|
(NSUInteger) |
type |
|
|
| |
|
optional |
◆ reportDps:devId:dpsTimeMap:mode:reportType: [2/2]
- (void) reportDps: |
|
(NSDictionary *) |
dps |
devId: |
|
(NSString *) |
devId |
dpsTimeMap: |
|
(NSDictionary *) |
dpsTimeMap |
mode: |
|
(NSUInteger) |
mode |
reportType: |
|
(NSUInteger) |
type |
|
|
| |
|
optional |
◆ reportDps:mac:dpsTime:mode:reportType: [1/2]
- (void) reportDps: |
|
(NSDictionary *) |
dps |
mac: |
|
(NSString *) |
mac |
dpsTime: |
|
(NSString *) |
dpsTime |
mode: |
|
(NSUInteger) |
mode |
reportType: |
|
(NSUInteger) |
type |
|
|
| |
|
optional |
◆ reportDps:mac:dpsTime:mode:reportType: [2/2]
- (void) reportDps: |
|
(NSDictionary *) |
dps |
mac: |
|
(NSString *) |
mac |
dpsTime: |
|
(NSString *) |
dpsTime |
mode: |
|
(NSUInteger) |
mode |
reportType: |
|
(NSUInteger) |
type |
|
|
| |
|
optional |
◆ syncDeviceInfo:devId:handler:failure: [1/2]
同步设备信息,业务根据 devId 获取 device 并处理后传递给 SDK
- Parameters
-
devId | devId |
handler | 业务层使用 handler 传递 device 给SDK |
error | error |
◆ syncDeviceInfo:devId:handler:failure: [2/2]
同步设备信息,业务根据 devId 获取 device 并处理后传递给 SDK
- Parameters
-
devId | devId |
handler | 业务层使用 handler 传递 device 给SDK |
error | error |
◆ transEncKeyWithAdvModel:encKeyType:handler:failure: [1/2]
- (void) transEncKeyWithAdvModel: |
|
(ThingBLEAdvModel *) |
advModel |
encKeyType: |
|
(ThingSmartBLEEncKeyType) |
encKeyType |
handler: |
|
(nullable void(^)(id _Nullable key)) |
handler |
failure: |
|
(nullable ThingFailureError) |
error |
|
|
| |
|
optional |
激活、解绑过程传递秘钥给 SDK
- Parameters
-
advModel | 设备信息 |
encKeyType | 激活、解绑 |
handler | 业务层使用handler传递秘钥给SDK |
error | error |
◆ transEncKeyWithAdvModel:encKeyType:handler:failure: [2/2]
- (void) transEncKeyWithAdvModel: |
|
(ThingBLEAdvModel *) |
advModel |
encKeyType: |
|
(ThingSmartBLEEncKeyType) |
encKeyType |
handler: |
|
(nullable void(^)(id _Nullable key)) |
handler |
failure: |
|
(nullable ThingFailureError) |
error |
|
|
| |
|
optional |
激活、解绑过程传递秘钥给 SDK
- Parameters
-
advModel | 设备信息 |
encKeyType | 激活、解绑 |
handler | 业务层使用handler传递秘钥给SDK |
error | error |
◆ transferPSKInfoWithSL:handler:failure: [1/2]
传递 psk 信息
- Parameters
-
SL | 安全级别 |
handler | 回调 |
error | failure |
◆ transferPSKInfoWithSL:handler:failure: [2/2]
传递 psk 信息
- Parameters
-
SL | 安全级别 |
handler | 回调 |
error | failure |
◆ unbindDevice:handler:failure: [1/2]
设备解绑
- Parameters
-
deviceInfo | 设备信息 |
handler | handler |
error | error |
◆ unbindDevice:handler:failure: [2/2]
设备解绑
- Parameters
-
deviceInfo | 设备信息 |
handler | handler |
error | error |
◆ updateBLEOnlineStatus:isOnline: [1/2]
更新设备在线状态
- Parameters
-
deviceInfo | 设备信息 |
isOnline | 是否在线 |
◆ updateBLEOnlineStatus:isOnline: [2/2]
更新设备在线状态
- Parameters
-
deviceInfo | 设备信息 |
isOnline | 是否在线 |
◆ updateDeviceInfo: [1/2]
◆ updateDeviceInfo: [2/2]
◆ updateOTAVersion:otaType:otaVersion: [1/2]
- (void) updateOTAVersion: |
|
(id< ThingBLEDeviceInfoProtocol >) |
deviceInfo |
otaType: |
|
(ThingSmartBLEOTAType) |
otaType |
otaVersion: |
|
(NSString *) |
otaVersion |
|
|
| |
|
optional |
更新OTA信息
- Parameters
-
deviceInfo | 设备信息 |
otaType | OTA类型 |
otaVersion | OTA版本 |
◆ updateOTAVersion:otaType:otaVersion: [2/2]
- (void) updateOTAVersion: |
|
(id< ThingBLEDeviceInfoProtocol >) |
deviceInfo |
otaType: |
|
(ThingSmartBLEOTAType) |
otaType |
otaVersion: |
|
(NSString *) |
otaVersion |
|
|
| |
|
optional |
更新OTA信息
- Parameters
-
deviceInfo | 设备信息 |
otaType | OTA类型 |
otaVersion | OTA版本 |
◆ validateBLEBeaconCapability: [1/2]
◆ validateBLEBeaconCapability: [2/2]
The documentation for this protocol was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartBLECoreKit/Build/ThingSmartBLECoreKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartBLECoreKit.framework/Headers/ThingSmartBLEActiveDelegate.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartBLECoreKit/Build/ThingSmartBLECoreKit.xcframework/ios-arm64/ThingSmartBLECoreKit.framework/Headers/ThingSmartBLEActiveDelegate.h