激活协议,老的方法目前因为降级的存在,暂时不能挪走,只能一并放在Core中
More...
#import <ThingBLEActiveProtocol.h>
激活协议,老的方法目前因为降级的存在,暂时不能挪走,只能一并放在Core中
Definition at line 51 of file ThingBLEActiveProtocol.h.
◆ activeBLEBackUp:token:success:failure: [1/2]
兜底激活(PlugPlay)(Core)
- Parameters
-
dev | 需要配网的设备 |
success | 成功回调 |
failure | 失败回调 |
◆ activeBLEBackUp:token:success:failure: [2/2]
兜底激活(PlugPlay)(Core)
- Parameters
-
dev | 需要配网的设备 |
success | 成功回调 |
failure | 失败回调 |
◆ activeDualDeviceWifiChannel:result:ssid:password:listenState:failure: [1/2]
- (void) activeDualDeviceWifiChannel: |
|
(NSString *) |
devId |
result: |
|
(id) |
result |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
listenState: |
|
(void(^)(void)) |
callback |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
双模激活(PlugPlay)(Core)
- Parameters
-
devId | 设备id |
result | result |
ssid | 路由器热点名称 |
password | 路由器热点密码 |
callback | 状态回调 |
failure | 失败回调 |
◆ activeDualDeviceWifiChannel:result:ssid:password:listenState:failure: [2/2]
- (void) activeDualDeviceWifiChannel: |
|
(NSString *) |
devId |
result: |
|
(id) |
result |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
listenState: |
|
(void(^)(void)) |
callback |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
双模激活(PlugPlay)(Core)
- Parameters
-
devId | 设备id |
result | result |
ssid | 路由器热点名称 |
password | 路由器热点密码 |
callback | 状态回调 |
failure | 失败回调 |
◆ cancelActive [1/2]
Cancel the ongoing activation process.
◆ cancelActive [2/2]
Cancel the ongoing activation process.
◆ cleanReconnectDevice: [1/2]
- (void) cleanReconnectDevice: |
|
(NSString *) |
uuid |
|
◆ cleanReconnectDevice: [2/2]
- (void) cleanReconnectDevice: |
|
(NSString *) |
uuid |
|
◆ connectToDevice:success:failure: [1/2]
连接设备(双模、PlugPlay)(Core)
- Parameters
-
dev | 需要配网的设备 |
success | 成功回调 |
failure | 失败回调 |
◆ connectToDevice:success:failure: [2/2]
连接设备(双模、PlugPlay)(Core)
- Parameters
-
dev | 需要配网的设备 |
success | 成功回调 |
failure | 失败回调 |
◆ multiActiveWithDevice:ssid:passwd:token:handlerDelegate:success:failure: [1/2]
批量配网(Core)
- Parameters
-
deviceInfo | 需要配网的设备 |
ssid | 路由器热点名称 |
passwd | 路由器热点密码 |
token | 配网Token |
handlerDelegate | 用于获取部分补充信息的代理对象 |
success | 成功回调 |
failure | 失败回调 |
◆ multiActiveWithDevice:ssid:passwd:token:handlerDelegate:success:failure: [2/2]
批量配网(Core)
- Parameters
-
deviceInfo | 需要配网的设备 |
ssid | 路由器热点名称 |
passwd | 路由器热点密码 |
token | 配网Token |
handlerDelegate | 用于获取部分补充信息的代理对象 |
success | 成功回调 |
failure | 失败回调 |
◆ pairWithToken:ssid:pwd: [1/2]
- (void) pairWithToken: |
|
(NSString *) |
token |
ssid: |
|
(NSString *) |
ssid |
pwd: |
|
(NSString *) |
pwd |
|
|
| |
◆ pairWithToken:ssid:pwd: [2/2]
- (void) pairWithToken: |
|
(NSString *) |
token |
ssid: |
|
(NSString *) |
ssid |
pwd: |
|
(NSString *) |
pwd |
|
|
| |
◆ pairWithTokenWithDevice:token:ssid:pwd: [1/2]
- (void) pairWithTokenWithDevice: |
|
(id< ThingBLEDeviceInfoProtocol >) |
deviceInfo |
token: |
|
(NSString *) |
token |
ssid: |
|
(NSString *) |
ssid |
pwd: |
|
(NSString *) |
pwd |
|
|
| |
◆ pairWithTokenWithDevice:token:ssid:pwd: [2/2]
- (void) pairWithTokenWithDevice: |
|
(id< ThingBLEDeviceInfoProtocol >) |
deviceInfo |
token: |
|
(NSString *) |
token |
ssid: |
|
(NSString *) |
ssid |
pwd: |
|
(NSString *) |
pwd |
|
|
| |
◆ pairZigbeeSubDeviceWithBleChannel:success:failure: [1/2]
Zigbee 双模子设备蓝牙配对(Core) (包括蓝牙连接、获取子设备信息、配对操作)
- Parameters
-
deviceInfo | 需要配网的设备 |
success | 成功回调 |
failure | 失败回调 |
◆ pairZigbeeSubDeviceWithBleChannel:success:failure: [2/2]
Zigbee 双模子设备蓝牙配对(Core) (包括蓝牙连接、获取子设备信息、配对操作)
- Parameters
-
deviceInfo | 需要配网的设备 |
success | 成功回调 |
failure | 失败回调 |
◆ publishGatewayInfoWithBleChannel:gatewayInfo:success:failure: [1/2]
下发网关信息给 Zigbee 双模子设备
- Parameters
-
deviceInfo | 需要配网的设备 |
gatewayInfo | 网关信息 |
success | 成功回调 |
failure | 失败回调 |
◆ publishGatewayInfoWithBleChannel:gatewayInfo:success:failure: [2/2]
下发网关信息给 Zigbee 双模子设备
- Parameters
-
deviceInfo | 需要配网的设备 |
gatewayInfo | 网关信息 |
success | 成功回调 |
failure | 失败回调 |
◆ queryStateWithDevice:handlerDelegate:success:failure: [1/2]
◆ queryStateWithDevice:handlerDelegate:success:failure: [2/2]
◆ sendConfigWifiInfoWithSsid:passwd:token: [1/2]
- (void) sendConfigWifiInfoWithSsid: |
|
(NSString *) |
ssid |
passwd: |
|
(NSString *) |
passwd |
token: |
|
(NSString *) |
token |
|
|
| |
下发配网信息(ble+wifi双模配网)支持多次下发配网信息
- Parameters
-
ssid | The ssid of router |
passwd | The password of router |
token | The token of config |
◆ sendConfigWifiInfoWithSsid:passwd:token: [2/2]
- (void) sendConfigWifiInfoWithSsid: |
|
(NSString *) |
ssid |
passwd: |
|
(NSString *) |
passwd |
token: |
|
(NSString *) |
token |
|
|
| |
下发配网信息(ble+wifi双模配网)支持多次下发配网信息
- Parameters
-
ssid | The ssid of router |
passwd | The password of router |
token | The token of config |
◆ startActiveWithDevice:handlerDelegate: [1/2]
miniProgram pair id
开始配网(Core)
- Parameters
-
deviceInfo | 需要配网的设备 |
handlerDelegate | 用于获取部分补充信息的代理对象 |
◆ startActiveWithDevice:handlerDelegate: [2/2]
miniProgram pair id
开始配网(Core)
- Parameters
-
deviceInfo | 需要配网的设备 |
handlerDelegate | 用于获取部分补充信息的代理对象 |
◆ startActiveWithDevice:ssid:passwd:token:handlerDelegate:success:failure: [1/2]
开始配网(Core)
- Parameters
-
deviceInfo | 需要配网的设备 |
ssid | 路由器热点名称 |
passwd | 路由器热点密码 |
token | 配网Token |
handlerDelegate | 用于获取部分补充信息的代理对象 |
success | 成功回调 |
failure | 失败回调 |
◆ startActiveWithDevice:ssid:passwd:token:handlerDelegate:success:failure: [2/2]
开始配网(Core)
- Parameters
-
deviceInfo | 需要配网的设备 |
ssid | 路由器热点名称 |
passwd | 路由器热点密码 |
token | 配网Token |
handlerDelegate | 用于获取部分补充信息的代理对象 |
success | 成功回调 |
failure | 失败回调 |
◆ startPreActiveWithDevice:success:failure: [1/2]
◆ startPreActiveWithDevice:success:failure: [2/2]
◆ stopActive [1/2]
◆ stopActive [2/2]
◆ delegate
|
readwriteoptionalnonatomicweak |
◆ handlerDelegate
◆ miniPairId
- (NSString *) miniPairId |
|
readwritenonatomiccopy |
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/ThingBLEActiveProtocol.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartBLECoreKit/Build/ThingSmartBLECoreKit.xcframework/ios-arm64/ThingSmartBLECoreKit.framework/Headers/ThingBLEActiveProtocol.h