![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <WTLCommissioningParameters.h>
Instance Methods | |
(NSData *csrNonce) | - API_AVAILABLE |
(NSNumber *failSafeTimeout) | - API_AVAILABLE |
(NSData *CSRNonce) | - WTL_DEPRECATED_WITH_REPLACEMENT |
(NSNumber *failSafeExpiryTimeoutSecs) | - WTL_DEPRECATED_WITH_REPLACEMENT |
Properties | |
NSData * | attestationNonce |
NSData * | wifiSSID |
NSData * | wifiCredentials |
NSData * | threadOperationalDataset |
id< WTLDeviceAttestationDelegate > | deviceAttestationDelegate |
BOOL skipCommissioningComplete | WTL_NEWLY_AVAILABLE |
Information that can be provided to commissionWithNodeID to commision devices.
Definition at line 28 of file WTLCommissioningParameters.h.
- (NSData *csrNonce) API_AVAILABLE | (macos(13.3)) | ||
(watchos(9.4)) | |||
(tvos(16.4)) | |||
The nonce to use when requesting a CSR for the node's operational certificate.
If nil, a random nonce will be generated automatically.
If not nil, must be 32 bytes of data.
- (NSNumber *failSafeTimeout) API_AVAILABLE | (macos(13.3)) | ||
(watchos(9.4)) | |||
(tvos(16.4)) | |||
The timeout, in seconds, to set for the fail-safe when calling into the deviceAttestationDelegate and waiting for it to respond.
If nil, the fail-safe will not be extended before calling into the deviceAttestationDelegate.
- (NSData *CSRNonce) WTL_DEPRECATED_WITH_REPLACEMENT | ("csrNonce") | ||
(macos(13.0, 13.3)) | |||
(watchos(9.1, 9.4)) | |||
(tvos(16.1, 16.4)) | |||
Provided by category WTLCommissioningParameters(Deprecated).
- (NSNumber *failSafeExpiryTimeoutSecs) WTL_DEPRECATED_WITH_REPLACEMENT | ("failSafeTimeout") | ||
(macos(13.0, 13.3)) | |||
(watchos(9.1, 9.4)) | |||
(tvos(16.1, 16.4)) | |||
Provided by category WTLCommissioningParameters(Deprecated).
|
readwritenonatomiccopy |
The nonce to use when requesting attestation information from the device.
If nil, a random nonce will be generated automatically.
If not nil, must be 32 bytes of data.
Definition at line 47 of file WTLCommissioningParameters.h.
|
readwritenonatomicstrong |
An optional delegate that can be notified upon completion of device attestation. See documentation for WTLDeviceAttestationDelegate for details.
The delegate methods will be invoked on an arbitrary thread.
Definition at line 72 of file WTLCommissioningParameters.h.
|
readwritenonatomiccopy |
The Thread operational dataset, if available.
Definition at line 63 of file WTLCommissioningParameters.h.
|
readwritenonatomiccopy |
The Wi-Fi Credentials. Allowed to be nil or 0-length data for an open network, as long as wifiSSID is not nil.
Definition at line 58 of file WTLCommissioningParameters.h.
|
readwritenonatomiccopy |
The Wi-Fi SSID, if available.
Definition at line 52 of file WTLCommissioningParameters.h.
|
readwritenonatomicassign |
Only perform the PASE steps of commissioning. If set to YES, commissioning will be completed by another admin on the network.
Defaults to NO.
Definition at line 89 of file WTLCommissioningParameters.h.