Tuya iOS Smart Life App SDK 5.15.0
WTLCommissioningParameters Class Reference

#import <WTLCommissioningParameters.h>

Inheritance diagram for WTLCommissioningParameters:

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< WTLDeviceAttestationDelegatedeviceAttestationDelegate
 
BOOL skipCommissioningComplete WTL_NEWLY_AVAILABLE
 

Detailed Description

Information that can be provided to commissionWithNodeID to commision devices.

Definition at line 28 of file WTLCommissioningParameters.h.

Method Documentation

◆ API_AVAILABLE [1/2]

- (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.

◆ API_AVAILABLE [2/2]

- (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.

◆ WTL_DEPRECATED_WITH_REPLACEMENT [1/2]

- (NSData *CSRNonce) WTL_DEPRECATED_WITH_REPLACEMENT ("csrNonce") 
(macos(13.0, 13.3)) 
(watchos(9.1, 9.4)) 
(tvos(16.1, 16.4))   

◆ WTL_DEPRECATED_WITH_REPLACEMENT [2/2]

- (NSNumber *failSafeExpiryTimeoutSecs) WTL_DEPRECATED_WITH_REPLACEMENT ("failSafeTimeout") 
(macos(13.0, 13.3)) 
(watchos(9.1, 9.4)) 
(tvos(16.1, 16.4))   

Property Documentation

◆ attestationNonce

- (NSData*) attestationNonce
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.

◆ deviceAttestationDelegate

- (id<WTLDeviceAttestationDelegate>) deviceAttestationDelegate
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.

◆ threadOperationalDataset

- (NSData*) threadOperationalDataset
readwritenonatomiccopy

The Thread operational dataset, if available.

Definition at line 63 of file WTLCommissioningParameters.h.

◆ wifiCredentials

- (NSData*) wifiCredentials
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.

◆ wifiSSID

- (NSData*) wifiSSID
readwritenonatomiccopy

The Wi-Fi SSID, if available.

Definition at line 52 of file WTLCommissioningParameters.h.

◆ WTL_NEWLY_AVAILABLE

- (BOOL skipCommissioningComplete) WTL_NEWLY_AVAILABLE
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.


The documentation for this class was generated from the following file: