#import <ThingSmartActivator.h>
Definition at line 96 of file ThingSmartActivator.h.
◆ __attribute__ [1/2]
◆ __attribute__ [2/2]
◆ activeGatewayDeviceWithGwId:productId:token:timeout: [1/2]
- (void) activeGatewayDeviceWithGwId: |
|
(NSString *) |
gwId |
productId: |
|
(NSString *) |
productId |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activates wired gateway
- Parameters
-
gwId | The gateway ID. |
productId | The gateway PID |
token | The pairing token. |
timeout | The timeout value. Unit: seconds. Default value: 100 |
◆ activeGatewayDeviceWithGwId:productId:token:timeout: [2/2]
- (void) activeGatewayDeviceWithGwId: |
|
(NSString *) |
gwId |
productId: |
|
(NSString *) |
productId |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activates wired gateway
- Parameters
-
gwId | The gateway ID. |
productId | The gateway PID |
token | The pairing token. |
timeout | The timeout value. Unit: seconds. Default value: 100 |
◆ activeSubDeviceWithGwId:installCodes:timeout: [1/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
installCodes: |
|
(NSArray< NSDictionary * > *) |
installCodes |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activate zigbee sub-devices with installCode(QRCode)
- Parameters
-
gwId | Gateway Id␛␛ |
installCodes | @["installcode": "", @"mac": @"", @"manufaturer_info": @"none"}]
@param timeout Timeout, default 100 seconds
@note values keyed by @"installCode", @"mac" MUST be lowercase |
◆ activeSubDeviceWithGwId:installCodes:timeout: [2/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
installCodes: |
|
(NSArray< NSDictionary * > *) |
installCodes |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activate zigbee sub-devices with installCode(QRCode)
- Parameters
-
gwId | Gateway Id␛␛ |
installCodes | @["installcode": "", @"mac": @"", @"manufaturer_info": @"none"}]
@param timeout Timeout, default 100 seconds
@note values keyed by @"installCode", @"mac" MUST be lowercase |
◆ activeSubDeviceWithGwId:mac:installCode:timeout: [1/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
mac: |
|
(NSString *) |
mac |
installCode: |
|
(NSString *) |
installCode |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activate zigbee sub-devices with installCode
- Parameters
-
gwId | Gateway Id␛␛ |
mac | mac |
installCode | installCode |
timeout | Timeout, default 100 seconds |
◆ activeSubDeviceWithGwId:mac:installCode:timeout: [2/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
mac: |
|
(NSString *) |
mac |
installCode: |
|
(NSString *) |
installCode |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activate zigbee sub-devices with installCode
- Parameters
-
gwId | Gateway Id␛␛ |
mac | mac |
installCode | installCode |
timeout | Timeout, default 100 seconds |
◆ activeSubDeviceWithGwId:timeout: [1/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activate sub-devices e.g. zigbee, Wi-Fi sub-devices.
- Parameters
-
gwId | Gateway Id␛␛ |
timeout | Timeout, default 100 seconds |
◆ activeSubDeviceWithGwId:timeout: [2/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Activate sub-devices e.g. zigbee, Wi-Fi sub-devices.
- Parameters
-
gwId | Gateway Id␛␛ |
timeout | Timeout, default 100 seconds |
◆ activeSubDeviceWithGwId:timeout:extensions: [1/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
timeout: |
|
(NSTimeInterval) |
timeout |
extensions: |
|
(nullable NSDictionary *) |
extensions |
|
|
| |
◆ activeSubDeviceWithGwId:timeout:extensions: [2/2]
- (void) activeSubDeviceWithGwId: |
|
(NSString *) |
gwId |
timeout: |
|
(NSTimeInterval) |
timeout |
extensions: |
|
(nullable NSDictionary *) |
extensions |
|
|
| |
◆ connectDeviceAndQueryWifiListWithConfigurations:timeout: [1/2]
- (void) connectDeviceAndQueryWifiListWithConfigurations: |
|
(ThingSmartPairConfiguration *) |
configurations |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ connectDeviceAndQueryWifiListWithConfigurations:timeout: [2/2]
- (void) connectDeviceAndQueryWifiListWithConfigurations: |
|
(ThingSmartPairConfiguration *) |
configurations |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ connectDeviceAndQueryWifiListWithTimeout: [1/2]
- (void) connectDeviceAndQueryWifiListWithTimeout: |
|
(NSTimeInterval) |
timeout |
|
Start connect device and query wifi list
- Parameters
-
◆ connectDeviceAndQueryWifiListWithTimeout: [2/2]
- (void) connectDeviceAndQueryWifiListWithTimeout: |
|
(NSTimeInterval) |
timeout |
|
Start connect device and query wifi list
- Parameters
-
◆ connectWiFiWithSSID:password:success:failure: [1/2]
Start connect wifi
- Parameters
-
ssid | Name of route. |
password | Password of route. |
success | Called when the task finishes successfully. |
failure | Called when the task is interrupted by an error. |
◆ connectWiFiWithSSID:password:success:failure: [2/2]
Start connect wifi
- Parameters
-
ssid | Name of route. |
password | Password of route. |
success | Called when the task finishes successfully. |
failure | Called when the task is interrupted by an error. |
◆ connectWifiWithSSIDPrefix:password:success:failure: [1/2]
- (void) connectWifiWithSSIDPrefix: |
|
(NSString *) |
SSIDPrefix |
password: |
|
(NSString *) |
password |
success: |
|
(nullable ThingSuccessHandler) |
success |
failure: |
|
(nullable ThingFailureError) |
failure |
|
|
| |
Start connect wifi with SSID prefix
- Parameters
-
SSIDPrefix | Route name prefix |
password | Password of route. |
success | Called when the task finishes successfully. |
failure | Called when the task is interrupted by an error. |
◆ connectWifiWithSSIDPrefix:password:success:failure: [2/2]
- (void) connectWifiWithSSIDPrefix: |
|
(NSString *) |
SSIDPrefix |
password: |
|
(NSString *) |
password |
success: |
|
(nullable ThingSuccessHandler) |
success |
failure: |
|
(nullable ThingFailureError) |
failure |
|
|
| |
Start connect wifi with SSID prefix
- Parameters
-
SSIDPrefix | Route name prefix |
password | Password of route. |
success | Called when the task finishes successfully. |
failure | Called when the task is interrupted by an error. |
◆ continueConfigSecurityLevelDevice [1/2]
- (void) continueConfigSecurityLevelDevice |
|
|
|
Continue config the device witch has security level. Notice: before calling this method, please make sure that the SSID is the same as the one the user selected at the beginning.
◆ continueConfigSecurityLevelDevice [2/2]
- (void) continueConfigSecurityLevelDevice |
|
|
|
Continue config the device witch has security level. Notice: before calling this method, please make sure that the SSID is the same as the one the user selected at the beginning.
◆ currentWifiBSSID [1/2]
+ (NSString *) currentWifiBSSID |
|
|
|
◆ currentWifiBSSID [2/2]
+ (NSString *) currentWifiBSSID |
|
|
|
◆ currentWifiSSID [1/2]
+ (NSString *) currentWifiSSID |
|
|
|
Get the SSID of the current Wi-Fi.
Starting with iOS 12, calls to this function will return nil by default, and will only return the correct value if "Access WiFi Information" is enabled in the Xcode project. This function needs to be activated in the App IDs on the developer page in order to use it. Starting with iOS 13, at least one of the following three conditions must also be met.
- An app that has been granted Location Services permissions.
- A VPN application that is currently enabled.
- Use of NEHotspotConfiguration (only Wi-Fi networks configured through the app are supported).
- See also
- https://developer.apple.com/videos/play/wwdc2019/713/
- Returns
- Wi-Fi SSID
◆ currentWifiSSID [2/2]
+ (NSString *) currentWifiSSID |
|
|
|
Get the SSID of the current Wi-Fi.
Starting with iOS 12, calls to this function will return nil by default, and will only return the correct value if "Access WiFi Information" is enabled in the Xcode project. This function needs to be activated in the App IDs on the developer page in order to use it. Starting with iOS 13, at least one of the following three conditions must also be met.
- An app that has been granted Location Services permissions.
- A VPN application that is currently enabled.
- Use of NEHotspotConfiguration (only Wi-Fi networks configured through the app are supported).
- See also
- https://developer.apple.com/videos/play/wwdc2019/713/
- Returns
- Wi-Fi SSID
◆ disconnectWifiWithSSID: [1/2]
- (void) disconnectWifiWithSSID: |
|
(NSString *) |
ssid |
|
◆ disconnectWifiWithSSID: [2/2]
- (void) disconnectWifiWithSSID: |
|
(NSString *) |
ssid |
|
◆ getBSSID:failure: [1/2]
Asynchronously get the BSSID of the current Wi-Fi.
- Parameters
-
success | Called when the task finishes successfully. ThingSuccessString will be returned. |
failure | Called when the task is interrupted by an error. |
◆ getBSSID:failure: [2/2]
Asynchronously get the BSSID of the current Wi-Fi.
- Parameters
-
success | Called when the task finishes successfully. ThingSuccessString will be returned. |
failure | Called when the task is interrupted by an error. |
◆ getDeviceSecurityConfigs:failure: [1/2]
◆ getDeviceSecurityConfigs:failure: [2/2]
◆ getSSID:failure: [1/2]
Get the SSID of the current Wi-Fi asynchronously.
- See also
- + currentWifiSSID
- Parameters
-
success | Called when the task finishes successfully. ThingSuccessString will be returned. |
failure | Called when the task is interrupted by an error. |
◆ getSSID:failure: [2/2]
Get the SSID of the current Wi-Fi asynchronously.
- See also
- + currentWifiSSID
- Parameters
-
success | Called when the task finishes successfully. ThingSuccessString will be returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithHomeId:success:failure: [1/2]
Returns the pairing token by home ID. This token is valid for 10 minutes.
- Parameters
-
homeId | The home ID. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithHomeId:success:failure: [2/2]
Returns the pairing token by home ID. This token is valid for 10 minutes.
- Parameters
-
homeId | The home ID. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithMeshId:nodeId:productId:uuid:authKey:version:success:failure: [1/2]
- (void) getTokenWithMeshId: |
|
(NSString *) |
meshId |
nodeId: |
|
(NSString *) |
nodeId |
productId: |
|
(NSString *) |
productId |
uuid: |
|
(NSString *) |
uuid |
authKey: |
|
(NSString *) |
authKey |
version: |
|
(NSString *) |
version |
success: |
|
(ThingSuccessString) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Adds a Wi-Fi connector to a mesh network and returns a pairing token that is valid for 10 minutes.
- Parameters
-
meshId | The mesh ID. |
nodeId | The node ID. |
productId | The product ID. |
uuid | The device UUID. |
authKey | The authorization key. |
version | The version. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartActivator(BleMesh).
◆ getTokenWithMeshId:nodeId:productId:uuid:authKey:version:success:failure: [2/2]
- (void) getTokenWithMeshId: |
|
(NSString *) |
meshId |
nodeId: |
|
(NSString *) |
nodeId |
productId: |
|
(NSString *) |
productId |
uuid: |
|
(NSString *) |
uuid |
authKey: |
|
(NSString *) |
authKey |
version: |
|
(NSString *) |
version |
success: |
|
(ThingSuccessString) |
success |
failure: |
|
(ThingFailureError) |
failure |
|
|
| |
Adds a Wi-Fi connector to a mesh network and returns a pairing token that is valid for 10 minutes.
- Parameters
-
meshId | The mesh ID. |
nodeId | The node ID. |
productId | The product ID. |
uuid | The device UUID. |
authKey | The authorization key. |
version | The version. |
success | Called when the task is finished. |
failure | Called when the task is interrupted by an error. |
Provided by category ThingSmartActivator(BleMesh).
◆ getTokenWithProductKey:homeId:success:failure: [1/2]
Returns the pairing token by product ID. This token is valid for 10 minutes.
- Parameters
-
productKey | The product ID. |
homeId | The home ID. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithProductKey:homeId:success:failure: [2/2]
Returns the pairing token by product ID. This token is valid for 10 minutes.
- Parameters
-
productKey | The product ID. |
homeId | The home ID. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithUUID:homeId:success:failure: [1/2]
Returns the pairing token by UUID. This token is valid for 10 minutes.
- Parameters
-
uuid | The device UUID. |
homeId | The home ID. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ getTokenWithUUID:homeId:success:failure: [2/2]
Returns the pairing token by UUID. This token is valid for 10 minutes.
- Parameters
-
uuid | The device UUID. |
homeId | The home ID. |
success | Called when the task is finished. ThingSuccessString is returned. |
failure | Called when the task is interrupted by an error. |
◆ parseQRCode:success:failure: [1/2]
Returns the parsed QR Code from device.
- Parameters
-
content | QR Code content |
success | Called when the task is finished. ThingSuccessId is returned. |
failure | Called when the task is interrupted by an error. |
◆ parseQRCode:success:failure: [2/2]
Returns the parsed QR Code from device.
- Parameters
-
content | QR Code content |
success | Called when the task is finished. ThingSuccessId is returned. |
failure | Called when the task is interrupted by an error. |
◆ renewalToken:success:failure: [1/2]
Renewal the pairing token by token. This token is valid for 10 minutes.
- Parameters
-
token | The token |
success | Called when the task is finished. ThingSuccessBool is returned. |
failure | Called when the task is interrupted by an error. |
◆ renewalToken:success:failure: [2/2]
Renewal the pairing token by token. This token is valid for 10 minutes.
- Parameters
-
token | The token |
success | Called when the task is finished. ThingSuccessBool is returned. |
failure | Called when the task is interrupted by an error. |
◆ resetDeviceWithUUID: [1/2]
- (void) resetDeviceWithUUID: |
|
(NSString *) |
uuid |
|
◆ resetDeviceWithUUID: [2/2]
- (void) resetDeviceWithUUID: |
|
(NSString *) |
uuid |
|
◆ resumeAPPlusWithSSID:password:token:timeout: [1/2]
- (void) resumeAPPlusWithSSID: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ resumeAPPlusWithSSID:password:token:timeout: [2/2]
- (void) resumeAPPlusWithSSID: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ resumeAPPlusWithSSID:password:token:timeout:reg: [1/2]
- (void) resumeAPPlusWithSSID: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
reg: |
|
(NSDictionary *) |
reg |
|
|
| |
◆ resumeAPPlusWithSSID:password:token:timeout:reg: [2/2]
- (void) resumeAPPlusWithSSID: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
reg: |
|
(NSDictionary *) |
reg |
|
|
| |
◆ resumeConfigWiFi:error: [1/2]
If the device fails to connect to WiFi, call it to help you resume pairing. Only ap mode is supported.
- See also
- activator:didReceiveDevice:step:error: If this callback is received, the step is
ThingActivatorStepFound
, and ThingSmartPairingConnectWiFiFailedErrorDomain
is returned.\ Check the errorcode to do something 0 connect wifi success 1 error wifi config info 2 router not found 3 wrong password 4 Failed to connect to router 5 config DHCP failed
-
ThingSmartPairingConnectWiFiFailedErrorDomain
、ThingSmartPairingResumeConfigWiFiParam
in {ThingSmartPairingCoreKit}.
-
ThingPairingErrorCode
in {ThingSmartPairingCoreKit}.
- Parameters
-
param | ssid is required and mode needs to be ThingActivatorModeAP . |
error | resume failed, check this error |
- Returns
- 0 success. resume failed, for the returned error code, please refer to the definition of the enum
ThingPairingErrorCode
◆ resumeConfigWiFi:error: [2/2]
If the device fails to connect to WiFi, call it to help you resume pairing. Only ap mode is supported.
- See also
- activator:didReceiveDevice:step:error: If this callback is received, the step is
ThingActivatorStepFound
, and ThingSmartPairingConnectWiFiFailedErrorDomain
is returned.\ Check the errorcode to do something 0 connect wifi success 1 error wifi config info 2 router not found 3 wrong password 4 Failed to connect to router 5 config DHCP failed
-
ThingSmartPairingConnectWiFiFailedErrorDomain
、ThingSmartPairingResumeConfigWiFiParam
in {ThingSmartPairingCoreKit}.
-
ThingPairingErrorCode
in {ThingSmartPairingCoreKit}.
- Parameters
-
param | ssid is required and mode needs to be ThingActivatorModeAP . |
error | resume failed, check this error |
- Returns
- 0 success. resume failed, for the returned error code, please refer to the definition of the enum
ThingPairingErrorCode
◆ resumeToken: [1/2]
- (void) resumeToken: |
|
(NSString *) |
token |
|
◆ resumeToken: [2/2]
- (void) resumeToken: |
|
(NSString *) |
token |
|
◆ scanConnectableWiFiList:success:failure: [1/2]
Scan the WiFi list by the device you're pairing. Only ap mode is supported.
- Parameters
-
param | Set the limit parameter to limit the number of wifi scanned, or set timeInterval to limit the maximum scan duration. |
- See also
ThingSmartPairingScanWiFiListParam
,ThingSmartPairingWiFiInfo
in {ThingSmartPairingCoreKit}.
-
ThingPairingErrorCode
in {ThingSmartPairingCoreKit}.
- Parameters
-
success | Returns an array of scanned WiFi objects |
failure | If it fails, check the error information |
◆ scanConnectableWiFiList:success:failure: [2/2]
Scan the WiFi list by the device you're pairing. Only ap mode is supported.
- Parameters
-
param | Set the limit parameter to limit the number of wifi scanned, or set timeInterval to limit the maximum scan duration. |
- See also
ThingSmartPairingScanWiFiListParam
,ThingSmartPairingWiFiInfo
in {ThingSmartPairingCoreKit}.
-
ThingPairingErrorCode
in {ThingSmartPairingCoreKit}.
- Parameters
-
success | Returns an array of scanned WiFi objects |
failure | If it fails, check the error information |
◆ sharedInstance [1/2]
+ (nullable instancetype) sharedInstance |
|
|
|
Returns a singleton of the class.
◆ sharedInstance [2/2]
+ (nullable instancetype) sharedInstance |
|
|
|
Returns a singleton of the class.
◆ startActiveDeviceWithConfigurations:mode:timeout: [1/2]
- (void) startActiveDeviceWithConfigurations: |
|
(ThingSmartPairConfiguration *) |
configurations |
mode: |
|
(ThingActivatorMode) |
mode |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ startActiveDeviceWithConfigurations:mode:timeout: [2/2]
- (void) startActiveDeviceWithConfigurations: |
|
(ThingSmartPairConfiguration *) |
configurations |
mode: |
|
(ThingActivatorMode) |
mode |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ startBleMeshConfigWiFiWithSsid:password:token:timeout: [1/2]
- (void) startBleMeshConfigWiFiWithSsid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Connects a device to a Bluetooth mesh network.
- Parameters
-
ssid | The router hotspot name. |
password | The router hotspot password. |
token | The pairing token. |
timeout | The timeout value is 100 seconds by default. |
Provided by category ThingSmartActivator(BleMesh).
◆ startBleMeshConfigWiFiWithSsid:password:token:timeout: [2/2]
- (void) startBleMeshConfigWiFiWithSsid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Connects a device to a Bluetooth mesh network.
- Parameters
-
ssid | The router hotspot name. |
password | The router hotspot password. |
token | The pairing token. |
timeout | The timeout value is 100 seconds by default. |
Provided by category ThingSmartActivator(BleMesh).
◆ startConfig4GGatewayByAP:apn:username:password:token:regInfo:timeout: [1/2]
- (void) startConfig4GGatewayByAP: |
|
(NSString *) |
oper |
apn: |
|
(NSString *) |
apn |
username: |
|
(NSString *) |
username |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
regInfo: |
|
(NSDictionary *) |
regInfo |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Start configuration 4G gateway by AP.
- Parameters:
- oper: operator
- apn: apn
- username: username
- password: password
- token: token
- regInfo: regInfo
- timeout: Timeout, default 100 seconds
◆ startConfig4GGatewayByAP:apn:username:password:token:regInfo:timeout: [2/2]
- (void) startConfig4GGatewayByAP: |
|
(NSString *) |
oper |
apn: |
|
(NSString *) |
apn |
username: |
|
(NSString *) |
username |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
regInfo: |
|
(NSDictionary *) |
regInfo |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Start configuration 4G gateway by AP.
- Parameters:
- oper: operator
- apn: apn
- username: username
- password: password
- token: token
- regInfo: regInfo
- timeout: Timeout, default 100 seconds
◆ startConfigWiFi:ssid:password:token:regInfo:timeout: [1/2]
- (void) startConfigWiFi: |
|
(ThingActivatorMode) |
mode |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
regInfo: |
|
(nullable NSDictionary *) |
regInfo |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ startConfigWiFi:ssid:password:token:regInfo:timeout: [2/2]
- (void) startConfigWiFi: |
|
(ThingActivatorMode) |
mode |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
regInfo: |
|
(nullable NSDictionary *) |
regInfo |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
◆ startConfigWiFi:ssid:password:token:timeout: [1/2]
- (void) startConfigWiFi: |
|
(ThingActivatorMode) |
mode |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Start configuration (Wireless config).
- Parameters
-
mode | Config mode, EZ or AP. |
ssid | Name of route. |
password | Password of route. |
token | Config Token. |
timeout | Timeout, default 100 seconds. |
◆ startConfigWiFi:ssid:password:token:timeout: [2/2]
- (void) startConfigWiFi: |
|
(ThingActivatorMode) |
mode |
ssid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Start configuration (Wireless config).
- Parameters
-
mode | Config mode, EZ or AP. |
ssid | Name of route. |
password | Password of route. |
token | Config Token. |
timeout | Timeout, default 100 seconds. |
◆ startConfigWiFiWithToken:productId:timeout: [1/2]
- (void) startConfigWiFiWithToken: |
|
(NSString *) |
token |
productId: |
|
(NSString *) |
productId |
timeout: |
|
("Use - instead.") |
__deprecated_msg[activeGatewayDeviceWithGwId:productId:token:timeout:] |
|
|
| |
Start configuring the network to activate only one category of devices (Wired config).
- Parameters
-
token | Config Token. |
productId | ProductId of device. |
timeout | Timeout, default 100 seconds. |
◆ startConfigWiFiWithToken:productId:timeout: [2/2]
- (void) startConfigWiFiWithToken: |
|
(NSString *) |
token |
productId: |
|
(NSString *) |
productId |
timeout: |
|
("Use - instead.") |
__deprecated_msg[activeGatewayDeviceWithGwId:productId:token:timeout:] |
|
|
| |
Start configuring the network to activate only one category of devices (Wired config).
- Parameters
-
token | Config Token. |
productId | ProductId of device. |
timeout | Timeout, default 100 seconds. |
◆ startConfigWiFiWithToken:timeout: [1/2]
- (void) startConfigWiFiWithToken: |
|
(NSString *) |
token |
timeout: |
|
("Use - instead.") |
__deprecated_msg[activeGatewayDeviceWithGwId:productId:token:timeout:] |
|
|
| |
Start configuration (Wired config).
- Parameters
-
token | Token |
timeout | Timeout, default 100 seconds. |
◆ startConfigWiFiWithToken:timeout: [2/2]
- (void) startConfigWiFiWithToken: |
|
(NSString *) |
token |
timeout: |
|
("Use - instead.") |
__deprecated_msg[activeGatewayDeviceWithGwId:productId:token:timeout:] |
|
|
| |
Start configuration (Wired config).
- Parameters
-
token | Token |
timeout | Timeout, default 100 seconds. |
◆ startEZMultiConfigWiFiWithSsid:password:token:timeout: [1/2]
- (void) startEZMultiConfigWiFiWithSsid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Start EZ mode multi-device configuration network
- Parameters
-
ssid | Name of route. |
password | Password of route. |
token | Config Token. |
timeout | Timeout, default 100 seconds. |
◆ startEZMultiConfigWiFiWithSsid:password:token:timeout: [2/2]
- (void) startEZMultiConfigWiFiWithSsid: |
|
(NSString *) |
ssid |
password: |
|
(NSString *) |
password |
token: |
|
(NSString *) |
token |
timeout: |
|
(NSTimeInterval) |
timeout |
|
|
| |
Start EZ mode multi-device configuration network
- Parameters
-
ssid | Name of route. |
password | Password of route. |
token | Config Token. |
timeout | Timeout, default 100 seconds. |
◆ stopActiveSubDeviceWithGwId: [1/2]
- (void) stopActiveSubDeviceWithGwId: |
|
(NSString *) |
gwId |
|
Stop activate sub device with gateway ID.
- Parameters
-
◆ stopActiveSubDeviceWithGwId: [2/2]
- (void) stopActiveSubDeviceWithGwId: |
|
(NSString *) |
gwId |
|
Stop activate sub device with gateway ID.
- Parameters
-
◆ stopConfigWiFi [1/2]
Stop configuring the network.␛.
◆ stopConfigWiFi [2/2]
Stop configuring the network.␛.
◆ delegate
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingSmartActivatorCoreKit/Build/ThingSmartActivatorCoreKit.xcframework/ios-arm64_x86_64-simulator/ThingSmartActivatorCoreKit.framework/Headers/ThingSmartActivator.h
- /Users/humtong/Downloads/Pods_副本/ThingSmartActivatorCoreKit/Build/ThingSmartActivatorCoreKit.xcframework/ios-arm64/ThingSmartActivatorCoreKit.framework/Headers/ThingSmartActivator.h