![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartActivatorMatterProtocol.h>
Instance Methods | |
(ThingSmartActivatorDeviceModel *) | - parseSetupCode: |
(void) | - continueCommissioningDevice:ignoreAttestationFailure:error: |
(void) | - continueCommissionDevice:typeModel: |
(void) | - startScanAvailableWIFI |
scan device acvailable wifi list. More... | |
(ThingSmartActivatorDeviceModel *) | - parseSetupCode: |
(void) | - continueCommissioningDevice:ignoreAttestationFailure:error: |
(void) | - continueCommissionDevice:typeModel: |
(void) | - startScanAvailableWIFI |
scan device acvailable wifi list. More... | |
Class Methods | |
(void) | + setMatterConfigKey: |
(void) | + setMatterConfigKey: |
Definition at line 12 of file ThingSmartActivatorMatterProtocol.h.
- (void) continueCommissionDevice: | (ThingSmartActivatorDeviceModel *) | deviceModel | |
typeModel: | (ThingSmartActivatorTypeMatterModel *) | typeModel | |
Continue pair WIFI or Thread matter device when session establishment completed.
Notice: There are some rules before use this api to continue pair the matter device.
- matterCommissioningSessionEstablishmentComplete:
routingType
must be equal to ThingMatterRoutingTypeThing
. (routingType
can be known by -matterRoutingComplete:
)- matterCommissioningSessionEstablishmentComplete:
deviceModel | the matter devicemodel. |
typeModel | Network configuration type. |
- (void) continueCommissionDevice: | (ThingSmartActivatorDeviceModel *) | deviceModel | |
typeModel: | (ThingSmartActivatorTypeMatterModel *) | typeModel | |
Continue pair WIFI or Thread matter device when session establishment completed.
Notice: There are some rules before use this api to continue pair the matter device.
- matterCommissioningSessionEstablishmentComplete:
routingType
must be equal to ThingMatterRoutingTypeThing
. (routingType
can be known by -matterRoutingComplete:
)- matterCommissioningSessionEstablishmentComplete:
deviceModel | the matter devicemodel. |
typeModel | Network configuration type. |
- (void) continueCommissioningDevice: | (void *) | device | |
ignoreAttestationFailure: | (BOOL) | ignoreAttestationFailure | |
error: | (NSError *__autoreleasing *) | error | |
Continue the pairing or NOT.
Notice: Can only be used after the -matterDeviceAttestation:error:
delegate callback.
device | It MUST BE the device object through the -matterDeviceAttestation:error: delegate callback. |
ignoreAttestationFailure | Ignore the attestation fail or NOT. YES - continue pairing, NO - interrupt pairing. |
error | the error info. |
- (void) continueCommissioningDevice: | (void *) | device | |
ignoreAttestationFailure: | (BOOL) | ignoreAttestationFailure | |
error: | (NSError *__autoreleasing *) | error | |
Continue the pairing or NOT.
Notice: Can only be used after the -matterDeviceAttestation:error:
delegate callback.
device | It MUST BE the device object through the -matterDeviceAttestation:error: delegate callback. |
ignoreAttestationFailure | Ignore the attestation fail or NOT. YES - continue pairing, NO - interrupt pairing. |
error | the error info. |
- (ThingSmartActivatorDeviceModel *) parseSetupCode: | (NSString *) | qrString |
Check the matter code is legal or not. Returns nil if it is invalid.
qrString | The matter QRCode string or Manual Code string. |
- (ThingSmartActivatorDeviceModel *) parseSetupCode: | (NSString *) | qrString |
Check the matter code is legal or not. Returns nil if it is invalid.
qrString | The matter QRCode string or Manual Code string. |
+ (void) setMatterConfigKey: | (NSString *) | configKey |
Set your App Groups identify
to share data with Matter Extension
Notice
configKey
must be same as the App Groups identify
which is both chose it to Matter Extension Target
and your App Main Target
.+ (void) setMatterConfigKey: | (NSString *) | configKey |
Set your App Groups identify
to share data with Matter Extension
Notice
configKey
must be same as the App Groups identify
which is both chose it to Matter Extension Target
and your App Main Target
.- (void) startScanAvailableWIFI |
scan device acvailable wifi list.
- (void) startScanAvailableWIFI |
scan device acvailable wifi list.