Fix various miscellaneous Darwin API issues. (#22574)
* Rename readAttributeWithEndpointID to readAttributePathWithEndpointID
* Document readAttributePathWithEndpointID
* Rename subscribeAttributeWithEndpointID to subscribeAttributePathWithEndpointID
* Document subscribeAttributePathWithEndpointID
* Switch various things from "strong" to "copy" for paths, reports, etc.
* Remove redundant "nonnull" declarations on properties.
* Create typedefs for the NSData representations of certificates, for readability
* Replace "(nullable X *)" with "(X * _Nullable)" in various places.
* Fix various documentation.
* Rename "failSafeExpiryTimeoutSecs" to "failSafeExpiryTimeout".
Fixes https://github.com/project-chip/connectedhomeip/issues/22531
Addresses part of https://github.com/project-chip/connectedhomeip/issues/22420
diff --git a/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h b/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h
index ab6165f..e295a3e 100644
--- a/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h
+++ b/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h
@@ -55,23 +55,23 @@
dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL);
MTRReadParams * params = [[MTRReadParams alloc] init];
params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil;
- [device
- readAttributeWithEndpointID:[NSNumber numberWithUnsignedShort:endpointId]
- clusterID:[NSNumber numberWithUnsignedInteger:mClusterId]
- attributeID:[NSNumber numberWithUnsignedInteger:mAttributeId]
- params:params
- queue:callbackQueue
- completion:^(NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
- if (error != nil) {
- LogNSError("Error reading attribute", error);
- }
- if (values) {
- for (id item in values) {
- NSLog(@"Response Item: %@", [item description]);
- }
- }
- SetCommandExitStatus(error);
- }];
+ [device readAttributePathWithEndpointID:[NSNumber numberWithUnsignedShort:endpointId]
+ clusterID:[NSNumber numberWithUnsignedInteger:mClusterId]
+ attributeID:[NSNumber numberWithUnsignedInteger:mAttributeId]
+ params:params
+ queue:callbackQueue
+ completion:^(
+ NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
+ if (error != nil) {
+ LogNSError("Error reading attribute", error);
+ }
+ if (values) {
+ for (id item in values) {
+ NSLog(@"Response Item: %@", [item description]);
+ }
+ }
+ SetCommandExitStatus(error);
+ }];
return CHIP_NO_ERROR;
}
@@ -129,7 +129,7 @@
= mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil;
params.autoResubscribe = mAutoResubscribe.HasValue() ? [NSNumber numberWithBool:mAutoResubscribe.Value()] : nil;
- [device subscribeAttributeWithEndpointID:[NSNumber numberWithUnsignedShort:endpointId]
+ [device subscribeAttributePathWithEndpointID:[NSNumber numberWithUnsignedShort:endpointId]
clusterID:[NSNumber numberWithUnsignedInteger:mClusterId]
attributeID:[NSNumber numberWithUnsignedInteger:mAttributeId]
minInterval:[NSNumber numberWithUnsignedInteger:mMinInterval]
diff --git a/src/darwin/CHIPTool/CHIPTool/View Controllers/QRCode/QRCodeViewController.m b/src/darwin/CHIPTool/CHIPTool/View Controllers/QRCode/QRCodeViewController.m
index ec4ce5d..094ae11 100644
--- a/src/darwin/CHIPTool/CHIPTool/View Controllers/QRCode/QRCodeViewController.m
+++ b/src/darwin/CHIPTool/CHIPTool/View Controllers/QRCode/QRCodeViewController.m
@@ -506,7 +506,7 @@
} else {
MTRCommissioningParameters * params = [[MTRCommissioningParameters alloc] init];
params.deviceAttestationDelegate = [[CHIPToolDeviceAttestationDelegate alloc] initWithViewController:self];
- params.failSafeExpiryTimeoutSecs = @600;
+ params.failSafeExpiryTimeout = @600;
NSError * error;
if (![controller commissionDevice:deviceId commissioningParams:params error:&error]) {
NSLog(@"Failed to commission Device %llu, with error %@", deviceId, error);
@@ -674,7 +674,7 @@
params.wifiSSID = [ssid dataUsingEncoding:NSUTF8StringEncoding];
params.wifiCredentials = [password dataUsingEncoding:NSUTF8StringEncoding];
params.deviceAttestationDelegate = [[CHIPToolDeviceAttestationDelegate alloc] initWithViewController:self];
- params.failSafeExpiryTimeoutSecs = @600;
+ params.failSafeExpiryTimeout = @600;
uint64_t deviceId = MTRGetNextAvailableDeviceID() - 1;
diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.h b/src/darwin/Framework/CHIP/MTRBaseDevice.h
index 27f7349..ea98603 100644
--- a/src/darwin/Framework/CHIP/MTRBaseDevice.h
+++ b/src/darwin/Framework/CHIP/MTRBaseDevice.h
@@ -184,14 +184,21 @@
resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduled;
/**
- * Read attribute in a designated attribute path
+ * Reads the given attribute path from the device.
+ *
+ * nil values for endpointID, clusterID, attributeID indicate wildcards
+ * (e.g. nil attributeID means "read all the attributes from the endpoint(s) and
+ * cluster(s) that match endpointID/clusterID").
+ *
+ * A non-nil attributeID along with a nil clusterID will only succeed if the
+ * attribute ID is for a global attribute that applies to all clusters.
*/
-- (void)readAttributeWithEndpointID:(NSNumber * _Nullable)endpointID
- clusterID:(NSNumber * _Nullable)clusterID
- attributeID:(NSNumber * _Nullable)attributeID
- params:(MTRReadParams * _Nullable)params
- queue:(dispatch_queue_t)queue
- completion:(MTRDeviceResponseHandler)completion;
+- (void)readAttributePathWithEndpointID:(NSNumber * _Nullable)endpointID
+ clusterID:(NSNumber * _Nullable)clusterID
+ attributeID:(NSNumber * _Nullable)attributeID
+ params:(MTRReadParams * _Nullable)params
+ queue:(dispatch_queue_t)queue
+ completion:(MTRDeviceResponseHandler)completion;
/**
* Write to attribute in a designated attribute path
@@ -203,8 +210,8 @@
*
* @param completion response handler will receive either values or error.
*
- * Received values are an NSArray object with response-value element as described in
- * readAttributeWithEndpointID:clusterID:attributeID:queue:completion:.
+ * Received values are documented in the definition of
+ * MTRDeviceResponseHandler.
*/
- (void)writeAttributeWithEndpointID:(NSNumber *)endpointID
clusterID:(NSNumber *)clusterID
@@ -235,17 +242,24 @@
completion:(MTRDeviceResponseHandler)completion;
/**
- * Subscribe an attribute in a designated attribute path
+ * Subscribes to the given attribute path on the device.
+ *
+ * nil values for endpointID, clusterID, attributeID indicate wildcards
+ * (e.g. nil attributeID means "read all the attributes from the endpoint(s) and
+ * cluster(s) that match endpointID/clusterID").
+ *
+ * A non-nil attributeID along with a nil clusterID will only succeed if the
+ * attribute ID is for a global attribute that applies to all clusters.
*/
-- (void)subscribeAttributeWithEndpointID:(NSNumber * _Nullable)endpointID
- clusterID:(NSNumber * _Nullable)clusterID
- attributeID:(NSNumber * _Nullable)attributeID
- minInterval:(NSNumber *)minInterval
- maxInterval:(NSNumber *)maxInterval
- params:(MTRSubscribeParams * _Nullable)params
- queue:(dispatch_queue_t)queue
- reportHandler:(MTRDeviceResponseHandler)reportHandler
- subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished;
+- (void)subscribeAttributePathWithEndpointID:(NSNumber * _Nullable)endpointID
+ clusterID:(NSNumber * _Nullable)clusterID
+ attributeID:(NSNumber * _Nullable)attributeID
+ minInterval:(NSNumber *)minInterval
+ maxInterval:(NSNumber *)maxInterval
+ params:(MTRSubscribeParams * _Nullable)params
+ queue:(dispatch_queue_t)queue
+ reportHandler:(MTRDeviceResponseHandler)reportHandler
+ subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished;
/**
* Deregister all local report handlers for a remote device
@@ -279,9 +293,9 @@
@end
@interface MTRAttributePath : NSObject <NSCopying>
-@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * attribute;
+@property (nonatomic, readonly, copy) NSNumber * endpoint;
+@property (nonatomic, readonly, copy) NSNumber * cluster;
+@property (nonatomic, readonly, copy) NSNumber * attribute;
+ (instancetype)attributePathWithEndpointID:(NSNumber *)endpointID
clusterID:(NSNumber *)clusterID
@@ -292,9 +306,9 @@
@end
@interface MTREventPath : NSObject
-@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * event;
+@property (nonatomic, readonly, copy) NSNumber * endpoint;
+@property (nonatomic, readonly, copy) NSNumber * cluster;
+@property (nonatomic, readonly, copy) NSNumber * event;
+ (instancetype)eventPathWithEndpointID:(NSNumber *)endpointID clusterID:(NSNumber *)clusterID eventID:(NSNumber *)eventID;
@@ -303,9 +317,9 @@
@end
@interface MTRCommandPath : NSObject
-@property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * cluster;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * command;
+@property (nonatomic, readonly, copy) NSNumber * endpoint;
+@property (nonatomic, readonly, copy) NSNumber * cluster;
+@property (nonatomic, readonly, copy) NSNumber * command;
+ (instancetype)commandPathWithEndpointID:(NSNumber *)endpointID clusterID:(NSNumber *)clusterID commandID:(NSNumber *)commandID;
@@ -314,25 +328,27 @@
@end
@interface MTRAttributeReport : NSObject
-@property (nonatomic, readonly, strong, nonnull) MTRAttributePath * path;
+@property (nonatomic, readonly, copy) MTRAttributePath * path;
// value is nullable because nullable attributes can have nil as value.
-@property (nonatomic, readonly, strong, nullable) id value;
+@property (nonatomic, readonly, copy, nullable) id value;
// If this specific path resulted in an error, the error (in the
// MTRInteractionErrorDomain or MTRErrorDomain) that corresponds to this
// path.
-@property (nonatomic, readonly, strong, nullable) NSError * error;
+@property (nonatomic, readonly, copy, nullable) NSError * error;
@end
@interface MTREventReport : NSObject
-@property (nonatomic, readonly, strong, nonnull) MTREventPath * path;
-@property (nonatomic, readonly, strong, nonnull) NSNumber * eventNumber; // chip::EventNumber type (uint64_t)
-@property (nonatomic, readonly, strong, nonnull) NSNumber * priority; // chip::app::PriorityLevel type (uint8_t)
-@property (nonatomic, readonly, strong, nonnull) NSNumber * timestamp; // chip::app::Timestamp.mValue type (uint64_t)
-@property (nonatomic, readonly, strong, nullable) id value;
+@property (nonatomic, readonly, copy) MTREventPath * path;
+@property (nonatomic, readonly, copy) NSNumber * eventNumber; // EventNumber type (uint64_t)
+@property (nonatomic, readonly, copy) NSNumber * priority; // PriorityLevel type (uint8_t)
+@property (nonatomic, readonly, copy) NSNumber * timestamp; // Timestamp type (uint64_t)
+// An instance of one of the event payload interfaces.
+@property (nonatomic, readonly, copy) id value;
+
// If this specific path resulted in an error, the error (in the
// MTRInteractionErrorDomain or MTRErrorDomain) that corresponds to this
// path.
-@property (nonatomic, readonly, strong, nullable) NSError * error;
+@property (nonatomic, readonly, copy, nullable) NSError * error;
@end
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.mm b/src/darwin/Framework/CHIP/MTRBaseDevice.mm
index deb08ec..3447e73 100644
--- a/src/darwin/Framework/CHIP/MTRBaseDevice.mm
+++ b/src/darwin/Framework/CHIP/MTRBaseDevice.mm
@@ -301,7 +301,7 @@
- (void)subscribeWithQueue:(dispatch_queue_t)queue
minInterval:(NSNumber *)minInterval
maxInterval:(NSNumber *)maxInterval
- params:(nullable MTRSubscribeParams *)params
+ params:(MTRSubscribeParams * _Nullable)params
attributeCacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer
attributeReportHandler:(MTRDeviceReportHandler _Nullable)attributeReportHandler
eventReportHandler:(MTRDeviceReportHandler _Nullable)eventReportHandler
@@ -771,12 +771,12 @@
Platform::UniquePtr<app::ReadClient> mReadClient;
};
-- (void)readAttributeWithEndpointID:(NSNumber *)endpointID
- clusterID:(NSNumber *)clusterID
- attributeID:(NSNumber *)attributeID
- params:(MTRReadParams * _Nullable)params
- queue:(dispatch_queue_t)queue
- completion:(MTRDeviceResponseHandler)completion
+- (void)readAttributePathWithEndpointID:(NSNumber * _Nullable)endpointID
+ clusterID:(NSNumber * _Nullable)clusterID
+ attributeID:(NSNumber * _Nullable)attributeID
+ params:(MTRReadParams * _Nullable)params
+ queue:(dispatch_queue_t)queue
+ completion:(MTRDeviceResponseHandler)completion
{
endpointID = (endpointID == nil) ? nil : [endpointID copy];
clusterID = (clusterID == nil) ? nil : [clusterID copy];
@@ -1114,15 +1114,15 @@
});
}
-- (void)subscribeAttributeWithEndpointID:(NSNumber * _Nullable)endpointID
- clusterID:(NSNumber * _Nullable)clusterID
- attributeID:(NSNumber * _Nullable)attributeID
- minInterval:(NSNumber *)minInterval
- maxInterval:(NSNumber *)maxInterval
- params:(MTRSubscribeParams * _Nullable)params
- queue:(dispatch_queue_t)queue
- reportHandler:(MTRDeviceResponseHandler)reportHandler
- subscriptionEstablished:(MTRSubscriptionEstablishedHandler)subscriptionEstablished
+- (void)subscribeAttributePathWithEndpointID:(NSNumber * _Nullable)endpointID
+ clusterID:(NSNumber * _Nullable)clusterID
+ attributeID:(NSNumber * _Nullable)attributeID
+ minInterval:(NSNumber *)minInterval
+ maxInterval:(NSNumber *)maxInterval
+ params:(MTRSubscribeParams * _Nullable)params
+ queue:(dispatch_queue_t)queue
+ reportHandler:(MTRDeviceResponseHandler)reportHandler
+ subscriptionEstablished:(MTRSubscriptionEstablishedHandler)subscriptionEstablished
{
if (self.isPASEDevice) {
// We don't support subscriptions over PASE.
@@ -1525,6 +1525,11 @@
return [[MTREventPath alloc] initWithPath:path];
}
+
+- (id)copyWithZone:(NSZone *)zone
+{
+ return [MTREventPath eventPathWithEndpointID:_endpoint clusterID:_cluster eventID:_event];
+}
@end
@implementation MTRCommandPath
@@ -1545,10 +1550,15 @@
return [[MTRCommandPath alloc] initWithPath:path];
}
+
+- (id)copyWithZone:(NSZone *)zone
+{
+ return [MTRCommandPath commandPathWithEndpointID:_endpoint clusterID:_cluster commandID:_command];
+}
@end
@implementation MTRAttributeReport
-- (instancetype)initWithPath:(const ConcreteDataAttributePath &)path value:(nullable id)value error:(nullable NSError *)error
+- (instancetype)initWithPath:(const ConcreteDataAttributePath &)path value:(id _Nullable)value error:(NSError * _Nullable)error
{
if (self = [super init]) {
_path = [[MTRAttributePath alloc] initWithPath:path];
@@ -1564,8 +1574,8 @@
eventNumber:(NSNumber *)eventNumber
priority:(NSNumber *)priority
timestamp:(NSNumber *)timestamp
- value:(nullable id)value
- error:(nullable NSError *)error
+ value:(id _Nullable)value
+ error:(NSError * _Nullable)error
{
if (self = [super init]) {
_path = [[MTREventPath alloc] initWithPath:path];
diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h b/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h
index 3acfb16..f745145 100644
--- a/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h
@@ -75,8 +75,8 @@
@interface MTRAttributeReport ()
- (instancetype)initWithPath:(const chip::app::ConcreteDataAttributePath &)path
- value:(nullable id)value
- error:(nullable NSError *)error;
+ value:(id _Nullable)value
+ error:(NSError * _Nullable)error;
@end
@interface MTREventReport ()
@@ -84,8 +84,8 @@
eventNumber:(NSNumber *)eventNumber
priority:(NSNumber *)priority
timestamp:(NSNumber *)timestamp
- value:(nullable id)value
- error:(nullable NSError *)error;
+ value:(id _Nullable)value
+ error:(NSError * _Nullable)error;
@end
// Exported utility function
diff --git a/src/darwin/Framework/CHIP/MTRCertificates.h b/src/darwin/Framework/CHIP/MTRCertificates.h
index c9c03c8..d384c44 100644
--- a/src/darwin/Framework/CHIP/MTRCertificates.h
+++ b/src/darwin/Framework/CHIP/MTRCertificates.h
@@ -20,6 +20,9 @@
#import <Foundation/Foundation.h>
+typedef NSData MTRCertificateDERBytes;
+typedef NSData MTRCertificateTLVBytes;
+
NS_ASSUME_NONNULL_BEGIN
@protocol MTRKeypair;
@@ -27,7 +30,7 @@
@interface MTRCertificates : NSObject
/**
- * Generate a root (self-signed) X.509 DER encoded certificate that has the
+ * Create a root (self-signed) X.509 DER encoded certificate that has the
* right fields to be a valid Matter root certificate.
*
* If issuerID is nil, a random issuer id is generated. Otherwise the provided
@@ -39,13 +42,13 @@
* On failure returns nil and if "error" is not null sets *error to the relevant
* error.
*/
-+ (nullable NSData *)generateRootCertificate:(id<MTRKeypair>)keypair
- issuerID:(nullable NSNumber *)issuerID
- fabricID:(nullable NSNumber *)fabricID
- error:(NSError * __autoreleasing _Nullable * _Nullable)error;
++ (MTRCertificateDERBytes * _Nullable)createRootCertificate:(id<MTRKeypair>)keypair
+ issuerID:(NSNumber * _Nullable)issuerID
+ fabricID:(NSNumber * _Nullable)fabricID
+ error:(NSError * __autoreleasing _Nullable * _Nullable)error;
/**
- * Generate an intermediate X.509 DER encoded certificate that has the
+ * Create an intermediate X.509 DER encoded certificate that has the
* right fields to be a valid Matter intermediate certificate.
*
* If issuerID is nil, a random issuer id is generated. Otherwise the provided
@@ -57,15 +60,15 @@
* On failure returns nil and if "error" is not null sets *error to the relevant
* error.
*/
-+ (nullable NSData *)generateIntermediateCertificate:(id<MTRKeypair>)rootKeypair
- rootCertificate:(NSData *)rootCertificate
- intermediatePublicKey:(SecKeyRef)intermediatePublicKey
- issuerID:(nullable NSNumber *)issuerID
- fabricID:(nullable NSNumber *)fabricID
- error:(NSError * __autoreleasing _Nullable * _Nullable)error;
++ (MTRCertificateDERBytes * _Nullable)createIntermediateCertificate:(id<MTRKeypair>)rootKeypair
+ rootCertificate:(MTRCertificateDERBytes *)rootCertificate
+ intermediatePublicKey:(SecKeyRef)intermediatePublicKey
+ issuerID:(NSNumber * _Nullable)issuerID
+ fabricID:(NSNumber * _Nullable)fabricID
+ error:(NSError * __autoreleasing _Nullable * _Nullable)error;
/**
- * Generate an X.509 DER encoded certificate that has the
+ * Create an X.509 DER encoded certificate that has the
* right fields to be a valid Matter operational certificate.
*
* signingKeypair and signingCertificate are the root or intermediate that is
@@ -85,13 +88,13 @@
* On failure returns nil and if "error" is not null sets *error to the relevant
* error.
*/
-+ (nullable NSData *)generateOperationalCertificate:(id<MTRKeypair>)signingKeypair
- signingCertificate:(NSData *)signingCertificate
- operationalPublicKey:(SecKeyRef)operationalPublicKey
- fabricID:(NSNumber *)fabricID
- nodeID:(NSNumber *)nodeID
- caseAuthenticatedTags:(NSArray<NSNumber *> * _Nullable)caseAuthenticatedTags
- error:(NSError * __autoreleasing _Nullable * _Nullable)error;
++ (MTRCertificateDERBytes * _Nullable)createOperationalCertificate:(id<MTRKeypair>)signingKeypair
+ signingCertificate:(MTRCertificateDERBytes *)signingCertificate
+ operationalPublicKey:(SecKeyRef)operationalPublicKey
+ fabricID:(NSNumber *)fabricID
+ nodeID:(NSNumber *)nodeID
+ caseAuthenticatedTags:(NSArray<NSNumber *> * _Nullable)caseAuthenticatedTags
+ error:(NSError * __autoreleasing _Nullable * _Nullable)error;
/**
* Check whether the given keypair's public key matches the given certificate's
@@ -107,7 +110,7 @@
* of having the same public key and the same subject DN. Returns NO if public
* keys or subject DNs cannot be extracted from the certificates.
*/
-+ (BOOL)isCertificate:(NSData *)certificate1 equalTo:(NSData *)certificate2;
++ (BOOL)isCertificate:(MTRCertificateDERBytes *)certificate1 equalTo:(MTRCertificateDERBytes *)certificate2;
/**
* Generate a PKCS#10 certificate signing request from a MTRKeypair. This can
@@ -122,8 +125,8 @@
* On failure returns nil and if "error" is not null sets *error to the relevant
* error.
*/
-+ (nullable NSData *)generateCertificateSigningRequest:(id<MTRKeypair>)keypair
- error:(NSError * __autoreleasing _Nullable * _Nullable)error;
++ (NSData * _Nullable)createCertificateSigningRequest:(id<MTRKeypair>)keypair
+ error:(NSError * __autoreleasing _Nullable * _Nullable)error;
/**
* Convert the given X.509v3 DER encoded certificate to the Matter certificate
@@ -133,7 +136,7 @@
* as a DER encoded X.509 certificate, or if the certificate cannot be
* represented in the Matter certificate format).
*/
-+ (nullable NSData *)convertX509Certificate:(NSData *)x509Certificate;
++ (MTRCertificateTLVBytes * _Nullable)convertX509Certificate:(MTRCertificateDERBytes *)x509Certificate;
@end
diff --git a/src/darwin/Framework/CHIP/MTRCertificates.mm b/src/darwin/Framework/CHIP/MTRCertificates.mm
index 8ebb033..66ffecf 100644
--- a/src/darwin/Framework/CHIP/MTRCertificates.mm
+++ b/src/darwin/Framework/CHIP/MTRCertificates.mm
@@ -31,10 +31,10 @@
@implementation MTRCertificates
-+ (nullable NSData *)generateRootCertificate:(id<MTRKeypair>)keypair
- issuerID:(nullable NSNumber *)issuerID
- fabricID:(nullable NSNumber *)fabricID
- error:(NSError * __autoreleasing *)error
++ (MTRCertificateDERBytes * _Nullable)createRootCertificate:(id<MTRKeypair>)keypair
+ issuerID:(NSNumber * _Nullable)issuerID
+ fabricID:(NSNumber * _Nullable)fabricID
+ error:(NSError * __autoreleasing *)error
{
NSLog(@"Generating root certificate");
@@ -53,12 +53,12 @@
return rootCert;
}
-+ (nullable NSData *)generateIntermediateCertificate:(id<MTRKeypair>)rootKeypair
- rootCertificate:(NSData *)rootCertificate
- intermediatePublicKey:(SecKeyRef)intermediatePublicKey
- issuerID:(nullable NSNumber *)issuerID
- fabricID:(nullable NSNumber *)fabricID
- error:(NSError * __autoreleasing *)error
++ (MTRCertificateDERBytes * _Nullable)createIntermediateCertificate:(id<MTRKeypair>)rootKeypair
+ rootCertificate:(MTRCertificateDERBytes *)rootCertificate
+ intermediatePublicKey:(SecKeyRef)intermediatePublicKey
+ issuerID:(NSNumber * _Nullable)issuerID
+ fabricID:(NSNumber * _Nullable)fabricID
+ error:(NSError * __autoreleasing *)error
{
NSLog(@"Generating intermediate certificate");
@@ -78,13 +78,13 @@
return intermediate;
}
-+ (nullable NSData *)generateOperationalCertificate:(id<MTRKeypair>)signingKeypair
- signingCertificate:(NSData *)signingCertificate
- operationalPublicKey:(SecKeyRef)operationalPublicKey
- fabricID:(NSNumber *)fabricID
- nodeID:(NSNumber *)nodeID
- caseAuthenticatedTags:(NSArray<NSNumber *> * _Nullable)caseAuthenticatedTags
- error:(NSError * __autoreleasing _Nullable * _Nullable)error
++ (MTRCertificateDERBytes * _Nullable)createOperationalCertificate:(id<MTRKeypair>)signingKeypair
+ signingCertificate:(MTRCertificateDERBytes *)signingCertificate
+ operationalPublicKey:(SecKeyRef)operationalPublicKey
+ fabricID:(NSNumber *)fabricID
+ nodeID:(NSNumber *)nodeID
+ caseAuthenticatedTags:(NSArray<NSNumber *> * _Nullable)caseAuthenticatedTags
+ error:(NSError * __autoreleasing _Nullable * _Nullable)error
{
NSLog(@"Generating operational certificate");
@@ -127,7 +127,7 @@
return certKeySpan.data_equal(keypairKeySpan);
}
-+ (BOOL)isCertificate:(NSData *)certificate1 equalTo:(NSData *)certificate2
++ (BOOL)isCertificate:(MTRCertificateDERBytes *)certificate1 equalTo:(MTRCertificateDERBytes *)certificate2
{
[MTRMemory ensureInit];
@@ -168,8 +168,8 @@
return subject1.IsEqual(subject2);
}
-+ (nullable NSData *)generateCertificateSigningRequest:(id<MTRKeypair>)keypair
- error:(NSError * __autoreleasing _Nullable * _Nullable)error
++ (NSData * _Nullable)createCertificateSigningRequest:(id<MTRKeypair>)keypair
+ error:(NSError * __autoreleasing _Nullable * _Nullable)error
{
[MTRMemory ensureInit];
@@ -197,7 +197,7 @@
return nil;
}
-+ (nullable NSData *)convertX509Certificate:(NSData *)x509Certificate
++ (MTRCertificateTLVBytes * _Nullable)convertX509Certificate:(MTRCertificateDERBytes *)x509Certificate
{
chip::ByteSpan x509CertBytes = AsByteSpan(x509Certificate);
diff --git a/src/darwin/Framework/CHIP/MTRCluster.h b/src/darwin/Framework/CHIP/MTRCluster.h
index 4dc53ec..14fc7aa 100644
--- a/src/darwin/Framework/CHIP/MTRCluster.h
+++ b/src/darwin/Framework/CHIP/MTRCluster.h
@@ -54,8 +54,7 @@
* from the sever to the client (for the status response and actual write
* request) within the timeout window.
*
- * This value is specified in milliseconds
- *
+ * This value is specified in milliseconds.
*/
@property (nonatomic, copy, nullable) NSNumber * timedWriteTimeout;
@@ -67,9 +66,6 @@
*/
@property (nonatomic, copy, nullable) NSNumber * dataVersion;
-- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
-
@end
/**
@@ -92,9 +88,6 @@
*/
@property (nonatomic, copy, nullable) NSNumber * fabricFiltered;
-- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
-
@end
/**
@@ -131,7 +124,7 @@
@property (nonatomic, copy, nullable) NSNumber * autoResubscribe;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
diff --git a/src/darwin/Framework/CHIP/MTRCluster.mm b/src/darwin/Framework/CHIP/MTRCluster.mm
index 480b80a..4394782 100644
--- a/src/darwin/Framework/CHIP/MTRCluster.mm
+++ b/src/darwin/Framework/CHIP/MTRCluster.mm
@@ -51,7 +51,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRWriteParams alloc] init];
other.timedWriteTimeout = self.timedWriteTimeout;
@@ -70,7 +70,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRReadParams alloc] init];
other.fabricFiltered = self.fabricFiltered;
@@ -89,7 +89,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSubscribeParams alloc] init];
other.fabricFiltered = self.fabricFiltered;
diff --git a/src/darwin/Framework/CHIP/MTRCluster_internal.h b/src/darwin/Framework/CHIP/MTRCluster_internal.h
index 615b8eb..1ea8e80 100644
--- a/src/darwin/Framework/CHIP/MTRCluster_internal.h
+++ b/src/darwin/Framework/CHIP/MTRCluster_internal.h
@@ -28,7 +28,7 @@
@interface MTRCluster ()
@property (readonly, nonatomic) dispatch_queue_t callbackQueue;
-- (nullable instancetype)initWithQueue:(dispatch_queue_t)queue;
+- (instancetype _Nullable)initWithQueue:(dispatch_queue_t)queue;
- (chip::ByteSpan)asByteSpan:(NSData *)value;
- (chip::CharSpan)asCharSpan:(NSString *)value;
@end
diff --git a/src/darwin/Framework/CHIP/MTRCommissioningParameters.h b/src/darwin/Framework/CHIP/MTRCommissioningParameters.h
index cbbb2a4..5a5eeae 100644
--- a/src/darwin/Framework/CHIP/MTRCommissioningParameters.h
+++ b/src/darwin/Framework/CHIP/MTRCommissioningParameters.h
@@ -22,26 +22,34 @@
@protocol MTRDeviceAttestationDelegate;
/**
- * The class definition for the CHIPCommissioningParameters
- *
+ * Information that can be provided to commissionWithNodeID to commision devices.
*/
@interface MTRCommissioningParameters : NSObject
/**
- * The CSRNonce
+ * 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.
*/
-@property (nonatomic, copy, nullable) NSData * CSRNonce;
+@property (nonatomic, copy, nullable) NSData * csrNonce;
/**
- * The AttestationNonce
+ * 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.
*/
@property (nonatomic, copy, nullable) NSData * attestationNonce;
/**
- * The Wi-Fi SSID, if available.
+ * The Wi-Fi SSID, if available.
*/
@property (nonatomic, copy, nullable) NSData * wifiSSID;
/**
- * The Wi-Fi Credentials. Allowed to be nil or 0-length data for an open
- * network, as long as wifiSSID is not nil.
+ * The Wi-Fi Credentials. Allowed to be nil or 0-length data for an open
+ * network, as long as wifiSSID is not nil.
*/
@property (nonatomic, copy, nullable) NSData * wifiCredentials;
/**
@@ -49,13 +57,20 @@
*/
@property (nonatomic, copy, nullable) NSData * threadOperationalDataset;
/**
- * The Device Attestation status delegate
+ * An optional delegate that can be notified upon completion of device
+ * attestation. See documentation for MTRDeviceAttestationDelegate for
+ * details.
*/
@property (nonatomic, strong, nullable) id<MTRDeviceAttestationDelegate> deviceAttestationDelegate;
/**
- * The timeout in secs to set for fail-safe when attestation fails
+ * 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.
+
*/
-@property (nonatomic, copy, nullable) NSNumber * failSafeExpiryTimeoutSecs;
+@property (nonatomic, copy, nullable) NSNumber * failSafeExpiryTimeout;
@end
diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm
index 5260f63..9a9f0a3 100644
--- a/src/darwin/Framework/CHIP/MTRDevice.mm
+++ b/src/darwin/Framework/CHIP/MTRDevice.mm
@@ -371,26 +371,26 @@
MTRAsyncCallbackReadyHandler readyHandler = ^(MTRDevice * device, NSUInteger retryCount) {
MTRBaseDevice * baseDevice = [[MTRBaseDevice alloc] initWithNodeID:@(self.nodeID) controller:self.deviceController];
- [baseDevice
- readAttributeWithEndpointID:endpointID
- clusterID:clusterID
- attributeID:attributeID
- params:params
- queue:self.queue
- completion:^(NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
- if (values) {
- // Since the format is the same data-value dictionary, this looks like an attribute
- // report
- [self _handleAttributeReport:values];
- }
+ [baseDevice readAttributePathWithEndpointID:endpointID
+ clusterID:clusterID
+ attributeID:attributeID
+ params:params
+ queue:self.queue
+ completion:^(NSArray<NSDictionary<NSString *, id> *> * _Nullable values,
+ NSError * _Nullable error) {
+ if (values) {
+ // Since the format is the same data-value dictionary, this looks like an attribute
+ // report
+ [self _handleAttributeReport:values];
+ }
- // TODO: better retry logic
- if (retryCount < 2) {
- [workItem retryWork];
- } else {
- [workItem endWork];
- }
- }];
+ // TODO: better retry logic
+ if (retryCount < 2) {
+ [workItem retryWork];
+ } else {
+ [workItem endWork];
+ }
+ }];
};
workItem.readyHandler = readyHandler;
[_asyncCallbackWorkQueue enqueueWorkItem:workItem];
diff --git a/src/darwin/Framework/CHIP/MTRDeviceController.h b/src/darwin/Framework/CHIP/MTRDeviceController.h
index 7c0df10..87dea50 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceController.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceController.h
@@ -130,7 +130,7 @@
* Attempts to retrieve the attestation challenge for a commissionee with the given Device ID.
* Returns nil if given Device ID does not match an active commissionee, or if a Secure Session is not availale.
*/
-- (nullable NSData *)fetchAttestationChallengeForDeviceID:(uint64_t)deviceID;
+- (NSData * _Nullable)fetchAttestationChallengeForDeviceID:(NSNumber *)deviceID;
/**
* Compute a PASE verifier and passcode ID for the desired setup pincode.
diff --git a/src/darwin/Framework/CHIP/MTRDeviceController.mm b/src/darwin/Framework/CHIP/MTRDeviceController.mm
index 3e48e71..04c8441 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceController.mm
+++ b/src/darwin/Framework/CHIP/MTRDeviceController.mm
@@ -437,8 +437,8 @@
VerifyOrReturn([self checkIsRunning:error]);
chip::Controller::CommissioningParameters params;
- if (commissioningParams.CSRNonce) {
- params.SetCSRNonce(AsByteSpan(commissioningParams.CSRNonce));
+ if (commissioningParams.csrNonce) {
+ params.SetCSRNonce(AsByteSpan(commissioningParams.csrNonce));
}
if (commissioningParams.attestationNonce) {
params.SetAttestationNonce(AsByteSpan(commissioningParams.attestationNonce));
@@ -459,9 +459,9 @@
[self clearDeviceAttestationDelegateBridge];
chip::Optional<uint16_t> timeoutSecs;
- if (commissioningParams.failSafeExpiryTimeoutSecs) {
+ if (commissioningParams.failSafeExpiryTimeout) {
timeoutSecs
- = chip::MakeOptional(static_cast<uint16_t>([commissioningParams.failSafeExpiryTimeoutSecs unsignedIntValue]));
+ = chip::MakeOptional(static_cast<uint16_t>([commissioningParams.failSafeExpiryTimeout unsignedIntValue]));
}
BOOL shouldWaitAfterDeviceAttestation = NO;
if ([commissioningParams.deviceAttestationDelegate
@@ -634,7 +634,7 @@
return AsData(serializedBytes);
}
-- (nullable NSData *)fetchAttestationChallengeForDeviceID:(uint64_t)deviceID
+- (NSData * _Nullable)fetchAttestationChallengeForDeviceID:(NSNumber *)deviceID
{
VerifyOrReturnValue([self checkIsRunning], nil);
@@ -643,7 +643,7 @@
VerifyOrReturn([self checkIsRunning]);
chip::CommissioneeDeviceProxy * deviceProxy;
- auto errorCode = self.cppCommissioner->GetDeviceBeingCommissioned(deviceID, &deviceProxy);
+ auto errorCode = self.cppCommissioner->GetDeviceBeingCommissioned([deviceID unsignedLongLongValue], &deviceProxy);
auto success = ![self checkForError:errorCode logMsg:kErrorGetCommissionee error:nil];
VerifyOrReturn(success);
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h
index c8b36fb..9f180ed 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h
@@ -16,6 +16,8 @@
#import <Foundation/Foundation.h>
+typedef NSData MTRCertificateDERBytes;
+
NS_ASSUME_NONNULL_BEGIN
@protocol MTRKeypair;
@@ -130,7 +132,7 @@
* 2) The subject DN must match the subject DN of the existing root
* certificate.
*/
-@property (nonatomic, copy, nullable) NSData * rootCertificate;
+@property (nonatomic, copy, nullable) MTRCertificateDERBytes * rootCertificate;
/**
* Intermediate certificate, in X.509 DER form, to use.
@@ -162,7 +164,7 @@
* allows switching from using an intermediate CA to not using one.
*
*/
-@property (nonatomic, copy, nullable) NSData * intermediateCertificate;
+@property (nonatomic, copy, nullable) MTRCertificateDERBytes * intermediateCertificate;
/**
* Operational certificate, in X.509 DER form, to use.
@@ -173,7 +175,7 @@
* If nil, an operational certificate will be determined as described in the
* documentation for nodeID.
*/
-@property (nonatomic, copy, readonly, nullable) NSData * operationalCertificate;
+@property (nonatomic, copy, readonly, nullable) MTRCertificateDERBytes * operationalCertificate;
/**
* Operational keypair to use. If operationalCertificate is not nil, the public
@@ -212,9 +214,9 @@
* ipk must be 16 bytes in length.
*/
- (instancetype)initWithOperationalKeypair:(id<MTRKeypair>)operationalKeypair
- operationalCertificate:(NSData *)operationalCertificate
- intermediateCertificate:(nullable NSData *)intermediateCertificate
- rootCertificate:(NSData *)rootCertificate
+ operationalCertificate:(MTRCertificateDERBytes *)operationalCertificate
+ intermediateCertificate:(MTRCertificateDERBytes * _Nullable)intermediateCertificate
+ rootCertificate:(MTRCertificateDERBytes *)rootCertificate
ipk:(NSData *)ipk;
@end
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm
index d01c793..a32f5de 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm
@@ -49,9 +49,9 @@
}
- (instancetype)initWithOperationalKeypair:(id<MTRKeypair>)operationalKeypair
- operationalCertificate:(NSData *)operationalCertificate
- intermediateCertificate:(nullable NSData *)intermediateCertificate
- rootCertificate:(NSData *)rootCertificate
+ operationalCertificate:(MTRCertificateDERBytes *)operationalCertificate
+ intermediateCertificate:(MTRCertificateDERBytes * _Nullable)intermediateCertificate
+ rootCertificate:(MTRCertificateDERBytes *)rootCertificate
ipk:(NSData *)ipk
{
if (!(self = [super init])) {
@@ -179,10 +179,10 @@
if (self.rootCertificate == nil) {
NSError * error;
- self.rootCertificate = [MTRCertificates generateRootCertificate:self.nocSigner
- issuerID:nil
- fabricID:self.fabricID
- error:&error];
+ self.rootCertificate = [MTRCertificates createRootCertificate:self.nocSigner
+ issuerID:nil
+ fabricID:self.fabricID
+ error:&error];
if (error != nil || self.rootCertificate == nil) {
MTR_LOG_ERROR("Failed to generate root certificate: %@", error);
return nil;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h
index 889dba7..a448dc0 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h
@@ -36,7 +36,7 @@
@interface MTRDeviceControllerStartupParams ()
// We want to be able to write to operationalCertificate in
// MTRDeviceControllerStartupParamsInternal.
-@property (nonatomic, copy, nullable) NSData * operationalCertificate;
+@property (nonatomic, copy, nullable) MTRCertificateDERBytes * operationalCertificate;
// Init method that just copies the values of all our ivars.
- (instancetype)initWithParams:(MTRDeviceControllerStartupParams *)params;
@@ -85,9 +85,9 @@
- (instancetype)initWithSigningKeypair:(id<MTRKeypair>)nocSigner fabricID:(NSNumber *)fabricID ipk:(NSData *)ipk NS_UNAVAILABLE;
- (instancetype)initWithOperationalKeypair:(id<MTRKeypair>)operationalKeypair
- operationalCertificate:(NSData *)operationalCertificate
- intermediateCertificate:(nullable NSData *)intermediateCertificate
- rootCertificate:(NSData *)rootCertificate
+ operationalCertificate:(MTRCertificateDERBytes *)operationalCertificate
+ intermediateCertificate:(MTRCertificateDERBytes * _Nullable)intermediateCertificate
+ rootCertificate:(MTRCertificateDERBytes *)rootCertificate
ipk:(NSData *)ipk NS_UNAVAILABLE;
@end
diff --git a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m
index 59994ce..f6166f9 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m
+++ b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m
@@ -49,12 +49,12 @@
- (void)subscribeWithQueue:(dispatch_queue_t)queue
minInterval:(NSNumber *)minInterval
maxInterval:(NSNumber *)maxInterval
- params:(nullable MTRSubscribeParams *)params
+ params:(MTRSubscribeParams * _Nullable)params
attributeCacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer
- attributeReportHandler:(nullable void (^)(NSArray * value))attributeReportHandler
- eventReportHandler:(nullable void (^)(NSArray * value))eventReportHandler
+ attributeReportHandler:(void (^_Nullable)(NSArray * value))attributeReportHandler
+ eventReportHandler:(void (^_Nullable)(NSArray * value))eventReportHandler
errorHandler:(void (^)(NSError * error))errorHandler
- subscriptionEstablished:(nullable void (^)(void))subscriptionEstablishedHandler
+ subscriptionEstablished:(void (^_Nullable)(void))subscriptionEstablishedHandler
resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduledHandler
{
MTR_LOG_DEBUG("Subscribing all attributes... Note that attributeReportHandler, eventReportHandler, and resubscriptionScheduled "
@@ -91,12 +91,12 @@
}];
}
-- (void)readAttributeWithEndpointID:(NSNumber * _Nullable)endpointID
- clusterID:(NSNumber * _Nullable)clusterID
- attributeID:(NSNumber * _Nullable)attributeID
- params:(MTRReadParams * _Nullable)params
- queue:(dispatch_queue_t)queue
- completion:(MTRDeviceResponseHandler)completion
+- (void)readAttributePathWithEndpointID:(NSNumber * _Nullable)endpointID
+ clusterID:(NSNumber * _Nullable)clusterID
+ attributeID:(NSNumber * _Nullable)attributeID
+ params:(MTRReadParams * _Nullable)params
+ queue:(dispatch_queue_t)queue
+ completion:(MTRDeviceResponseHandler)completion
{
MTR_LOG_DEBUG("Reading attribute ...");
[_xpcConnection
@@ -203,15 +203,15 @@
}];
}
-- (void)subscribeAttributeWithEndpointID:(NSNumber * _Nullable)endpointID
- clusterID:(NSNumber * _Nullable)clusterID
- attributeID:(NSNumber * _Nullable)attributeID
- minInterval:(NSNumber *)minInterval
- maxInterval:(NSNumber *)maxInterval
- params:(MTRSubscribeParams * _Nullable)params
- queue:(dispatch_queue_t)queue
- reportHandler:(MTRDeviceResponseHandler)reportHandler
- subscriptionEstablished:(void (^_Nullable)(void))subscriptionEstablishedHandler
+- (void)subscribeAttributePathWithEndpointID:(NSNumber * _Nullable)endpointID
+ clusterID:(NSNumber * _Nullable)clusterID
+ attributeID:(NSNumber * _Nullable)attributeID
+ minInterval:(NSNumber *)minInterval
+ maxInterval:(NSNumber *)maxInterval
+ params:(MTRSubscribeParams * _Nullable)params
+ queue:(dispatch_queue_t)queue
+ reportHandler:(MTRDeviceResponseHandler)reportHandler
+ subscriptionEstablished:(void (^_Nullable)(void))subscriptionEstablishedHandler
{
MTR_LOG_DEBUG("Subscribing attribute ...");
[_xpcConnection getProxyHandleWithCompletion:^(
diff --git a/src/darwin/Framework/CHIP/MTRDevicePairingDelegate.h b/src/darwin/Framework/CHIP/MTRDevicePairingDelegate.h
index b4bd256..0ecce76 100644
--- a/src/darwin/Framework/CHIP/MTRDevicePairingDelegate.h
+++ b/src/darwin/Framework/CHIP/MTRDevicePairingDelegate.h
@@ -43,19 +43,19 @@
* Notify the delegate when pairing is completed
*
*/
-- (void)onPairingComplete:(nullable NSError *)error;
+- (void)onPairingComplete:(NSError * _Nullable)error;
/**
* Notify the delegate when commissioning is completed
*
*/
-- (void)onCommissioningComplete:(nullable NSError *)error;
+- (void)onCommissioningComplete:(NSError * _Nullable)error;
/**
* Notify the delegate when pairing is deleted
*
*/
-- (void)onPairingDeleted:(nullable NSError *)error;
+- (void)onPairingDeleted:(NSError * _Nullable)error;
@end
diff --git a/src/darwin/Framework/CHIP/MTRError.h b/src/darwin/Framework/CHIP/MTRError.h
index d0c9118..ffed8c8 100644
--- a/src/darwin/Framework/CHIP/MTRError.h
+++ b/src/darwin/Framework/CHIP/MTRError.h
@@ -75,35 +75,26 @@
// clang-format off
typedef NS_ERROR_ENUM(MTRInteractionErrorDomain, MTRInteractionErrorCode){
// These values come from the general status code table in the Matter
- // Interaction Model specification. Do not change these values unless the
- // specification changes.
+ // Interaction Model specification.
MTRInteractionErrorCodeFailure = 0x01,
MTRInteractionErrorCodeInvalidSubscription = 0x7d,
MTRInteractionErrorCodeUnsupportedAccess = 0x7e,
MTRInteractionErrorCodeUnsupportedEndpoint = 0x7f,
MTRInteractionErrorCodeInvalidAction = 0x80,
MTRInteractionErrorCodeUnsupportedCommand = 0x81,
- // Gap in values is intentional.
MTRInteractionErrorCodeInvalidCommand = 0x85,
MTRInteractionErrorCodeUnsupportedAttribute = 0x86,
MTRInteractionErrorCodeConstraintError = 0x87,
MTRInteractionErrorCodeUnsupportedWrite = 0x88,
MTRInteractionErrorCodeResourceExhausted = 0x89,
- // Gap in values is intentional.
MTRInteractionErrorCodeNotFound = 0x8b,
MTRInteractionErrorCodeUnreportableAttribute = 0x8c,
MTRInteractionErrorCodeInvalidDataType = 0x8d,
- // Gap in values is intentional.
MTRInteractionErrorCodeUnsupportedRead = 0x8f,
- // Gap in values is intentional.
MTRInteractionErrorCodeDataVersionMismatch = 0x92,
- // Gap in values is intentional.
MTRInteractionErrorCodeTimeout = 0x94,
- // Gap in values is intentional.
MTRInteractionErrorCodeBusy = 0x9c,
- // Gap in values is intentional.
MTRInteractionErrorCodeUnsupportedCluster = 0xc3,
- // Gap in values is intentional.
MTRInteractionErrorCodeNoUpstreamSubscription = 0xc5,
MTRInteractionErrorCodeNeedsTimedInteraction = 0xc6,
MTRInteractionErrorCodeUnsupportedEvent = 0xc7,
diff --git a/src/darwin/Framework/CHIP/MTRError_Internal.h b/src/darwin/Framework/CHIP/MTRError_Internal.h
index e5e58b3..6eaba25 100644
--- a/src/darwin/Framework/CHIP/MTRError_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRError_Internal.h
@@ -23,8 +23,8 @@
NS_ASSUME_NONNULL_BEGIN
@interface MTRError : NSObject
-+ (nullable NSError *)errorForCHIPErrorCode:(CHIP_ERROR)errorCode;
-+ (nullable NSError *)errorForIMStatus:(const chip::app::StatusIB &)status;
++ (NSError * _Nullable)errorForCHIPErrorCode:(CHIP_ERROR)errorCode;
++ (NSError * _Nullable)errorForIMStatus:(const chip::app::StatusIB &)status;
+ (CHIP_ERROR)errorToCHIPErrorCode:(NSError * _Nullable)error;
@end
diff --git a/src/darwin/Framework/CHIP/MTRManualSetupPayloadParser.h b/src/darwin/Framework/CHIP/MTRManualSetupPayloadParser.h
index 673a43c..2f6bcb2 100644
--- a/src/darwin/Framework/CHIP/MTRManualSetupPayloadParser.h
+++ b/src/darwin/Framework/CHIP/MTRManualSetupPayloadParser.h
@@ -23,7 +23,7 @@
@interface MTRManualSetupPayloadParser : NSObject
- (instancetype)initWithDecimalStringRepresentation:(NSString *)decimalStringRepresentation;
-- (nullable MTRSetupPayload *)populatePayload:(NSError * __autoreleasing *)error;
+- (MTRSetupPayload * _Nullable)populatePayload:(NSError * __autoreleasing *)error;
@end
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/MTROTAHeaderParser.mm b/src/darwin/Framework/CHIP/MTROTAHeaderParser.mm
index 558d590..b796d87 100644
--- a/src/darwin/Framework/CHIP/MTROTAHeaderParser.mm
+++ b/src/darwin/Framework/CHIP/MTROTAHeaderParser.mm
@@ -28,7 +28,7 @@
@end
@implementation MTROTAHeaderParser
-+ (nullable MTROTAHeader *)headerFromData:(NSData *)data error:(NSError * __autoreleasing *)error
++ (MTROTAHeader * _Nullable)headerFromData:(NSData *)data error:(NSError * __autoreleasing *)error
{
chip::OTAImageHeaderParser parser;
diff --git a/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h b/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h
index a3edfce..b84672b 100644
--- a/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h
+++ b/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h
@@ -29,8 +29,8 @@
@interface MTROnboardingPayloadParser : NSObject
-+ (nullable MTRSetupPayload *)setupPayloadForOnboardingPayload:(NSString *)onboardingPayload
- error:(NSError * __autoreleasing *)error;
++ (MTRSetupPayload * _Nullable)setupPayloadForOnboardingPayload:(NSString *)onboardingPayload
+ error:(NSError * __autoreleasing *)error;
@end
diff --git a/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.m b/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.m
index 123da29..fb73932 100644
--- a/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.m
+++ b/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.m
@@ -27,8 +27,8 @@
return [codeString hasPrefix:@"MT:"];
}
-+ (nullable MTRSetupPayload *)setupPayloadForOnboardingPayload:(NSString *)onboardingPayload
- error:(NSError * __autoreleasing *)error
++ (MTRSetupPayload * _Nullable)setupPayloadForOnboardingPayload:(NSString *)onboardingPayload
+ error:(NSError * __autoreleasing *)error
{
MTRSetupPayload * payload;
// MTROnboardingPayloadTypeNFC is of type QR code and handled same as QR code
@@ -47,16 +47,16 @@
return payload;
}
-+ (nullable MTRSetupPayload *)setupPayloadForQRCodeOnboardingPayload:(NSString *)onboardingPayload
- error:(NSError * __autoreleasing *)error
++ (MTRSetupPayload * _Nullable)setupPayloadForQRCodeOnboardingPayload:(NSString *)onboardingPayload
+ error:(NSError * __autoreleasing *)error
{
MTRQRCodeSetupPayloadParser * qrCodeParser =
[[MTRQRCodeSetupPayloadParser alloc] initWithBase38Representation:onboardingPayload];
return [qrCodeParser populatePayload:error];
}
-+ (nullable MTRSetupPayload *)setupPayloadForManualCodeOnboardingPayload:(NSString *)onboardingPayload
- error:(NSError * __autoreleasing *)error
++ (MTRSetupPayload * _Nullable)setupPayloadForManualCodeOnboardingPayload:(NSString *)onboardingPayload
+ error:(NSError * __autoreleasing *)error
{
MTRManualSetupPayloadParser * manualParser =
[[MTRManualSetupPayloadParser alloc] initWithDecimalStringRepresentation:onboardingPayload];
diff --git a/src/darwin/Framework/CHIP/MTRPersistentStorageDelegate.h b/src/darwin/Framework/CHIP/MTRPersistentStorageDelegate.h
index 248df57..e1e36ea 100644
--- a/src/darwin/Framework/CHIP/MTRPersistentStorageDelegate.h
+++ b/src/darwin/Framework/CHIP/MTRPersistentStorageDelegate.h
@@ -31,7 +31,7 @@
* Get the data for the given key. Returns nil if there is no data for the
* key.
*/
-- (nullable NSData *)storageDataForKey:(NSString *)key;
+- (NSData * _Nullable)storageDataForKey:(NSString *)key;
/**
* Set the data for the viven key to the given value. Returns YES if the key
diff --git a/src/darwin/Framework/CHIP/MTRQRCodeSetupPayloadParser.h b/src/darwin/Framework/CHIP/MTRQRCodeSetupPayloadParser.h
index ab0e6f6..9a93a52 100644
--- a/src/darwin/Framework/CHIP/MTRQRCodeSetupPayloadParser.h
+++ b/src/darwin/Framework/CHIP/MTRQRCodeSetupPayloadParser.h
@@ -23,7 +23,7 @@
@interface MTRQRCodeSetupPayloadParser : NSObject
- (instancetype)initWithBase38Representation:(NSString *)base38Representation;
-- (nullable MTRSetupPayload *)populatePayload:(NSError * __autoreleasing *)error;
+- (MTRSetupPayload * _Nullable)populatePayload:(NSError * __autoreleasing *)error;
@end
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/MTRSetupPayload.h b/src/darwin/Framework/CHIP/MTRSetupPayload.h
index 4b9c329..a335164 100644
--- a/src/darwin/Framework/CHIP/MTRSetupPayload.h
+++ b/src/darwin/Framework/CHIP/MTRSetupPayload.h
@@ -77,7 +77,7 @@
@property (nonatomic, copy) NSNumber * setupPasscode;
@property (nonatomic, copy, nullable) NSString * serialNumber;
-- (nullable NSArray<MTROptionalQRCodeInfo *> *)getAllOptionalVendorData:(NSError * __autoreleasing *)error;
+- (NSArray<MTROptionalQRCodeInfo *> * _Nullable)getAllOptionalVendorData:(NSError * __autoreleasing *)error;
/**
* Generate a random Matter-valid setup passcode.
@@ -93,7 +93,7 @@
error:(NSError * __autoreleasing *)error;
/** Get 11 digit manual entry code from the setup payload. */
-- (nullable NSString *)manualEntryCode;
+- (NSString * _Nullable)manualEntryCode;
@end
diff --git a/src/darwin/Framework/CHIP/MTRSetupPayload.mm b/src/darwin/Framework/CHIP/MTRSetupPayload.mm
index 7c2df4d..b607a32 100644
--- a/src/darwin/Framework/CHIP/MTRSetupPayload.mm
+++ b/src/darwin/Framework/CHIP/MTRSetupPayload.mm
@@ -182,7 +182,7 @@
[coder encodeObject:self.serialNumber forKey:MTRSetupPayloadCodingKeySerialNumber];
}
-- (nullable instancetype)initWithCoder:(NSCoder *)decoder
+- (instancetype _Nullable)initWithCoder:(NSCoder *)decoder
{
NSNumber * version = [decoder decodeObjectOfClass:[NSNumber class] forKey:MTRSetupPayloadCodingKeyVersion];
NSNumber * vendorID = [decoder decodeObjectOfClass:[NSNumber class] forKey:MTRSetupPayloadCodingKeyVendorID];
@@ -208,7 +208,7 @@
return payload;
}
-- (nullable NSString *)manualEntryCode
+- (NSString * _Nullable)manualEntryCode
{
CHIP_ERROR err = CHIP_NO_ERROR;
std::string outDecimalString;
diff --git a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h
index ad51b81..b22ab9c 100644
--- a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h
+++ b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h
@@ -79,18 +79,18 @@
* returned. In particular, it's expected to be a 16-bit unsigned
* integer stored as 2 bytes in host order.
*/
-- (nullable instancetype)initWithNetworkName:(NSString *)networkName
- extendedPANID:(NSData *)extendedPANID
- masterKey:(NSData *)masterKey
- PSKc:(NSData *)PSKc
- channel:(NSNumber *)channel
- panID:(NSData *)panID;
+- (instancetype _Nullable)initWithNetworkName:(NSString *)networkName
+ extendedPANID:(NSData *)extendedPANID
+ masterKey:(NSData *)masterKey
+ PSKc:(NSData *)PSKc
+ channel:(NSNumber *)channel
+ panID:(NSData *)panID;
/**
* Create a Thread Operational Dataset object with a RCP formatted active operational dataset.
* This initializer will return nil if the input data cannot be parsed correctly
*/
-- (nullable instancetype)initWithData:(NSData *)data;
+- (instancetype _Nullable)initWithData:(NSData *)data;
/**
* Get the underlying data that represents the Thread Active Operational Dataset
diff --git a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm
index ffdd19e..37eb231 100644
--- a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm
+++ b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm
@@ -35,12 +35,12 @@
@implementation MTRThreadOperationalDataset
-- (nullable instancetype)initWithNetworkName:(NSString *)networkName
- extendedPANID:(NSData *)extendedPANID
- masterKey:(NSData *)masterKey
- PSKc:(NSData *)PSKc
- channel:(NSNumber *)channel
- panID:(NSData *)panID
+- (instancetype _Nullable)initWithNetworkName:(NSString *)networkName
+ extendedPANID:(NSData *)extendedPANID
+ masterKey:(NSData *)masterKey
+ PSKc:(NSData *)PSKc
+ channel:(NSNumber *)channel
+ panID:(NSData *)panID
{
if (self = [super init]) {
_networkName = networkName;
@@ -110,7 +110,7 @@
return YES;
}
-- (nullable instancetype)initWithData:(NSData *)data
+- (instancetype _Nullable)initWithData:(NSData *)data
{
chip::ByteSpan span = chip::ByteSpan((uint8_t *) data.bytes, data.length);
auto dataset = chip::Thread::OperationalDataset();
diff --git a/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt
index b0bcbf7..fdd96b9 100644
--- a/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt
@@ -18,9 +18,9 @@
*/
@interface MTRBaseCluster{{asUpperCamelCase name}} : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
{{#chip_cluster_commands}}
- (void){{asLowerCamelCase name}}WithParams:(MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}Params * {{#unless (commandHasRequiredField .)}}_Nullable{{/unless}})params completion:({{>command_completion_type command=.}})completion;
diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt
index d158b95..07be8fe 100644
--- a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt
@@ -20,9 +20,9 @@
*/
@interface MTRCluster{{asUpperCamelCase name}} : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
{{#chip_cluster_commands}}
- (void){{asLowerCamelCase name}}WithParams:(MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}Params * {{#unless (commandHasRequiredField .)}}_Nullable{{/unless}})params expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries expectedValueInterval:(NSNumber * _Nullable)expectedValueIntervalMs completion:({{>command_completion_type command=.}})completion;
diff --git a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt
index 32fd5af..94e7fff 100644
--- a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt
@@ -19,7 +19,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}Params alloc] init];
diff --git a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt
index 52b05b7..8b7e54e 100644
--- a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt
@@ -31,7 +31,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
{{/zcl_commands}}
{{/zcl_clusters}}
diff --git a/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt b/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt
index 2c80d9e..1235175 100644
--- a/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt
@@ -17,7 +17,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}} alloc] init];
@@ -50,7 +50,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}Event alloc] init];
diff --git a/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt b/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt
index f277bfd..9e131db 100644
--- a/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt
@@ -14,7 +14,7 @@
{{/zcl_struct_items}}
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
{{/zcl_structs}}
@@ -26,7 +26,7 @@
{{/zcl_event_fields}}
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
{{/zcl_events}}
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
index ef3cba1..b6df75e 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
@@ -30,9 +30,9 @@
*/
@interface MTRBaseClusterIdentify : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params completion:(MTRStatusCompletion)completion;
- (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params completion:(MTRStatusCompletion)completion;
@@ -165,9 +165,9 @@
*/
@interface MTRBaseClusterGroups : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params
completion:(void (^)(MTRGroupsClusterAddGroupResponseParams * _Nullable data, NSError * _Nullable error))completion;
@@ -293,9 +293,9 @@
*/
@interface MTRBaseClusterScenes : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params
completion:(void (^)(MTRScenesClusterAddSceneResponseParams * _Nullable data, NSError * _Nullable error))completion;
@@ -510,9 +510,9 @@
*/
@interface MTRBaseClusterOnOff : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params completion:(MTRStatusCompletion)completion;
- (void)offWithCompletion:(MTRStatusCompletion)completion;
@@ -708,9 +708,9 @@
*/
@interface MTRBaseClusterOnOffSwitchConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeSwitchTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -839,9 +839,9 @@
*/
@interface MTRBaseClusterLevelControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params completion:(MTRStatusCompletion)completion;
- (void)moveWithParams:(MTRLevelControlClusterMoveParams *)params completion:(MTRStatusCompletion)completion;
@@ -1198,9 +1198,9 @@
*/
@interface MTRBaseClusterBinaryInputBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeActiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion;
- (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion;
@@ -1457,9 +1457,9 @@
*/
@interface MTRBaseClusterDescriptor : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeDeviceTypeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -1614,9 +1614,9 @@
*/
@interface MTRBaseClusterBinding : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion;
@@ -1730,9 +1730,9 @@
*/
@interface MTRBaseClusterAccessControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeAclWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion;
@@ -1923,9 +1923,9 @@
*/
@interface MTRBaseClusterActions : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params completion:(MTRStatusCompletion)completion;
- (void)instantActionWithTransitionWithParams:(MTRActionsClusterInstantActionWithTransitionParams *)params
@@ -2083,9 +2083,9 @@
*/
@interface MTRBaseClusterBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params
completion:(MTRStatusCompletion)completion;
@@ -2514,9 +2514,9 @@
*/
@interface MTRBaseClusterOtaSoftwareUpdateProvider : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)queryImageWithParams:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params
completion:(void (^)(MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data,
@@ -2619,9 +2619,9 @@
*/
@interface MTRBaseClusterOtaSoftwareUpdateRequestor : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)announceOtaProviderWithParams:(MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params
completion:(MTRStatusCompletion)completion;
@@ -2788,9 +2788,9 @@
*/
@interface MTRBaseClusterLocalizationConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeActiveLocaleWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion;
- (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion;
@@ -2920,9 +2920,9 @@
*/
@interface MTRBaseClusterTimeFormatLocalization : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeHourFormatWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
- (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion;
@@ -3074,9 +3074,9 @@
*/
@interface MTRBaseClusterUnitLocalization : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeTemperatureUnitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
- (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion;
@@ -3190,9 +3190,9 @@
*/
@interface MTRBaseClusterPowerSourceConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeSourcesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -3301,9 +3301,9 @@
*/
@interface MTRBaseClusterPowerSource : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -3911,9 +3911,9 @@
*/
@interface MTRBaseClusterGeneralCommissioning : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params
completion:(void (^)(MTRGeneralCommissioningClusterArmFailSafeResponseParams * _Nullable data,
@@ -4114,9 +4114,9 @@
*/
@interface MTRBaseClusterNetworkCommissioning : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params
completion:(void (^)(MTRNetworkCommissioningClusterScanNetworksResponseParams * _Nullable data,
@@ -4364,9 +4364,9 @@
*/
@interface MTRBaseClusterDiagnosticLogs : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params
completion:(void (^)(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable data,
@@ -4464,9 +4464,9 @@
*/
@interface MTRBaseClusterGeneralDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params
completion:(MTRStatusCompletion)completion;
@@ -4711,9 +4711,9 @@
*/
@interface MTRBaseClusterSoftwareDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params
completion:(MTRStatusCompletion)completion;
@@ -4878,9 +4878,9 @@
*/
@interface MTRBaseClusterThreadNetworkDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completion:(MTRStatusCompletion)completion;
@@ -6027,9 +6027,9 @@
*/
@interface MTRBaseClusterWiFiNetworkDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completion:(MTRStatusCompletion)completion;
@@ -6338,9 +6338,9 @@
*/
@interface MTRBaseClusterEthernetNetworkDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completion:(MTRStatusCompletion)completion;
@@ -6579,9 +6579,9 @@
*/
@interface MTRBaseClusterBridgedDeviceBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -6916,9 +6916,9 @@
*/
@interface MTRBaseClusterSwitch : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeNumberOfPositionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -7061,9 +7061,9 @@
*/
@interface MTRBaseClusterAdministratorCommissioning : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params
completion:(MTRStatusCompletion)completion;
@@ -7213,9 +7213,9 @@
*/
@interface MTRBaseClusterOperationalCredentials : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params
completion:(void (^)(MTROperationalCredentialsClusterAttestationResponseParams * _Nullable data,
@@ -7434,9 +7434,9 @@
*/
@interface MTRBaseClusterGroupKeyManagement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params completion:(MTRStatusCompletion)completion;
- (void)keySetReadWithParams:(MTRGroupKeyManagementClusterKeySetReadParams *)params
@@ -7610,9 +7610,9 @@
*/
@interface MTRBaseClusterFixedLabel : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -7721,9 +7721,9 @@
*/
@interface MTRBaseClusterUserLabel : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion;
- (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion;
@@ -7836,9 +7836,9 @@
*/
@interface MTRBaseClusterBooleanState : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeStateValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -7947,9 +7947,9 @@
*/
@interface MTRBaseClusterModeSelect : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params completion:(MTRStatusCompletion)completion;
@@ -8146,9 +8146,9 @@
*/
@interface MTRBaseClusterDoorLock : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params completion:(MTRStatusCompletion)completion;
- (void)unlockDoorWithParams:(MTRDoorLockClusterUnlockDoorParams * _Nullable)params completion:(MTRStatusCompletion)completion;
@@ -8973,9 +8973,9 @@
*/
@interface MTRBaseClusterWindowCovering : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params completion:(MTRStatusCompletion)completion;
- (void)upOrOpenWithCompletion:(MTRStatusCompletion)completion;
@@ -9479,9 +9479,9 @@
*/
@interface MTRBaseClusterBarrierControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params
completion:(MTRStatusCompletion)completion;
@@ -9778,9 +9778,9 @@
*/
@interface MTRBaseClusterPumpConfigurationAndControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMaxPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -10256,9 +10256,9 @@
*/
@interface MTRBaseClusterThermostat : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params
completion:(MTRStatusCompletion)completion;
@@ -11322,9 +11322,9 @@
*/
@interface MTRBaseClusterFanControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeFanModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
- (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion;
@@ -11612,9 +11612,9 @@
*/
@interface MTRBaseClusterThermostatUserInterfaceConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeTemperatureDisplayModeWithCompletion:(void (^)(
NSNumber * _Nullable value, NSError * _Nullable error))completion;
@@ -11773,9 +11773,9 @@
*/
@interface MTRBaseClusterColorControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params completion:(MTRStatusCompletion)completion;
- (void)moveHueWithParams:(MTRColorControlClusterMoveHueParams *)params completion:(MTRStatusCompletion)completion;
@@ -12797,9 +12797,9 @@
*/
@interface MTRBaseClusterBallastConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributePhysicalMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -13161,9 +13161,9 @@
*/
@interface MTRBaseClusterIlluminanceMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -13336,9 +13336,9 @@
*/
@interface MTRBaseClusterTemperatureMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -13495,9 +13495,9 @@
*/
@interface MTRBaseClusterPressureMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -13732,9 +13732,9 @@
*/
@interface MTRBaseClusterFlowMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -13891,9 +13891,9 @@
*/
@interface MTRBaseClusterRelativeHumidityMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -14050,9 +14050,9 @@
*/
@interface MTRBaseClusterOccupancySensing : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeOccupancyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -14414,9 +14414,9 @@
*/
@interface MTRBaseClusterWakeOnLan : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeMACAddressWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -14525,9 +14525,9 @@
*/
@interface MTRBaseClusterChannel : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params
completion:(void (^)(MTRChannelClusterChangeChannelResponseParams * _Nullable data,
@@ -14679,9 +14679,9 @@
*/
@interface MTRBaseClusterTargetNavigator : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params
completion:(void (^)(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable data,
@@ -14810,9 +14810,9 @@
*/
@interface MTRBaseClusterMediaPlayback : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params
completion:
@@ -15068,9 +15068,9 @@
*/
@interface MTRBaseClusterMediaInput : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params completion:(MTRStatusCompletion)completion;
- (void)showInputStatusWithParams:(MTRMediaInputClusterShowInputStatusParams * _Nullable)params
@@ -15204,9 +15204,9 @@
*/
@interface MTRBaseClusterLowPower : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params completion:(MTRStatusCompletion)completion;
- (void)sleepWithCompletion:(MTRStatusCompletion)completion;
@@ -15303,9 +15303,9 @@
*/
@interface MTRBaseClusterKeypadInput : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params
completion:
@@ -15403,9 +15403,9 @@
*/
@interface MTRBaseClusterContentLauncher : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params
completion:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data,
@@ -15544,9 +15544,9 @@
*/
@interface MTRBaseClusterAudioOutput : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params completion:(MTRStatusCompletion)completion;
- (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params completion:(MTRStatusCompletion)completion;
@@ -15674,9 +15674,9 @@
*/
@interface MTRBaseClusterApplicationLauncher : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params
completion:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
@@ -15818,9 +15818,9 @@
*/
@interface MTRBaseClusterApplicationBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion;
/**
@@ -16043,9 +16043,9 @@
*/
@interface MTRBaseClusterAccountLogin : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params
completion:(void (^)(MTRAccountLoginClusterGetSetupPINResponseParams * _Nullable data,
@@ -16146,9 +16146,9 @@
*/
@interface MTRBaseClusterElectricalMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params
completion:(MTRStatusCompletion)completion;
@@ -18487,9 +18487,9 @@
*/
@interface MTRBaseClusterTestCluster : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)testWithParams:(MTRTestClusterClusterTestParams * _Nullable)params completion:(MTRStatusCompletion)completion;
- (void)testWithCompletion:(MTRStatusCompletion)completion;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h
index ebb3da1..c2b9221 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h
@@ -32,9 +32,9 @@
*/
@interface MTRClusterIdentify : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -75,9 +75,9 @@
*/
@interface MTRClusterGroups : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -133,9 +133,9 @@
*/
@interface MTRClusterScenes : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -219,9 +219,9 @@
*/
@interface MTRClusterOnOff : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -306,9 +306,9 @@
*/
@interface MTRClusterOnOffSwitchConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeSwitchTypeWithParams:(MTRReadParams * _Nullable)params;
@@ -340,9 +340,9 @@
*/
@interface MTRClusterLevelControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -465,9 +465,9 @@
*/
@interface MTRClusterBinaryInputBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeActiveTextWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeActiveTextWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -538,9 +538,9 @@
*/
@interface MTRClusterDescriptor : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeDeviceTypeListWithParams:(MTRReadParams * _Nullable)params;
@@ -571,9 +571,9 @@
*/
@interface MTRClusterBinding : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeBindingWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -603,9 +603,9 @@
*/
@interface MTRClusterAccessControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeAclWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeAclWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -648,9 +648,9 @@
*/
@interface MTRClusterActions : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -728,9 +728,9 @@
*/
@interface MTRClusterBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -816,9 +816,9 @@
*/
@interface MTRClusterOtaSoftwareUpdateProvider : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)queryImageWithParams:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -856,9 +856,9 @@
*/
@interface MTRClusterOtaSoftwareUpdateRequestor : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)announceOtaProviderWithParams:(MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -899,9 +899,9 @@
*/
@interface MTRClusterLocalizationConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeActiveLocaleWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeActiveLocaleWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -933,9 +933,9 @@
*/
@interface MTRClusterTimeFormatLocalization : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeHourFormatWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeHourFormatWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -974,9 +974,9 @@
*/
@interface MTRClusterUnitLocalization : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeTemperatureUnitWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeTemperatureUnitWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -1006,9 +1006,9 @@
*/
@interface MTRClusterPowerSourceConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeSourcesWithParams:(MTRReadParams * _Nullable)params;
@@ -1033,9 +1033,9 @@
*/
@interface MTRClusterPowerSource : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params;
@@ -1120,9 +1120,9 @@
*/
@interface MTRClusterGeneralCommissioning : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1183,9 +1183,9 @@
*/
@interface MTRClusterNetworkCommissioning : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1260,9 +1260,9 @@
*/
@interface MTRClusterDiagnosticLogs : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1291,9 +1291,9 @@
*/
@interface MTRClusterGeneralDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1339,9 +1339,9 @@
*/
@interface MTRClusterSoftwareDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1380,9 +1380,9 @@
*/
@interface MTRClusterThreadNetworkDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1539,9 +1539,9 @@
*/
@interface MTRClusterWiFiNetworkDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1598,9 +1598,9 @@
*/
@interface MTRClusterEthernetNetworkDiagnostics : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1649,9 +1649,9 @@
*/
@interface MTRClusterBridgedDeviceBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params;
@@ -1709,9 +1709,9 @@
*/
@interface MTRClusterSwitch : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeNumberOfPositionsWithParams:(MTRReadParams * _Nullable)params;
@@ -1740,9 +1740,9 @@
*/
@interface MTRClusterAdministratorCommissioning : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1787,9 +1787,9 @@
*/
@interface MTRClusterOperationalCredentials : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1864,9 +1864,9 @@
*/
@interface MTRClusterGroupKeyManagement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -1921,9 +1921,9 @@
*/
@interface MTRClusterFixedLabel : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params;
@@ -1948,9 +1948,9 @@
*/
@interface MTRClusterUserLabel : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeLabelListWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -1980,9 +1980,9 @@
*/
@interface MTRClusterBooleanState : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeStateValueWithParams:(MTRReadParams * _Nullable)params;
@@ -2007,9 +2007,9 @@
*/
@interface MTRClusterModeSelect : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -2059,9 +2059,9 @@
*/
@interface MTRClusterDoorLock : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -2324,9 +2324,9 @@
*/
@interface MTRClusterWindowCovering : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -2436,9 +2436,9 @@
*/
@interface MTRClusterBarrierControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -2523,9 +2523,9 @@
*/
@interface MTRClusterPumpConfigurationAndControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMaxPressureWithParams:(MTRReadParams * _Nullable)params;
@@ -2614,9 +2614,9 @@
*/
@interface MTRClusterThermostat : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -2893,9 +2893,9 @@
*/
@interface MTRClusterFanControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeFanModeWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeFanModeWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -2970,9 +2970,9 @@
*/
@interface MTRClusterThermostatUserInterfaceConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeTemperatureDisplayModeWithParams:(MTRReadParams * _Nullable)params;
- (void)writeAttributeTemperatureDisplayModeWithValue:(NSDictionary<NSString *, id> *)dataValueDictionary
@@ -3016,9 +3016,9 @@
*/
@interface MTRClusterColorControl : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -3287,9 +3287,9 @@
*/
@interface MTRClusterBallastConfiguration : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributePhysicalMinLevelWithParams:(MTRReadParams * _Nullable)params;
@@ -3390,9 +3390,9 @@
*/
@interface MTRClusterIlluminanceMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params;
@@ -3425,9 +3425,9 @@
*/
@interface MTRClusterTemperatureMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params;
@@ -3458,9 +3458,9 @@
*/
@interface MTRClusterPressureMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params;
@@ -3501,9 +3501,9 @@
*/
@interface MTRClusterFlowMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params;
@@ -3534,9 +3534,9 @@
*/
@interface MTRClusterRelativeHumidityMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params;
@@ -3567,9 +3567,9 @@
*/
@interface MTRClusterOccupancySensing : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params;
@@ -3662,9 +3662,9 @@
*/
@interface MTRClusterWakeOnLan : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeMACAddressWithParams:(MTRReadParams * _Nullable)params;
@@ -3689,9 +3689,9 @@
*/
@interface MTRClusterChannel : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -3734,9 +3734,9 @@
*/
@interface MTRClusterTargetNavigator : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -3769,9 +3769,9 @@
*/
@interface MTRClusterMediaPlayback : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -3896,9 +3896,9 @@
*/
@interface MTRClusterMediaInput : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -3948,9 +3948,9 @@
*/
@interface MTRClusterLowPower : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -3981,9 +3981,9 @@
*/
@interface MTRClusterKeypadInput : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -4012,9 +4012,9 @@
*/
@interface MTRClusterContentLauncher : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -4057,9 +4057,9 @@
*/
@interface MTRClusterAudioOutput : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -4095,9 +4095,9 @@
*/
@interface MTRClusterApplicationLauncher : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -4145,9 +4145,9 @@
*/
@interface MTRClusterApplicationBasic : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (NSDictionary<NSString *, id> *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params;
@@ -4186,9 +4186,9 @@
*/
@interface MTRClusterAccountLogin : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -4228,9 +4228,9 @@
*/
@interface MTRClusterElectricalMeasurement : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
@@ -4561,9 +4561,9 @@
*/
@interface MTRClusterTestCluster : MTRCluster
-- (nullable instancetype)initWithDevice:(MTRDevice *)device
- endpoint:(NSNumber *)endpoint
- queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype _Nullable)initWithDevice:(MTRDevice *)device
+ endpoint:(NSNumber *)endpoint
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
- (void)testWithParams:(MTRTestClusterClusterTestParams * _Nullable)params
expectedValues:(NSArray<NSDictionary<NSString *, id> *> * _Nullable)expectedDataValueDictionaries
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h
index e299b9c..a7c1fa9 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h
@@ -40,7 +40,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRIdentifyClusterTriggerEffectParams : NSObject <NSCopying>
@@ -64,7 +64,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterAddGroupParams : NSObject <NSCopying>
@@ -88,7 +88,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterAddGroupResponseParams : NSObject <NSCopying>
@@ -112,7 +112,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterViewGroupParams : NSObject <NSCopying>
@@ -134,7 +134,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterViewGroupResponseParams : NSObject <NSCopying>
@@ -160,7 +160,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterGetGroupMembershipParams : NSObject <NSCopying>
@@ -182,7 +182,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterGetGroupMembershipResponseParams : NSObject <NSCopying>
@@ -206,7 +206,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterRemoveGroupParams : NSObject <NSCopying>
@@ -228,7 +228,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterRemoveGroupResponseParams : NSObject <NSCopying>
@@ -252,7 +252,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterRemoveAllGroupsParams : NSObject <NSCopying>
/**
@@ -272,7 +272,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupsClusterAddGroupIfIdentifyingParams : NSObject <NSCopying>
@@ -296,7 +296,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterAddSceneParams : NSObject <NSCopying>
@@ -326,7 +326,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterAddSceneResponseParams : NSObject <NSCopying>
@@ -352,7 +352,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterViewSceneParams : NSObject <NSCopying>
@@ -376,7 +376,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterViewSceneResponseParams : NSObject <NSCopying>
@@ -408,7 +408,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterRemoveSceneParams : NSObject <NSCopying>
@@ -432,7 +432,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterRemoveSceneResponseParams : NSObject <NSCopying>
@@ -458,7 +458,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterRemoveAllScenesParams : NSObject <NSCopying>
@@ -480,7 +480,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterRemoveAllScenesResponseParams : NSObject <NSCopying>
@@ -504,7 +504,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterStoreSceneParams : NSObject <NSCopying>
@@ -528,7 +528,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterStoreSceneResponseParams : NSObject <NSCopying>
@@ -554,7 +554,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterRecallSceneParams : NSObject <NSCopying>
@@ -580,7 +580,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterGetSceneMembershipParams : NSObject <NSCopying>
@@ -602,7 +602,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterGetSceneMembershipResponseParams : NSObject <NSCopying>
@@ -630,7 +630,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterEnhancedAddSceneParams : NSObject <NSCopying>
@@ -660,7 +660,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterEnhancedAddSceneResponseParams : NSObject <NSCopying>
@@ -686,7 +686,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterEnhancedViewSceneParams : NSObject <NSCopying>
@@ -710,7 +710,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterEnhancedViewSceneResponseParams : NSObject <NSCopying>
@@ -742,7 +742,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterCopySceneParams : NSObject <NSCopying>
@@ -772,7 +772,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterCopySceneResponseParams : NSObject <NSCopying>
@@ -798,7 +798,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROnOffClusterOffParams : NSObject <NSCopying>
/**
@@ -818,7 +818,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROnOffClusterOnParams : NSObject <NSCopying>
/**
@@ -838,7 +838,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROnOffClusterToggleParams : NSObject <NSCopying>
/**
@@ -858,7 +858,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROnOffClusterOffWithEffectParams : NSObject <NSCopying>
@@ -882,7 +882,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROnOffClusterOnWithRecallGlobalSceneParams : NSObject <NSCopying>
/**
@@ -902,7 +902,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROnOffClusterOnWithTimedOffParams : NSObject <NSCopying>
@@ -928,7 +928,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterMoveToLevelParams : NSObject <NSCopying>
@@ -956,7 +956,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterMoveParams : NSObject <NSCopying>
@@ -984,7 +984,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterStepParams : NSObject <NSCopying>
@@ -1014,7 +1014,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterStopParams : NSObject <NSCopying>
@@ -1038,7 +1038,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterMoveToLevelWithOnOffParams : NSObject <NSCopying>
@@ -1066,7 +1066,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterMoveWithOnOffParams : NSObject <NSCopying>
@@ -1094,7 +1094,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterStepWithOnOffParams : NSObject <NSCopying>
@@ -1124,7 +1124,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterStopWithOnOffParams : NSObject <NSCopying>
@@ -1148,7 +1148,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLevelControlClusterMoveToClosestFrequencyParams : NSObject <NSCopying>
@@ -1170,7 +1170,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterInstantActionParams : NSObject <NSCopying>
@@ -1194,7 +1194,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterInstantActionWithTransitionParams : NSObject <NSCopying>
@@ -1220,7 +1220,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterStartActionParams : NSObject <NSCopying>
@@ -1244,7 +1244,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterStartActionWithDurationParams : NSObject <NSCopying>
@@ -1270,7 +1270,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterStopActionParams : NSObject <NSCopying>
@@ -1294,7 +1294,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterPauseActionParams : NSObject <NSCopying>
@@ -1318,7 +1318,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterPauseActionWithDurationParams : NSObject <NSCopying>
@@ -1344,7 +1344,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterResumeActionParams : NSObject <NSCopying>
@@ -1368,7 +1368,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterEnableActionParams : NSObject <NSCopying>
@@ -1392,7 +1392,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterEnableActionWithDurationParams : NSObject <NSCopying>
@@ -1418,7 +1418,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterDisableActionParams : NSObject <NSCopying>
@@ -1442,7 +1442,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterDisableActionWithDurationParams : NSObject <NSCopying>
@@ -1468,7 +1468,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBasicClusterMfgSpecificPingParams : NSObject <NSCopying>
/**
@@ -1488,7 +1488,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateProviderClusterQueryImageParams : NSObject <NSCopying>
@@ -1524,7 +1524,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams : NSObject <NSCopying>
@@ -1560,7 +1560,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams : NSObject <NSCopying>
@@ -1584,7 +1584,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams : NSObject <NSCopying>
@@ -1608,7 +1608,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateProviderClusterNotifyUpdateAppliedParams : NSObject <NSCopying>
@@ -1632,7 +1632,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams : NSObject <NSCopying>
@@ -1662,7 +1662,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterArmFailSafeParams : NSObject <NSCopying>
@@ -1686,7 +1686,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterArmFailSafeResponseParams : NSObject <NSCopying>
@@ -1710,7 +1710,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterSetRegulatoryConfigParams : NSObject <NSCopying>
@@ -1736,7 +1736,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams : NSObject <NSCopying>
@@ -1760,7 +1760,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterCommissioningCompleteParams : NSObject <NSCopying>
/**
@@ -1780,7 +1780,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterCommissioningCompleteResponseParams : NSObject <NSCopying>
@@ -1804,7 +1804,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterScanNetworksParams : NSObject <NSCopying>
@@ -1828,7 +1828,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterScanNetworksResponseParams : NSObject <NSCopying>
@@ -1856,7 +1856,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams : NSObject <NSCopying>
@@ -1882,7 +1882,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams : NSObject <NSCopying>
@@ -1906,7 +1906,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterRemoveNetworkParams : NSObject <NSCopying>
@@ -1930,7 +1930,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterNetworkConfigResponseParams : NSObject <NSCopying>
@@ -1956,7 +1956,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterConnectNetworkParams : NSObject <NSCopying>
@@ -1980,7 +1980,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterConnectNetworkResponseParams : NSObject <NSCopying>
@@ -2006,7 +2006,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterReorderNetworkParams : NSObject <NSCopying>
@@ -2032,7 +2032,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDiagnosticLogsClusterRetrieveLogsRequestParams : NSObject <NSCopying>
@@ -2058,7 +2058,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDiagnosticLogsClusterRetrieveLogsResponseParams : NSObject <NSCopying>
@@ -2086,7 +2086,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralDiagnosticsClusterTestEventTriggerParams : NSObject <NSCopying>
@@ -2110,7 +2110,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSoftwareDiagnosticsClusterResetWatermarksParams : NSObject <NSCopying>
/**
@@ -2130,7 +2130,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterResetCountsParams : NSObject <NSCopying>
/**
@@ -2150,7 +2150,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWiFiNetworkDiagnosticsClusterResetCountsParams : NSObject <NSCopying>
/**
@@ -2170,7 +2170,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTREthernetNetworkDiagnosticsClusterResetCountsParams : NSObject <NSCopying>
/**
@@ -2190,7 +2190,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTimeSynchronizationClusterSetUtcTimeParams : NSObject <NSCopying>
@@ -2216,7 +2216,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAdministratorCommissioningClusterOpenCommissioningWindowParams : NSObject <NSCopying>
@@ -2246,7 +2246,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams : NSObject <NSCopying>
@@ -2268,7 +2268,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAdministratorCommissioningClusterRevokeCommissioningParams : NSObject <NSCopying>
/**
@@ -2288,7 +2288,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterAttestationRequestParams : NSObject <NSCopying>
@@ -2310,7 +2310,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterAttestationResponseParams : NSObject <NSCopying>
@@ -2334,7 +2334,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterCertificateChainRequestParams : NSObject <NSCopying>
@@ -2356,7 +2356,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterCertificateChainResponseParams : NSObject <NSCopying>
@@ -2378,7 +2378,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterCSRRequestParams : NSObject <NSCopying>
@@ -2402,7 +2402,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterCSRResponseParams : NSObject <NSCopying>
@@ -2426,7 +2426,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterAddNOCParams : NSObject <NSCopying>
@@ -2456,7 +2456,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterUpdateNOCParams : NSObject <NSCopying>
@@ -2480,7 +2480,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterNOCResponseParams : NSObject <NSCopying>
@@ -2506,7 +2506,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterUpdateFabricLabelParams : NSObject <NSCopying>
@@ -2528,7 +2528,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterRemoveFabricParams : NSObject <NSCopying>
@@ -2550,7 +2550,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterAddTrustedRootCertificateParams : NSObject <NSCopying>
@@ -2572,7 +2572,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterKeySetWriteParams : NSObject <NSCopying>
@@ -2594,7 +2594,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterKeySetReadParams : NSObject <NSCopying>
@@ -2616,7 +2616,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterKeySetReadResponseParams : NSObject <NSCopying>
@@ -2638,7 +2638,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterKeySetRemoveParams : NSObject <NSCopying>
@@ -2660,7 +2660,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterKeySetReadAllIndicesParams : NSObject <NSCopying>
@@ -2682,7 +2682,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams : NSObject <NSCopying>
@@ -2704,7 +2704,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRModeSelectClusterChangeToModeParams : NSObject <NSCopying>
@@ -2726,7 +2726,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterLockDoorParams : NSObject <NSCopying>
@@ -2748,7 +2748,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterUnlockDoorParams : NSObject <NSCopying>
@@ -2770,7 +2770,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterUnlockWithTimeoutParams : NSObject <NSCopying>
@@ -2794,7 +2794,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterSetWeekDayScheduleParams : NSObject <NSCopying>
@@ -2828,7 +2828,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetWeekDayScheduleParams : NSObject <NSCopying>
@@ -2852,7 +2852,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetWeekDayScheduleResponseParams : NSObject <NSCopying>
@@ -2888,7 +2888,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterClearWeekDayScheduleParams : NSObject <NSCopying>
@@ -2912,7 +2912,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterSetYearDayScheduleParams : NSObject <NSCopying>
@@ -2940,7 +2940,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetYearDayScheduleParams : NSObject <NSCopying>
@@ -2964,7 +2964,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetYearDayScheduleResponseParams : NSObject <NSCopying>
@@ -2994,7 +2994,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterClearYearDayScheduleParams : NSObject <NSCopying>
@@ -3018,7 +3018,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterSetHolidayScheduleParams : NSObject <NSCopying>
@@ -3046,7 +3046,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetHolidayScheduleParams : NSObject <NSCopying>
@@ -3068,7 +3068,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetHolidayScheduleResponseParams : NSObject <NSCopying>
@@ -3098,7 +3098,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterClearHolidayScheduleParams : NSObject <NSCopying>
@@ -3120,7 +3120,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterSetUserParams : NSObject <NSCopying>
@@ -3154,7 +3154,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetUserParams : NSObject <NSCopying>
@@ -3176,7 +3176,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetUserResponseParams : NSObject <NSCopying>
@@ -3216,7 +3216,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterClearUserParams : NSObject <NSCopying>
@@ -3238,7 +3238,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterSetCredentialParams : NSObject <NSCopying>
@@ -3270,7 +3270,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterSetCredentialResponseParams : NSObject <NSCopying>
@@ -3296,7 +3296,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetCredentialStatusParams : NSObject <NSCopying>
@@ -3318,7 +3318,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterGetCredentialStatusResponseParams : NSObject <NSCopying>
@@ -3348,7 +3348,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterClearCredentialParams : NSObject <NSCopying>
@@ -3370,7 +3370,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterUpOrOpenParams : NSObject <NSCopying>
/**
@@ -3390,7 +3390,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterDownOrCloseParams : NSObject <NSCopying>
/**
@@ -3410,7 +3410,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterStopMotionParams : NSObject <NSCopying>
/**
@@ -3430,7 +3430,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterGoToLiftValueParams : NSObject <NSCopying>
@@ -3452,7 +3452,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterGoToLiftPercentageParams : NSObject <NSCopying>
@@ -3474,7 +3474,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterGoToTiltValueParams : NSObject <NSCopying>
@@ -3496,7 +3496,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWindowCoveringClusterGoToTiltPercentageParams : NSObject <NSCopying>
@@ -3518,7 +3518,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBarrierControlClusterBarrierControlGoToPercentParams : NSObject <NSCopying>
@@ -3540,7 +3540,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBarrierControlClusterBarrierControlStopParams : NSObject <NSCopying>
/**
@@ -3560,7 +3560,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThermostatClusterSetpointRaiseLowerParams : NSObject <NSCopying>
@@ -3584,7 +3584,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThermostatClusterGetWeeklyScheduleResponseParams : NSObject <NSCopying>
@@ -3612,7 +3612,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThermostatClusterSetWeeklyScheduleParams : NSObject <NSCopying>
@@ -3640,7 +3640,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThermostatClusterGetWeeklyScheduleParams : NSObject <NSCopying>
@@ -3664,7 +3664,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThermostatClusterClearWeeklyScheduleParams : NSObject <NSCopying>
/**
@@ -3684,7 +3684,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveToHueParams : NSObject <NSCopying>
@@ -3714,7 +3714,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveHueParams : NSObject <NSCopying>
@@ -3742,7 +3742,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterStepHueParams : NSObject <NSCopying>
@@ -3772,7 +3772,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveToSaturationParams : NSObject <NSCopying>
@@ -3800,7 +3800,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveSaturationParams : NSObject <NSCopying>
@@ -3828,7 +3828,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterStepSaturationParams : NSObject <NSCopying>
@@ -3858,7 +3858,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveToHueAndSaturationParams : NSObject <NSCopying>
@@ -3888,7 +3888,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveToColorParams : NSObject <NSCopying>
@@ -3918,7 +3918,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveColorParams : NSObject <NSCopying>
@@ -3946,7 +3946,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterStepColorParams : NSObject <NSCopying>
@@ -3976,7 +3976,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveToColorTemperatureParams : NSObject <NSCopying>
@@ -4004,7 +4004,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterEnhancedMoveToHueParams : NSObject <NSCopying>
@@ -4034,7 +4034,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterEnhancedMoveHueParams : NSObject <NSCopying>
@@ -4062,7 +4062,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterEnhancedStepHueParams : NSObject <NSCopying>
@@ -4092,7 +4092,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterEnhancedMoveToHueAndSaturationParams : NSObject <NSCopying>
@@ -4122,7 +4122,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterColorLoopSetParams : NSObject <NSCopying>
@@ -4156,7 +4156,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterStopMoveStepParams : NSObject <NSCopying>
@@ -4180,7 +4180,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterMoveColorTemperatureParams : NSObject <NSCopying>
@@ -4212,7 +4212,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRColorControlClusterStepColorTemperatureParams : NSObject <NSCopying>
@@ -4246,7 +4246,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRChannelClusterChangeChannelParams : NSObject <NSCopying>
@@ -4268,7 +4268,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRChannelClusterChangeChannelResponseParams : NSObject <NSCopying>
@@ -4292,7 +4292,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRChannelClusterChangeChannelByNumberParams : NSObject <NSCopying>
@@ -4316,7 +4316,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRChannelClusterSkipChannelParams : NSObject <NSCopying>
@@ -4338,7 +4338,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTargetNavigatorClusterNavigateTargetParams : NSObject <NSCopying>
@@ -4362,7 +4362,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTargetNavigatorClusterNavigateTargetResponseParams : NSObject <NSCopying>
@@ -4386,7 +4386,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterPlayParams : NSObject <NSCopying>
/**
@@ -4406,7 +4406,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterPauseParams : NSObject <NSCopying>
/**
@@ -4426,7 +4426,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterStopPlaybackParams : NSObject <NSCopying>
/**
@@ -4446,7 +4446,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterStartOverParams : NSObject <NSCopying>
/**
@@ -4466,7 +4466,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterPreviousParams : NSObject <NSCopying>
/**
@@ -4486,7 +4486,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterNextParams : NSObject <NSCopying>
/**
@@ -4506,7 +4506,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterRewindParams : NSObject <NSCopying>
/**
@@ -4526,7 +4526,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterFastForwardParams : NSObject <NSCopying>
/**
@@ -4546,7 +4546,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterSkipForwardParams : NSObject <NSCopying>
@@ -4568,7 +4568,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterSkipBackwardParams : NSObject <NSCopying>
@@ -4590,7 +4590,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterPlaybackResponseParams : NSObject <NSCopying>
@@ -4614,7 +4614,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterSeekParams : NSObject <NSCopying>
@@ -4636,7 +4636,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaInputClusterSelectInputParams : NSObject <NSCopying>
@@ -4658,7 +4658,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaInputClusterShowInputStatusParams : NSObject <NSCopying>
/**
@@ -4678,7 +4678,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaInputClusterHideInputStatusParams : NSObject <NSCopying>
/**
@@ -4698,7 +4698,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaInputClusterRenameInputParams : NSObject <NSCopying>
@@ -4722,7 +4722,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRLowPowerClusterSleepParams : NSObject <NSCopying>
/**
@@ -4742,7 +4742,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRKeypadInputClusterSendKeyParams : NSObject <NSCopying>
@@ -4764,7 +4764,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRKeypadInputClusterSendKeyResponseParams : NSObject <NSCopying>
@@ -4786,7 +4786,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterLaunchContentParams : NSObject <NSCopying>
@@ -4812,7 +4812,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterLaunchURLParams : NSObject <NSCopying>
@@ -4838,7 +4838,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterLaunchResponseParams : NSObject <NSCopying>
@@ -4862,7 +4862,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAudioOutputClusterSelectOutputParams : NSObject <NSCopying>
@@ -4884,7 +4884,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAudioOutputClusterRenameOutputParams : NSObject <NSCopying>
@@ -4908,7 +4908,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationLauncherClusterLaunchAppParams : NSObject <NSCopying>
@@ -4932,7 +4932,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationLauncherClusterStopAppParams : NSObject <NSCopying>
@@ -4954,7 +4954,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationLauncherClusterHideAppParams : NSObject <NSCopying>
@@ -4976,7 +4976,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationLauncherClusterLauncherResponseParams : NSObject <NSCopying>
@@ -5000,7 +5000,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccountLoginClusterGetSetupPINParams : NSObject <NSCopying>
@@ -5022,7 +5022,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccountLoginClusterGetSetupPINResponseParams : NSObject <NSCopying>
@@ -5044,7 +5044,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccountLoginClusterLoginParams : NSObject <NSCopying>
@@ -5068,7 +5068,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccountLoginClusterLogoutParams : NSObject <NSCopying>
/**
@@ -5088,7 +5088,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams : NSObject <NSCopying>
@@ -5116,7 +5116,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRElectricalMeasurementClusterGetProfileInfoCommandParams : NSObject <NSCopying>
/**
@@ -5136,7 +5136,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams : NSObject <NSCopying>
@@ -5168,7 +5168,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams : NSObject <NSCopying>
@@ -5194,7 +5194,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestParams : NSObject <NSCopying>
/**
@@ -5214,7 +5214,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestSpecificResponseParams : NSObject <NSCopying>
@@ -5236,7 +5236,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestNotHandledParams : NSObject <NSCopying>
/**
@@ -5256,7 +5256,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestAddArgumentsResponseParams : NSObject <NSCopying>
@@ -5278,7 +5278,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestSpecificParams : NSObject <NSCopying>
/**
@@ -5298,7 +5298,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestSimpleArgumentResponseParams : NSObject <NSCopying>
@@ -5320,7 +5320,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestUnknownCommandParams : NSObject <NSCopying>
/**
@@ -5340,7 +5340,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestStructArrayArgumentResponseParams : NSObject <NSCopying>
@@ -5372,7 +5372,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestAddArgumentsParams : NSObject <NSCopying>
@@ -5396,7 +5396,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestListInt8UReverseResponseParams : NSObject <NSCopying>
@@ -5418,7 +5418,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestSimpleArgumentRequestParams : NSObject <NSCopying>
@@ -5440,7 +5440,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEnumsResponseParams : NSObject <NSCopying>
@@ -5464,7 +5464,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestStructArrayArgumentRequestParams : NSObject <NSCopying>
@@ -5496,7 +5496,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestNullableOptionalResponseParams : NSObject <NSCopying>
@@ -5524,7 +5524,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestStructArgumentRequestParams : NSObject <NSCopying>
@@ -5546,7 +5546,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestComplexNullableOptionalResponseParams : NSObject <NSCopying>
@@ -5622,7 +5622,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestNestedStructArgumentRequestParams : NSObject <NSCopying>
@@ -5644,7 +5644,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterBooleanResponseParams : NSObject <NSCopying>
@@ -5666,7 +5666,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestListStructArgumentRequestParams : NSObject <NSCopying>
@@ -5688,7 +5688,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterSimpleStructResponseParams : NSObject <NSCopying>
@@ -5710,7 +5710,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestListInt8UArgumentRequestParams : NSObject <NSCopying>
@@ -5732,7 +5732,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEmitTestEventResponseParams : NSObject <NSCopying>
@@ -5754,7 +5754,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestNestedStructListArgumentRequestParams : NSObject <NSCopying>
@@ -5776,7 +5776,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams : NSObject <NSCopying>
@@ -5798,7 +5798,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestListNestedStructListArgumentRequestParams : NSObject <NSCopying>
@@ -5820,7 +5820,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestListInt8UReverseRequestParams : NSObject <NSCopying>
@@ -5842,7 +5842,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEnumsRequestParams : NSObject <NSCopying>
@@ -5866,7 +5866,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestNullableOptionalRequestParams : NSObject <NSCopying>
@@ -5888,7 +5888,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestComplexNullableOptionalRequestParams : NSObject <NSCopying>
@@ -5932,7 +5932,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterSimpleStructEchoRequestParams : NSObject <NSCopying>
@@ -5954,7 +5954,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTimedInvokeRequestParams : NSObject <NSCopying>
/**
@@ -5974,7 +5974,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams : NSObject <NSCopying>
@@ -5996,7 +5996,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEmitTestEventRequestParams : NSObject <NSCopying>
@@ -6022,7 +6022,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams : NSObject <NSCopying>
@@ -6044,7 +6044,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRFaultInjectionClusterFailAtFaultParams : NSObject <NSCopying>
@@ -6074,7 +6074,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRFaultInjectionClusterFailRandomlyAtFaultParams : NSObject <NSCopying>
@@ -6100,7 +6100,7 @@
@property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
index 926e14e..d6f6c8e 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
@@ -30,7 +30,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRIdentifyClusterIdentifyParams alloc] init];
@@ -61,7 +61,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRIdentifyClusterTriggerEffectParams alloc] init];
@@ -93,7 +93,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterAddGroupParams alloc] init];
@@ -125,7 +125,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterAddGroupResponseParams alloc] init];
@@ -155,7 +155,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterViewGroupParams alloc] init];
@@ -187,7 +187,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterViewGroupResponseParams alloc] init];
@@ -218,7 +218,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterGetGroupMembershipParams alloc] init];
@@ -248,7 +248,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterGetGroupMembershipResponseParams alloc] init];
@@ -278,7 +278,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterRemoveGroupParams alloc] init];
@@ -308,7 +308,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterRemoveGroupResponseParams alloc] init];
@@ -336,7 +336,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterRemoveAllGroupsParams alloc] init];
@@ -365,7 +365,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupsClusterAddGroupIfIdentifyingParams alloc] init];
@@ -403,7 +403,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterAddSceneParams alloc] init];
@@ -441,7 +441,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterAddSceneResponseParams alloc] init];
@@ -474,7 +474,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterViewSceneParams alloc] init];
@@ -514,7 +514,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterViewSceneResponseParams alloc] init];
@@ -551,7 +551,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterRemoveSceneParams alloc] init];
@@ -585,7 +585,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterRemoveSceneResponseParams alloc] init];
@@ -616,7 +616,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterRemoveAllScenesParams alloc] init];
@@ -646,7 +646,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterRemoveAllScenesResponseParams alloc] init];
@@ -678,7 +678,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterStoreSceneParams alloc] init];
@@ -712,7 +712,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterStoreSceneResponseParams alloc] init];
@@ -747,7 +747,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterRecallSceneParams alloc] init];
@@ -778,7 +778,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterGetSceneMembershipParams alloc] init];
@@ -812,7 +812,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterGetSceneMembershipResponseParams alloc] init];
@@ -852,7 +852,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterEnhancedAddSceneParams alloc] init];
@@ -890,7 +890,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterEnhancedAddSceneResponseParams alloc] init];
@@ -923,7 +923,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterEnhancedViewSceneParams alloc] init];
@@ -963,7 +963,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterEnhancedViewSceneResponseParams alloc] init];
@@ -1006,7 +1006,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterCopySceneParams alloc] init];
@@ -1044,7 +1044,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRScenesClusterCopySceneResponseParams alloc] init];
@@ -1073,7 +1073,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROnOffClusterOffParams alloc] init];
@@ -1098,7 +1098,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROnOffClusterOnParams alloc] init];
@@ -1123,7 +1123,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROnOffClusterToggleParams alloc] init];
@@ -1152,7 +1152,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROnOffClusterOffWithEffectParams alloc] init];
@@ -1180,7 +1180,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROnOffClusterOnWithRecallGlobalSceneParams alloc] init];
@@ -1211,7 +1211,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROnOffClusterOnWithTimedOffParams alloc] init];
@@ -1248,7 +1248,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterMoveToLevelParams alloc] init];
@@ -1287,7 +1287,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterMoveParams alloc] init];
@@ -1327,7 +1327,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterStepParams alloc] init];
@@ -1363,7 +1363,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterStopParams alloc] init];
@@ -1399,7 +1399,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterMoveToLevelWithOnOffParams alloc] init];
@@ -1438,7 +1438,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterMoveWithOnOffParams alloc] init];
@@ -1478,7 +1478,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterStepWithOnOffParams alloc] init];
@@ -1514,7 +1514,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterStopWithOnOffParams alloc] init];
@@ -1544,7 +1544,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLevelControlClusterMoveToClosestFrequencyParams alloc] init];
@@ -1574,7 +1574,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterInstantActionParams alloc] init];
@@ -1608,7 +1608,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterInstantActionWithTransitionParams alloc] init];
@@ -1641,7 +1641,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterStartActionParams alloc] init];
@@ -1675,7 +1675,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterStartActionWithDurationParams alloc] init];
@@ -1708,7 +1708,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterStopActionParams alloc] init];
@@ -1740,7 +1740,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterPauseActionParams alloc] init];
@@ -1774,7 +1774,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterPauseActionWithDurationParams alloc] init];
@@ -1807,7 +1807,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterResumeActionParams alloc] init];
@@ -1839,7 +1839,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterEnableActionParams alloc] init];
@@ -1873,7 +1873,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterEnableActionWithDurationParams alloc] init];
@@ -1906,7 +1906,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterDisableActionParams alloc] init];
@@ -1940,7 +1940,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRActionsClusterDisableActionWithDurationParams alloc] init];
@@ -1969,7 +1969,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRBasicClusterMfgSpecificPingParams alloc] init];
@@ -2010,7 +2010,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROtaSoftwareUpdateProviderClusterQueryImageParams alloc] init];
@@ -2063,7 +2063,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams alloc] init];
@@ -2105,7 +2105,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams alloc] init];
@@ -2138,7 +2138,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams alloc] init];
@@ -2170,7 +2170,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROtaSoftwareUpdateProviderClusterNotifyUpdateAppliedParams alloc] init];
@@ -2209,7 +2209,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams alloc] init];
@@ -2246,7 +2246,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralCommissioningClusterArmFailSafeParams alloc] init];
@@ -2278,7 +2278,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralCommissioningClusterArmFailSafeResponseParams alloc] init];
@@ -2312,7 +2312,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralCommissioningClusterSetRegulatoryConfigParams alloc] init];
@@ -2345,7 +2345,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams alloc] init];
@@ -2373,7 +2373,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralCommissioningClusterCommissioningCompleteParams alloc] init];
@@ -2402,7 +2402,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralCommissioningClusterCommissioningCompleteResponseParams alloc] init];
@@ -2434,7 +2434,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterScanNetworksParams alloc] init];
@@ -2470,7 +2470,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterScanNetworksResponseParams alloc] init];
@@ -2507,7 +2507,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams alloc] init];
@@ -2541,7 +2541,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams alloc] init];
@@ -2574,7 +2574,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterRemoveNetworkParams alloc] init];
@@ -2609,7 +2609,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterNetworkConfigResponseParams alloc] init];
@@ -2642,7 +2642,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterConnectNetworkParams alloc] init];
@@ -2677,7 +2677,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterConnectNetworkResponseParams alloc] init];
@@ -2712,7 +2712,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRNetworkCommissioningClusterReorderNetworkParams alloc] init];
@@ -2748,7 +2748,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDiagnosticLogsClusterRetrieveLogsRequestParams alloc] init];
@@ -2786,7 +2786,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDiagnosticLogsClusterRetrieveLogsResponseParams alloc] init];
@@ -2821,7 +2821,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGeneralDiagnosticsClusterTestEventTriggerParams alloc] init];
@@ -2850,7 +2850,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRSoftwareDiagnosticsClusterResetWatermarksParams alloc] init];
@@ -2875,7 +2875,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRThreadNetworkDiagnosticsClusterResetCountsParams alloc] init];
@@ -2900,7 +2900,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWiFiNetworkDiagnosticsClusterResetCountsParams alloc] init];
@@ -2925,7 +2925,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTREthernetNetworkDiagnosticsClusterResetCountsParams alloc] init];
@@ -2956,7 +2956,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTimeSynchronizationClusterSetUtcTimeParams alloc] init];
@@ -2995,7 +2995,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAdministratorCommissioningClusterOpenCommissioningWindowParams alloc] init];
@@ -3030,7 +3030,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init];
@@ -3057,7 +3057,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAdministratorCommissioningClusterRevokeCommissioningParams alloc] init];
@@ -3084,7 +3084,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterAttestationRequestParams alloc] init];
@@ -3115,7 +3115,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterAttestationResponseParams alloc] init];
@@ -3146,7 +3146,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterCertificateChainRequestParams alloc] init];
@@ -3175,7 +3175,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterCertificateChainResponseParams alloc] init];
@@ -3206,7 +3206,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterCSRRequestParams alloc] init];
@@ -3239,7 +3239,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterCSRResponseParams alloc] init];
@@ -3278,7 +3278,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterAddNOCParams alloc] init];
@@ -3316,7 +3316,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterUpdateNOCParams alloc] init];
@@ -3351,7 +3351,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterNOCResponseParams alloc] init];
@@ -3382,7 +3382,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterUpdateFabricLabelParams alloc] init];
@@ -3410,7 +3410,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterRemoveFabricParams alloc] init];
@@ -3439,7 +3439,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTROperationalCredentialsClusterAddTrustedRootCertificateParams alloc] init];
@@ -3468,7 +3468,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupKeyManagementClusterKeySetWriteParams alloc] init];
@@ -3497,7 +3497,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupKeyManagementClusterKeySetReadParams alloc] init];
@@ -3526,7 +3526,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupKeyManagementClusterKeySetReadResponseParams alloc] init];
@@ -3555,7 +3555,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupKeyManagementClusterKeySetRemoveParams alloc] init];
@@ -3584,7 +3584,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupKeyManagementClusterKeySetReadAllIndicesParams alloc] init];
@@ -3613,7 +3613,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams alloc] init];
@@ -3642,7 +3642,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRModeSelectClusterChangeToModeParams alloc] init];
@@ -3670,7 +3670,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterLockDoorParams alloc] init];
@@ -3699,7 +3699,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterUnlockDoorParams alloc] init];
@@ -3730,7 +3730,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterUnlockWithTimeoutParams alloc] init];
@@ -3772,7 +3772,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init];
@@ -3811,7 +3811,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init];
@@ -3855,7 +3855,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetWeekDayScheduleResponseParams alloc] init];
@@ -3895,7 +3895,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init];
@@ -3931,7 +3931,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init];
@@ -3966,7 +3966,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init];
@@ -4004,7 +4004,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetYearDayScheduleResponseParams alloc] init];
@@ -4040,7 +4040,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init];
@@ -4076,7 +4076,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init];
@@ -4109,7 +4109,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init];
@@ -4146,7 +4146,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetHolidayScheduleResponseParams alloc] init];
@@ -4180,7 +4180,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterClearHolidayScheduleParams alloc] init];
@@ -4221,7 +4221,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterSetUserParams alloc] init];
@@ -4259,7 +4259,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetUserParams alloc] init];
@@ -4305,7 +4305,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetUserResponseParams alloc] init];
@@ -4346,7 +4346,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterClearUserParams alloc] init];
@@ -4384,7 +4384,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterSetCredentialParams alloc] init];
@@ -4424,7 +4424,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterSetCredentialResponseParams alloc] init];
@@ -4455,7 +4455,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init];
@@ -4492,7 +4492,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterGetCredentialStatusResponseParams alloc] init];
@@ -4528,7 +4528,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRDoorLockClusterClearCredentialParams alloc] init];
@@ -4555,7 +4555,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterUpOrOpenParams alloc] init];
@@ -4580,7 +4580,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterDownOrCloseParams alloc] init];
@@ -4605,7 +4605,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterStopMotionParams alloc] init];
@@ -4632,7 +4632,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterGoToLiftValueParams alloc] init];
@@ -4660,7 +4660,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterGoToLiftPercentageParams alloc] init];
@@ -4689,7 +4689,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterGoToTiltValueParams alloc] init];
@@ -4717,7 +4717,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRWindowCoveringClusterGoToTiltPercentageParams alloc] init];
@@ -4746,7 +4746,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRBarrierControlClusterBarrierControlGoToPercentParams alloc] init];
@@ -4773,7 +4773,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRBarrierControlClusterBarrierControlStopParams alloc] init];
@@ -4802,7 +4802,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRThermostatClusterSetpointRaiseLowerParams alloc] init];
@@ -4838,7 +4838,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRThermostatClusterGetWeeklyScheduleResponseParams alloc] init];
@@ -4877,7 +4877,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRThermostatClusterSetWeeklyScheduleParams alloc] init];
@@ -4912,7 +4912,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRThermostatClusterGetWeeklyScheduleParams alloc] init];
@@ -4940,7 +4940,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRThermostatClusterClearWeeklyScheduleParams alloc] init];
@@ -4975,7 +4975,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveToHueParams alloc] init];
@@ -5015,7 +5015,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveHueParams alloc] init];
@@ -5055,7 +5055,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterStepHueParams alloc] init];
@@ -5095,7 +5095,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveToSaturationParams alloc] init];
@@ -5134,7 +5134,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveSaturationParams alloc] init];
@@ -5174,7 +5174,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterStepSaturationParams alloc] init];
@@ -5216,7 +5216,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveToHueAndSaturationParams alloc] init];
@@ -5258,7 +5258,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveToColorParams alloc] init];
@@ -5298,7 +5298,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveColorParams alloc] init];
@@ -5338,7 +5338,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterStepColorParams alloc] init];
@@ -5378,7 +5378,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveToColorTemperatureParams alloc] init];
@@ -5419,7 +5419,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterEnhancedMoveToHueParams alloc] init];
@@ -5459,7 +5459,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterEnhancedMoveHueParams alloc] init];
@@ -5499,7 +5499,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterEnhancedStepHueParams alloc] init];
@@ -5541,7 +5541,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterEnhancedMoveToHueAndSaturationParams alloc] init];
@@ -5587,7 +5587,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterColorLoopSetParams alloc] init];
@@ -5626,7 +5626,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterStopMoveStepParams alloc] init];
@@ -5666,7 +5666,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterMoveColorTemperatureParams alloc] init];
@@ -5715,7 +5715,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRColorControlClusterStepColorTemperatureParams alloc] init];
@@ -5753,7 +5753,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRChannelClusterChangeChannelParams alloc] init];
@@ -5783,7 +5783,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRChannelClusterChangeChannelResponseParams alloc] init];
@@ -5815,7 +5815,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRChannelClusterChangeChannelByNumberParams alloc] init];
@@ -5845,7 +5845,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRChannelClusterSkipChannelParams alloc] init];
@@ -5875,7 +5875,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTargetNavigatorClusterNavigateTargetParams alloc] init];
@@ -5907,7 +5907,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTargetNavigatorClusterNavigateTargetResponseParams alloc] init];
@@ -5935,7 +5935,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterPlayParams alloc] init];
@@ -5960,7 +5960,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterPauseParams alloc] init];
@@ -5985,7 +5985,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterStopPlaybackParams alloc] init];
@@ -6010,7 +6010,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterStartOverParams alloc] init];
@@ -6035,7 +6035,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterPreviousParams alloc] init];
@@ -6060,7 +6060,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterNextParams alloc] init];
@@ -6085,7 +6085,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterRewindParams alloc] init];
@@ -6110,7 +6110,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterFastForwardParams alloc] init];
@@ -6137,7 +6137,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterSkipForwardParams alloc] init];
@@ -6166,7 +6166,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterSkipBackwardParams alloc] init];
@@ -6197,7 +6197,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterPlaybackResponseParams alloc] init];
@@ -6227,7 +6227,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaPlaybackClusterSeekParams alloc] init];
@@ -6255,7 +6255,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaInputClusterSelectInputParams alloc] init];
@@ -6281,7 +6281,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaInputClusterShowInputStatusParams alloc] init];
@@ -6306,7 +6306,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaInputClusterHideInputStatusParams alloc] init];
@@ -6335,7 +6335,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRMediaInputClusterRenameInputParams alloc] init];
@@ -6363,7 +6363,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRLowPowerClusterSleepParams alloc] init];
@@ -6390,7 +6390,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRKeypadInputClusterSendKeyParams alloc] init];
@@ -6418,7 +6418,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRKeypadInputClusterSendKeyResponseParams alloc] init];
@@ -6450,7 +6450,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRContentLauncherClusterLaunchContentParams alloc] init];
@@ -6485,7 +6485,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRContentLauncherClusterLaunchURLParams alloc] init];
@@ -6518,7 +6518,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRContentLauncherClusterLaunchResponseParams alloc] init];
@@ -6548,7 +6548,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAudioOutputClusterSelectOutputParams alloc] init];
@@ -6578,7 +6578,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAudioOutputClusterRenameOutputParams alloc] init];
@@ -6610,7 +6610,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRApplicationLauncherClusterLaunchAppParams alloc] init];
@@ -6640,7 +6640,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRApplicationLauncherClusterStopAppParams alloc] init];
@@ -6669,7 +6669,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRApplicationLauncherClusterHideAppParams alloc] init];
@@ -6700,7 +6700,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRApplicationLauncherClusterLauncherResponseParams alloc] init];
@@ -6730,7 +6730,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAccountLoginClusterGetSetupPINParams alloc] init];
@@ -6759,7 +6759,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAccountLoginClusterGetSetupPINResponseParams alloc] init];
@@ -6789,7 +6789,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAccountLoginClusterLoginParams alloc] init];
@@ -6817,7 +6817,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRAccountLoginClusterLogoutParams alloc] init];
@@ -6850,7 +6850,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams alloc] init];
@@ -6881,7 +6881,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRElectricalMeasurementClusterGetProfileInfoCommandParams alloc] init];
@@ -6918,7 +6918,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRElectricalMeasurementClusterGetMeasurementProfileResponseCommandParams alloc] init];
@@ -6958,7 +6958,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams alloc] init];
@@ -6987,7 +6987,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestParams alloc] init];
@@ -7014,7 +7014,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestSpecificResponseParams alloc] init];
@@ -7041,7 +7041,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestNotHandledParams alloc] init];
@@ -7068,7 +7068,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestAddArgumentsResponseParams alloc] init];
@@ -7095,7 +7095,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestSpecificParams alloc] init];
@@ -7122,7 +7122,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestSimpleArgumentResponseParams alloc] init];
@@ -7149,7 +7149,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestUnknownCommandParams alloc] init];
@@ -7186,7 +7186,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestStructArrayArgumentResponseParams alloc] init];
@@ -7222,7 +7222,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestAddArgumentsParams alloc] init];
@@ -7252,7 +7252,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestListInt8UReverseResponseParams alloc] init];
@@ -7280,7 +7280,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestSimpleArgumentRequestParams alloc] init];
@@ -7310,7 +7310,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestEnumsResponseParams alloc] init];
@@ -7350,7 +7350,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestStructArrayArgumentRequestParams alloc] init];
@@ -7390,7 +7390,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestNullableOptionalResponseParams alloc] init];
@@ -7422,7 +7422,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestStructArgumentRequestParams alloc] init];
@@ -7504,7 +7504,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestComplexNullableOptionalResponseParams alloc] init];
@@ -7574,7 +7574,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestNestedStructArgumentRequestParams alloc] init];
@@ -7602,7 +7602,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterBooleanResponseParams alloc] init];
@@ -7630,7 +7630,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestListStructArgumentRequestParams alloc] init];
@@ -7658,7 +7658,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterSimpleStructResponseParams alloc] init];
@@ -7686,7 +7686,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestListInt8UArgumentRequestParams alloc] init];
@@ -7714,7 +7714,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestEmitTestEventResponseParams alloc] init];
@@ -7742,7 +7742,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestNestedStructListArgumentRequestParams alloc] init];
@@ -7770,7 +7770,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams alloc] init];
@@ -7798,7 +7798,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestListNestedStructListArgumentRequestParams alloc] init];
@@ -7826,7 +7826,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestListInt8UReverseRequestParams alloc] init];
@@ -7856,7 +7856,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestEnumsRequestParams alloc] init];
@@ -7886,7 +7886,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestNullableOptionalRequestParams alloc] init];
@@ -7936,7 +7936,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestComplexNullableOptionalRequestParams alloc] init];
@@ -7981,7 +7981,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterSimpleStructEchoRequestParams alloc] init];
@@ -8007,7 +8007,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTimedInvokeRequestParams alloc] init];
@@ -8034,7 +8034,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams alloc] init];
@@ -8066,7 +8066,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestEmitTestEventRequestParams alloc] init];
@@ -8097,7 +8097,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams alloc] init];
@@ -8133,7 +8133,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRFaultInjectionClusterFailAtFaultParams alloc] init];
@@ -8171,7 +8171,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
{
auto other = [[MTRFaultInjectionClusterFailRandomlyAtFaultParams alloc] init];
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h
index f6b630e..7634210 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h
@@ -24,7 +24,7 @@
@property (nonatomic, copy) NSArray * _Nonnull attributeValue;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRScenesClusterExtensionFieldSet : NSObject <NSCopying>
@@ -32,7 +32,7 @@
@property (nonatomic, copy) NSArray * _Nonnull attributeValueList;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDescriptorClusterDeviceTypeStruct : NSObject <NSCopying>
@@ -40,7 +40,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull revision;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBindingClusterTargetStruct : NSObject <NSCopying>
@@ -51,7 +51,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccessControlClusterTarget : NSObject <NSCopying>
@@ -60,7 +60,7 @@
@property (nonatomic, copy) NSNumber * _Nullable deviceType;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccessControlClusterAccessControlEntry : NSObject <NSCopying>
@@ -71,7 +71,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccessControlClusterExtensionEntry : NSObject <NSCopying>
@@ -79,7 +79,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccessControlClusterAccessControlEntryChangedEvent : NSObject <NSCopying>
@@ -90,7 +90,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAccessControlClusterAccessControlExtensionChangedEvent : NSObject <NSCopying>
@@ -101,7 +101,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterActionStruct : NSObject <NSCopying>
@@ -113,7 +113,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull state;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterEndpointListStruct : NSObject <NSCopying>
@@ -123,7 +123,7 @@
@property (nonatomic, copy) NSArray * _Nonnull endpoints;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterStateChangedEvent : NSObject <NSCopying>
@@ -132,7 +132,7 @@
@property (nonatomic, copy, getter=getNewState) NSNumber * _Nonnull newState;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRActionsClusterActionFailedEvent : NSObject <NSCopying>
@@ -142,7 +142,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull error;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBasicClusterCapabilityMinimaStruct : NSObject <NSCopying>
@@ -150,34 +150,34 @@
@property (nonatomic, copy) NSNumber * _Nonnull subscriptionsPerFabric;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBasicClusterStartUpEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull softwareVersion;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBasicClusterShutDownEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBasicClusterLeaveEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBasicClusterReachableChangedEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull reachableNewValue;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateRequestorClusterProviderLocation : NSObject <NSCopying>
@@ -186,7 +186,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateRequestorClusterStateTransitionEvent : NSObject <NSCopying>
@@ -196,7 +196,7 @@
@property (nonatomic, copy) NSNumber * _Nullable targetSoftwareVersion;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateRequestorClusterVersionAppliedEvent : NSObject <NSCopying>
@@ -204,7 +204,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull productID;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROtaSoftwareUpdateRequestorClusterDownloadErrorEvent : NSObject <NSCopying>
@@ -214,7 +214,7 @@
@property (nonatomic, copy) NSNumber * _Nullable platformCode;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPowerSourceClusterBatChargeFaultChangeType : NSObject <NSCopying>
@@ -222,7 +222,7 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPowerSourceClusterBatFaultChangeType : NSObject <NSCopying>
@@ -230,7 +230,7 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPowerSourceClusterWiredFaultChangeType : NSObject <NSCopying>
@@ -238,7 +238,7 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralCommissioningClusterBasicCommissioningInfo : NSObject <NSCopying>
@@ -246,7 +246,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull maxCumulativeFailsafeSeconds;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterNetworkInfo : NSObject <NSCopying>
@@ -254,7 +254,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull connected;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterThreadInterfaceScanResult : NSObject <NSCopying>
@@ -268,7 +268,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull lqi;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRNetworkCommissioningClusterWiFiInterfaceScanResult : NSObject <NSCopying>
@@ -280,7 +280,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull rssi;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralDiagnosticsClusterNetworkInterfaceType : NSObject <NSCopying>
@@ -294,7 +294,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull type;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent : NSObject <NSCopying>
@@ -302,7 +302,7 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralDiagnosticsClusterRadioFaultChangeEvent : NSObject <NSCopying>
@@ -310,7 +310,7 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent : NSObject <NSCopying>
@@ -318,14 +318,14 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGeneralDiagnosticsClusterBootReasonEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull bootReason;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSoftwareDiagnosticsClusterThreadMetrics : NSObject <NSCopying>
@@ -336,7 +336,7 @@
@property (nonatomic, copy) NSNumber * _Nullable stackSize;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSoftwareDiagnosticsClusterSoftwareFaultEvent : NSObject <NSCopying>
@@ -345,7 +345,7 @@
@property (nonatomic, copy) NSData * _Nullable faultRecording;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterNeighborTable : NSObject <NSCopying>
@@ -365,7 +365,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull isChild;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents : NSObject <NSCopying>
@@ -383,7 +383,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull channelMaskPresent;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterRouteTable : NSObject <NSCopying>
@@ -399,7 +399,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull linkEstablished;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterSecurityPolicy : NSObject <NSCopying>
@@ -407,14 +407,14 @@
@property (nonatomic, copy) NSNumber * _Nonnull flags;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull connectionStatus;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent : NSObject <NSCopying>
@@ -422,14 +422,14 @@
@property (nonatomic, copy) NSArray * _Nonnull previous;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull reasonCode;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent : NSObject <NSCopying>
@@ -437,14 +437,14 @@
@property (nonatomic, copy) NSNumber * _Nonnull status;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull connectionStatus;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTimeSynchronizationClusterDstOffsetType : NSObject <NSCopying>
@@ -453,7 +453,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull validUntil;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTimeSynchronizationClusterTimeZoneType : NSObject <NSCopying>
@@ -462,68 +462,68 @@
@property (nonatomic, copy) NSString * _Nullable name;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBridgedDeviceBasicClusterStartUpEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull softwareVersion;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBridgedDeviceBasicClusterShutDownEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBridgedDeviceBasicClusterLeaveEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBridgedDeviceBasicClusterReachableChangedEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull reachableNewValue;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterSwitchLatchedEvent : NSObject <NSCopying>
@property (nonatomic, copy, getter=getNewPosition) NSNumber * _Nonnull newPosition;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterInitialPressEvent : NSObject <NSCopying>
@property (nonatomic, copy, getter=getNewPosition) NSNumber * _Nonnull newPosition;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterLongPressEvent : NSObject <NSCopying>
@property (nonatomic, copy, getter=getNewPosition) NSNumber * _Nonnull newPosition;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterShortReleaseEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull previousPosition;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterLongReleaseEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull previousPosition;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterMultiPressOngoingEvent : NSObject <NSCopying>
@@ -531,7 +531,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull currentNumberOfPressesCounted;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRSwitchClusterMultiPressCompleteEvent : NSObject <NSCopying>
@@ -539,7 +539,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull totalNumberOfPressesCounted;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterFabricDescriptor : NSObject <NSCopying>
@@ -551,7 +551,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTROperationalCredentialsClusterNOCStruct : NSObject <NSCopying>
@@ -560,7 +560,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterGroupInfoMapStruct : NSObject <NSCopying>
@@ -570,7 +570,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterGroupKeyMapStruct : NSObject <NSCopying>
@@ -579,7 +579,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRGroupKeyManagementClusterGroupKeySetStruct : NSObject <NSCopying>
@@ -593,7 +593,7 @@
@property (nonatomic, copy) NSNumber * _Nullable epochStartTime2;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRFixedLabelClusterLabelStruct : NSObject <NSCopying>
@@ -601,7 +601,7 @@
@property (nonatomic, copy) NSString * _Nonnull value;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRUserLabelClusterLabelStruct : NSObject <NSCopying>
@@ -609,14 +609,14 @@
@property (nonatomic, copy) NSString * _Nonnull value;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRBooleanStateClusterStateChangeEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull stateValue;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRModeSelectClusterSemanticTag : NSObject <NSCopying>
@@ -624,7 +624,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull value;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRModeSelectClusterModeOptionStruct : NSObject <NSCopying>
@@ -633,7 +633,7 @@
@property (nonatomic, copy) NSArray * _Nonnull semanticTags;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterDlCredential : NSObject <NSCopying>
@@ -641,21 +641,21 @@
@property (nonatomic, copy) NSNumber * _Nonnull credentialIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterDoorLockAlarmEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull alarmCode;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterDoorStateChangeEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull doorState;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterLockOperationEvent : NSObject <NSCopying>
@@ -667,7 +667,7 @@
@property (nonatomic, copy) NSArray * _Nullable credentials;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterLockOperationErrorEvent : NSObject <NSCopying>
@@ -680,7 +680,7 @@
@property (nonatomic, copy) NSArray * _Nullable credentials;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRDoorLockClusterLockUserChangeEvent : NSObject <NSCopying>
@@ -693,109 +693,109 @@
@property (nonatomic, copy) NSNumber * _Nullable dataIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterSystemPressureLowEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterSystemPressureHighEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterDryRunningEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterPumpBlockedEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterSensorFailureEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterGeneralFaultEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterLeakageEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterAirDetectionEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRPumpConfigurationAndControlClusterTurbineOperationEvent : NSObject <NSCopying>
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRThermostatClusterThermostatScheduleTransition : NSObject <NSCopying>
@@ -804,7 +804,7 @@
@property (nonatomic, copy) NSNumber * _Nullable coolSetpoint;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRChannelClusterChannelInfo : NSObject <NSCopying>
@@ -815,7 +815,7 @@
@property (nonatomic, copy) NSString * _Nullable affiliateCallSign;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRChannelClusterLineupInfo : NSObject <NSCopying>
@@ -825,7 +825,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull lineupInfoType;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTargetNavigatorClusterTargetInfo : NSObject <NSCopying>
@@ -833,7 +833,7 @@
@property (nonatomic, copy) NSString * _Nonnull name;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaPlaybackClusterPlaybackPosition : NSObject <NSCopying>
@@ -841,7 +841,7 @@
@property (nonatomic, copy) NSNumber * _Nullable position;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRMediaInputClusterInputInfo : NSObject <NSCopying>
@@ -851,7 +851,7 @@
@property (nonatomic, copy) NSString * _Nonnull descriptionString;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterDimension : NSObject <NSCopying>
@@ -860,7 +860,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull metric;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterAdditionalInfo : NSObject <NSCopying>
@@ -868,7 +868,7 @@
@property (nonatomic, copy) NSString * _Nonnull value;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterParameter : NSObject <NSCopying>
@@ -877,14 +877,14 @@
@property (nonatomic, copy) NSArray * _Nullable externalIDList;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterContentSearch : NSObject <NSCopying>
@property (nonatomic, copy) NSArray * _Nonnull parameterList;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterStyleInformation : NSObject <NSCopying>
@@ -893,7 +893,7 @@
@property (nonatomic, copy) MTRContentLauncherClusterDimension * _Nullable size;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRContentLauncherClusterBrandingInformation : NSObject <NSCopying>
@@ -905,7 +905,7 @@
@property (nonatomic, copy) MTRContentLauncherClusterStyleInformation * _Nullable waterMark;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRAudioOutputClusterOutputInfo : NSObject <NSCopying>
@@ -914,7 +914,7 @@
@property (nonatomic, copy) NSString * _Nonnull name;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationLauncherClusterApplication : NSObject <NSCopying>
@@ -922,7 +922,7 @@
@property (nonatomic, copy) NSString * _Nonnull applicationId;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationLauncherClusterApplicationEP : NSObject <NSCopying>
@@ -930,7 +930,7 @@
@property (nonatomic, copy) NSNumber * _Nullable endpoint;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRApplicationBasicClusterApplicationBasicApplication : NSObject <NSCopying>
@@ -938,7 +938,7 @@
@property (nonatomic, copy) NSString * _Nonnull applicationId;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterSimpleStruct : NSObject <NSCopying>
@@ -952,7 +952,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull h;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestFabricScoped : NSObject <NSCopying>
@@ -966,7 +966,7 @@
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterNullablesAndOptionalsStruct : NSObject <NSCopying>
@@ -984,7 +984,7 @@
@property (nonatomic, copy) NSArray * _Nullable nullableOptionalList;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterNestedStruct : NSObject <NSCopying>
@@ -993,7 +993,7 @@
@property (nonatomic, copy) MTRTestClusterClusterSimpleStruct * _Nonnull c;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterNestedStructList : NSObject <NSCopying>
@@ -1006,14 +1006,14 @@
@property (nonatomic, copy) NSArray * _Nonnull g;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterDoubleNestedStructList : NSObject <NSCopying>
@property (nonatomic, copy) NSArray * _Nonnull a;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestListStructOctet : NSObject <NSCopying>
@@ -1021,7 +1021,7 @@
@property (nonatomic, copy) NSData * _Nonnull member2;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestEventEvent : NSObject <NSCopying>
@@ -1033,14 +1033,14 @@
@property (nonatomic, copy) NSArray * _Nonnull arg6;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
@interface MTRTestClusterClusterTestFabricScopedEventEvent : NSObject <NSCopying>
@property (nonatomic, copy) NSNumber * _Nonnull fabricIndex;
- (instancetype)init;
-- (id)copyWithZone:(nullable NSZone *)zone;
+- (id)copyWithZone:(NSZone * _Nullable)zone;
@end
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm
index 1a3245b..3a32fd4 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm
@@ -31,7 +31,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRScenesClusterAttributeValuePair alloc] init];
@@ -62,7 +62,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRScenesClusterExtensionFieldSet alloc] init];
@@ -93,7 +93,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDescriptorClusterDeviceTypeStruct alloc] init];
@@ -130,7 +130,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBindingClusterTargetStruct alloc] init];
@@ -166,7 +166,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRAccessControlClusterTarget alloc] init];
@@ -204,7 +204,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRAccessControlClusterAccessControlEntry alloc] init];
@@ -239,7 +239,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRAccessControlClusterExtensionEntry alloc] init];
@@ -276,7 +276,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRAccessControlClusterAccessControlEntryChangedEvent alloc] init];
@@ -317,7 +317,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRAccessControlClusterAccessControlExtensionChangedEvent alloc] init];
@@ -360,7 +360,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRActionsClusterActionStruct alloc] init];
@@ -400,7 +400,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRActionsClusterEndpointListStruct alloc] init];
@@ -435,7 +435,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRActionsClusterStateChangedEvent alloc] init];
@@ -471,7 +471,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRActionsClusterActionFailedEvent alloc] init];
@@ -504,7 +504,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBasicClusterCapabilityMinimaStruct alloc] init];
@@ -533,7 +533,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBasicClusterStartUpEvent alloc] init];
@@ -559,7 +559,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBasicClusterShutDownEvent alloc] init];
@@ -584,7 +584,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBasicClusterLeaveEvent alloc] init];
@@ -612,7 +612,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBasicClusterReachableChangedEvent alloc] init];
@@ -644,7 +644,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTROtaSoftwareUpdateRequestorClusterProviderLocation alloc] init];
@@ -680,7 +680,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTROtaSoftwareUpdateRequestorClusterStateTransitionEvent alloc] init];
@@ -714,7 +714,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTROtaSoftwareUpdateRequestorClusterVersionAppliedEvent alloc] init];
@@ -749,7 +749,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTROtaSoftwareUpdateRequestorClusterDownloadErrorEvent alloc] init];
@@ -783,7 +783,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPowerSourceClusterBatChargeFaultChangeType alloc] init];
@@ -814,7 +814,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPowerSourceClusterBatFaultChangeType alloc] init];
@@ -845,7 +845,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPowerSourceClusterWiredFaultChangeType alloc] init];
@@ -876,7 +876,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGeneralCommissioningClusterBasicCommissioningInfo alloc] init];
@@ -908,7 +908,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRNetworkCommissioningClusterNetworkInfo alloc] init];
@@ -952,7 +952,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRNetworkCommissioningClusterThreadInterfaceScanResult alloc] init];
@@ -1000,7 +1000,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRNetworkCommissioningClusterWiFiInterfaceScanResult alloc] init];
@@ -1049,7 +1049,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGeneralDiagnosticsClusterNetworkInterfaceType alloc] init];
@@ -1089,7 +1089,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGeneralDiagnosticsClusterHardwareFaultChangeEvent alloc] init];
@@ -1120,7 +1120,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGeneralDiagnosticsClusterRadioFaultChangeEvent alloc] init];
@@ -1151,7 +1151,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGeneralDiagnosticsClusterNetworkFaultChangeEvent alloc] init];
@@ -1180,7 +1180,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGeneralDiagnosticsClusterBootReasonEvent alloc] init];
@@ -1216,7 +1216,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSoftwareDiagnosticsClusterThreadMetrics alloc] init];
@@ -1253,7 +1253,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSoftwareDiagnosticsClusterSoftwareFaultEvent alloc] init];
@@ -1310,7 +1310,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThreadNetworkDiagnosticsClusterNeighborTable alloc] init];
@@ -1377,7 +1377,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents alloc] init];
@@ -1439,7 +1439,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThreadNetworkDiagnosticsClusterRouteTable alloc] init];
@@ -1481,7 +1481,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThreadNetworkDiagnosticsClusterSecurityPolicy alloc] init];
@@ -1510,7 +1510,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThreadNetworkDiagnosticsClusterConnectionStatusEvent alloc] init];
@@ -1540,7 +1540,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent alloc] init];
@@ -1569,7 +1569,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRWiFiNetworkDiagnosticsClusterDisconnectionEvent alloc] init];
@@ -1599,7 +1599,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRWiFiNetworkDiagnosticsClusterAssociationFailureEvent alloc] init];
@@ -1628,7 +1628,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRWiFiNetworkDiagnosticsClusterConnectionStatusEvent alloc] init];
@@ -1660,7 +1660,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTimeSynchronizationClusterDstOffsetType alloc] init];
@@ -1694,7 +1694,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTimeSynchronizationClusterTimeZoneType alloc] init];
@@ -1724,7 +1724,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBridgedDeviceBasicClusterStartUpEvent alloc] init];
@@ -1750,7 +1750,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBridgedDeviceBasicClusterShutDownEvent alloc] init];
@@ -1773,7 +1773,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBridgedDeviceBasicClusterLeaveEvent alloc] init];
@@ -1798,7 +1798,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBridgedDeviceBasicClusterReachableChangedEvent alloc] init];
@@ -1826,7 +1826,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterSwitchLatchedEvent alloc] init];
@@ -1854,7 +1854,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterInitialPressEvent alloc] init];
@@ -1882,7 +1882,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterLongPressEvent alloc] init];
@@ -1910,7 +1910,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterShortReleaseEvent alloc] init];
@@ -1938,7 +1938,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterLongReleaseEvent alloc] init];
@@ -1968,7 +1968,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterMultiPressOngoingEvent alloc] init];
@@ -1999,7 +1999,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRSwitchClusterMultiPressCompleteEvent alloc] init];
@@ -2038,7 +2038,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTROperationalCredentialsClusterFabricDescriptor alloc] init];
@@ -2077,7 +2077,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTROperationalCredentialsClusterNOCStruct alloc] init];
@@ -2114,7 +2114,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGroupKeyManagementClusterGroupInfoMapStruct alloc] init];
@@ -2149,7 +2149,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGroupKeyManagementClusterGroupKeyMapStruct alloc] init];
@@ -2193,7 +2193,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRGroupKeyManagementClusterGroupKeySetStruct alloc] init];
@@ -2234,7 +2234,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRFixedLabelClusterLabelStruct alloc] init];
@@ -2265,7 +2265,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRUserLabelClusterLabelStruct alloc] init];
@@ -2294,7 +2294,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRBooleanStateClusterStateChangeEvent alloc] init];
@@ -2324,7 +2324,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRModeSelectClusterSemanticTag alloc] init];
@@ -2357,7 +2357,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRModeSelectClusterModeOptionStruct alloc] init];
@@ -2389,7 +2389,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDoorLockClusterDlCredential alloc] init];
@@ -2418,7 +2418,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDoorLockClusterDoorLockAlarmEvent alloc] init];
@@ -2445,7 +2445,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDoorLockClusterDoorStateChangeEvent alloc] init];
@@ -2482,7 +2482,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDoorLockClusterLockOperationEvent alloc] init];
@@ -2529,7 +2529,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDoorLockClusterLockOperationErrorEvent alloc] init];
@@ -2577,7 +2577,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRDoorLockClusterLockUserChangeEvent alloc] init];
@@ -2611,7 +2611,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterSupplyVoltageLowEvent alloc] init];
@@ -2634,7 +2634,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterSupplyVoltageHighEvent alloc] init];
@@ -2657,7 +2657,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterPowerMissingPhaseEvent alloc] init];
@@ -2680,7 +2680,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterSystemPressureLowEvent alloc] init];
@@ -2703,7 +2703,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterSystemPressureHighEvent alloc] init];
@@ -2726,7 +2726,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterDryRunningEvent alloc] init];
@@ -2749,7 +2749,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterMotorTemperatureHighEvent alloc] init];
@@ -2772,7 +2772,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterPumpMotorFatalFailureEvent alloc] init];
@@ -2795,7 +2795,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterElectronicTemperatureHighEvent alloc] init];
@@ -2818,7 +2818,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterPumpBlockedEvent alloc] init];
@@ -2841,7 +2841,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterSensorFailureEvent alloc] init];
@@ -2864,7 +2864,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterElectronicNonFatalFailureEvent alloc] init];
@@ -2887,7 +2887,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterElectronicFatalFailureEvent alloc] init];
@@ -2910,7 +2910,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterGeneralFaultEvent alloc] init];
@@ -2933,7 +2933,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterLeakageEvent alloc] init];
@@ -2956,7 +2956,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterAirDetectionEvent alloc] init];
@@ -2979,7 +2979,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRPumpConfigurationAndControlClusterTurbineOperationEvent alloc] init];
@@ -3008,7 +3008,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRThermostatClusterThermostatScheduleTransition alloc] init];
@@ -3046,7 +3046,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRChannelClusterChannelInfo alloc] init];
@@ -3085,7 +3085,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRChannelClusterLineupInfo alloc] init];
@@ -3119,7 +3119,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTargetNavigatorClusterTargetInfo alloc] init];
@@ -3150,7 +3150,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRMediaPlaybackClusterPlaybackPosition alloc] init];
@@ -3185,7 +3185,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRMediaInputClusterInputInfo alloc] init];
@@ -3220,7 +3220,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRContentLauncherClusterDimension alloc] init];
@@ -3252,7 +3252,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRContentLauncherClusterAdditionalInfo alloc] init];
@@ -3285,7 +3285,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRContentLauncherClusterParameter alloc] init];
@@ -3315,7 +3315,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRContentLauncherClusterContentSearch alloc] init];
@@ -3347,7 +3347,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRContentLauncherClusterStyleInformation alloc] init];
@@ -3387,7 +3387,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRContentLauncherClusterBrandingInformation alloc] init];
@@ -3425,7 +3425,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRAudioOutputClusterOutputInfo alloc] init];
@@ -3457,7 +3457,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRApplicationLauncherClusterApplication alloc] init];
@@ -3488,7 +3488,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRApplicationLauncherClusterApplicationEP alloc] init];
@@ -3519,7 +3519,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRApplicationBasicClusterApplicationBasicApplication alloc] init];
@@ -3562,7 +3562,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterSimpleStruct alloc] init];
@@ -3612,7 +3612,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterTestFabricScoped alloc] init];
@@ -3674,7 +3674,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterNullablesAndOptionalsStruct alloc] init];
@@ -3722,7 +3722,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterNestedStruct alloc] init];
@@ -3764,7 +3764,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterNestedStructList alloc] init];
@@ -3798,7 +3798,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterDoubleNestedStructList alloc] init];
@@ -3827,7 +3827,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterTestListStructOctet alloc] init];
@@ -3866,7 +3866,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterTestEventEvent alloc] init];
@@ -3899,7 +3899,7 @@
return self;
}
-- (id)copyWithZone:(nullable NSZone *)zone
+- (id)copyWithZone:(NSZone * _Nullable)zone
{
auto other = [[MTRTestClusterClusterTestFabricScopedEventEvent alloc] init];
diff --git a/src/darwin/Framework/CHIPTests/MTRCertificateTests.m b/src/darwin/Framework/CHIPTests/MTRCertificateTests.m
index 3ec2b96..e42ea14 100644
--- a/src/darwin/Framework/CHIPTests/MTRCertificateTests.m
+++ b/src/darwin/Framework/CHIPTests/MTRCertificateTests.m
@@ -32,7 +32,7 @@
__auto_type * testKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(testKeys);
- __auto_type * rootCert = [MTRCertificates generateRootCertificate:testKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * rootCert = [MTRCertificates createRootCertificate:testKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(rootCert);
}
@@ -41,18 +41,18 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * rootCert = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * rootCert = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(rootCert);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediateCert = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:rootCert
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediateCert = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:rootCert
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediateCert);
}
@@ -61,7 +61,7 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * rootCert = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * rootCert = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(rootCert);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
@@ -73,13 +73,13 @@
[cats addObject:@0x00020001];
[cats addObject:@0x0003FFFF];
- __auto_type * operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:cats
- error:nil];
+ __auto_type * operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:cats
+ error:nil];
XCTAssertNotNil(operationalCert);
}
@@ -88,30 +88,30 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * rootCert = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * rootCert = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(rootCert);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediateCert = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:rootCert
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediateCert = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:rootCert
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediateCert);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(operationalKeys);
- __auto_type * operationalCert = [MTRCertificates generateOperationalCertificate:intermediateKeys
- signingCertificate:intermediateCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:nil
- error:nil];
+ __auto_type * operationalCert = [MTRCertificates createOperationalCertificate:intermediateKeys
+ signingCertificate:intermediateCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNotNil(operationalCert);
}
@@ -120,7 +120,7 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * rootCert = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * rootCert = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(rootCert);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
@@ -150,93 +150,93 @@
[catsWithInvalidVersion addObject:@0x00020000];
// Check basic case works
- __auto_type * operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:nil
- error:nil];
+ __auto_type * operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNotNil(operationalCert);
// CATs too long
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:longCats
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:longCats
+ error:nil];
XCTAssertNil(operationalCert);
// Multiple CATs with the same identifier but different versions
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:catsWithSameIdentifier
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:catsWithSameIdentifier
+ error:nil];
XCTAssertNil(operationalCert);
// Multiple CATs with the same identifier and same version
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:catsWithDuplicatedCAT
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:catsWithDuplicatedCAT
+ error:nil];
XCTAssertNil(operationalCert);
// CAT with invalid version
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:catsWithInvalidVersion
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:catsWithInvalidVersion
+ error:nil];
XCTAssertNil(operationalCert);
// Signing key mismatch
- operationalCert = [MTRCertificates generateOperationalCertificate:operationalKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@1
- caseAuthenticatedTags:nil
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:operationalKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@1
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNil(operationalCert);
// Invalid fabric id
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@0
- nodeID:@1
- caseAuthenticatedTags:nil
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@0
+ nodeID:@1
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNil(operationalCert);
// Undefined node id
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@0
- caseAuthenticatedTags:nil
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@0
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNil(operationalCert);
// Non-operational node id
- operationalCert = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:rootCert
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@1
- nodeID:@(0xFFFFFFFFFFFFFFFFLLU)
- caseAuthenticatedTags:nil
- error:nil];
+ operationalCert = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:rootCert
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@1
+ nodeID:@(0xFFFFFFFFFFFFFFFFLLU)
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNil(operationalCert);
}
@@ -245,7 +245,7 @@
__auto_type * testKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(testKeys);
- __auto_type * csr = [MTRCertificates generateCertificateSigningRequest:testKeys error:nil];
+ __auto_type * csr = [MTRCertificates createCertificateSigningRequest:testKeys error:nil];
XCTAssertNotNil(csr);
// Wish there was something we could test here about the CSR.
diff --git a/src/darwin/Framework/CHIPTests/MTRControllerTests.m b/src/darwin/Framework/CHIPTests/MTRControllerTests.m
index 748e473..9a0a551 100644
--- a/src/darwin/Framework/CHIPTests/MTRControllerTests.m
+++ b/src/darwin/Framework/CHIPTests/MTRControllerTests.m
@@ -395,13 +395,13 @@
__auto_type * testKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(testKeys);
- __auto_type * root1 = [MTRCertificates generateRootCertificate:testKeys issuerID:@1 fabricID:@1 error:nil];
+ __auto_type * root1 = [MTRCertificates createRootCertificate:testKeys issuerID:@1 fabricID:@1 error:nil];
XCTAssertNotNil(root1);
- __auto_type * root2 = [MTRCertificates generateRootCertificate:testKeys issuerID:@1 fabricID:@1 error:nil];
+ __auto_type * root2 = [MTRCertificates createRootCertificate:testKeys issuerID:@1 fabricID:@1 error:nil];
XCTAssertNotNil(root2);
- __auto_type * root3 = [MTRCertificates generateRootCertificate:testKeys issuerID:@2 fabricID:@1 error:nil];
+ __auto_type * root3 = [MTRCertificates createRootCertificate:testKeys issuerID:@2 fabricID:@1 error:nil];
XCTAssertNotNil(root3);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys
@@ -465,10 +465,10 @@
__auto_type * testKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(testKeys);
- __auto_type * root1 = [MTRCertificates generateRootCertificate:testKeys issuerID:@1 fabricID:@1 error:nil];
+ __auto_type * root1 = [MTRCertificates createRootCertificate:testKeys issuerID:@1 fabricID:@1 error:nil];
XCTAssertNotNil(root1);
- __auto_type * root2 = [MTRCertificates generateRootCertificate:testKeys issuerID:@1 fabricID:@2 error:nil];
+ __auto_type * root2 = [MTRCertificates createRootCertificate:testKeys issuerID:@1 fabricID:@2 error:nil];
XCTAssertNotNil(root2);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys
@@ -526,7 +526,7 @@
__auto_type * signerKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(signerKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:signerKeys
@@ -559,18 +559,18 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediate = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys
@@ -811,18 +811,18 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediate = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys
@@ -875,18 +875,18 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediate = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys
@@ -939,29 +939,29 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys1 = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys1);
- __auto_type * intermediate1 = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys1.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate1 = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys1.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate1);
__auto_type * intermediateKeys2 = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys2);
- __auto_type * intermediate2 = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys2.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate2 = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys2.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate2);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys1
@@ -1014,18 +1014,18 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediate = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys
@@ -1057,30 +1057,30 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediate = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:nil
- error:nil];
+ __auto_type * intermediate = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:nil
+ error:nil];
XCTAssertNotNil(intermediate);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(operationalKeys);
- __auto_type * operational = [MTRCertificates generateOperationalCertificate:intermediateKeys
- signingCertificate:intermediate
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@123
- nodeID:@456
- caseAuthenticatedTags:nil
- error:nil];
+ __auto_type * operational = [MTRCertificates createOperationalCertificate:intermediateKeys
+ signingCertificate:intermediate
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@123
+ nodeID:@456
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNotNil(operational);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithOperationalKeypair:operationalKeys
@@ -1132,19 +1132,19 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:nil error:nil];
XCTAssertNotNil(root);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(operationalKeys);
- __auto_type * operational = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:root
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@123
- nodeID:@456
- caseAuthenticatedTags:nil
- error:nil];
+ __auto_type * operational = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:root
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@123
+ nodeID:@456
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNotNil(operational);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithOperationalKeypair:operationalKeys
@@ -1182,19 +1182,19 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:@111 error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:@111 error:nil];
XCTAssertNotNil(root);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(operationalKeys);
- __auto_type * operational = [MTRCertificates generateOperationalCertificate:rootKeys
- signingCertificate:root
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@123
- nodeID:@456
- caseAuthenticatedTags:nil
- error:nil];
+ __auto_type * operational = [MTRCertificates createOperationalCertificate:rootKeys
+ signingCertificate:root
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@123
+ nodeID:@456
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNotNil(operational);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithOperationalKeypair:operationalKeys
@@ -1226,30 +1226,30 @@
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(rootKeys);
- __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerID:nil fabricID:@123 error:nil];
+ __auto_type * root = [MTRCertificates createRootCertificate:rootKeys issuerID:nil fabricID:@123 error:nil];
XCTAssertNotNil(root);
__auto_type * intermediateKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(intermediateKeys);
- __auto_type * intermediate = [MTRCertificates generateIntermediateCertificate:rootKeys
- rootCertificate:root
- intermediatePublicKey:intermediateKeys.publicKey
- issuerID:nil
- fabricID:@111
- error:nil];
+ __auto_type * intermediate = [MTRCertificates createIntermediateCertificate:rootKeys
+ rootCertificate:root
+ intermediatePublicKey:intermediateKeys.publicKey
+ issuerID:nil
+ fabricID:@111
+ error:nil];
XCTAssertNotNil(intermediate);
__auto_type * operationalKeys = [[MTRTestKeys alloc] init];
XCTAssertNotNil(operationalKeys);
- __auto_type * operational = [MTRCertificates generateOperationalCertificate:intermediateKeys
- signingCertificate:intermediate
- operationalPublicKey:operationalKeys.publicKey
- fabricID:@123
- nodeID:@456
- caseAuthenticatedTags:nil
- error:nil];
+ __auto_type * operational = [MTRCertificates createOperationalCertificate:intermediateKeys
+ signingCertificate:intermediate
+ operationalPublicKey:operationalKeys.publicKey
+ fabricID:@123
+ nodeID:@456
+ caseAuthenticatedTags:nil
+ error:nil];
XCTAssertNotNil(operational);
__auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithOperationalKeypair:operationalKeys
diff --git a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m
index 4add3e6..3ab8028 100644
--- a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m
+++ b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m
@@ -229,31 +229,31 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device readAttributeWithEndpointID:nil
- clusterID:@29
- attributeID:@0
- params:nil
- queue:queue
- completion:^(id _Nullable values, NSError * _Nullable error) {
- NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
+ [device readAttributePathWithEndpointID:nil
+ clusterID:@29
+ attributeID:@0
+ params:nil
+ queue:queue
+ completion:^(id _Nullable values, NSError * _Nullable error) {
+ NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
- XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
+ XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
- {
- XCTAssertTrue([values isKindOfClass:[NSArray class]]);
- NSArray * resultArray = values;
- for (NSDictionary * result in resultArray) {
- MTRAttributePath * path = result[@"attributePath"];
- XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
- XCTAssertEqual([path.attribute unsignedIntegerValue], 0);
- XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
- XCTAssertTrue([result[@"data"][@"type"] isEqualToString:@"Array"]);
+ {
+ XCTAssertTrue([values isKindOfClass:[NSArray class]]);
+ NSArray * resultArray = values;
+ for (NSDictionary * result in resultArray) {
+ MTRAttributePath * path = result[@"attributePath"];
+ XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
+ XCTAssertEqual([path.attribute unsignedIntegerValue], 0);
+ XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
+ XCTAssertTrue([result[@"data"][@"type"] isEqualToString:@"Array"]);
+ }
+ XCTAssertTrue([resultArray count] > 0);
}
- XCTAssertTrue([resultArray count] > 0);
- }
- [expectation fulfill];
- }];
+ [expectation fulfill];
+ }];
[self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil];
}
@@ -407,7 +407,7 @@
// Subscribe
XCTestExpectation * expectation = [self expectationWithDescription:@"subscribe OnOff attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0
minInterval:@1
@@ -548,20 +548,20 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device
- readAttributeWithEndpointID:@0
- clusterID:@10000
- attributeID:@0
- params:nil
- queue:queue
- completion:^(id _Nullable values, NSError * _Nullable error) {
- NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
+ [device readAttributePathWithEndpointID:@0
+ clusterID:@10000
+ attributeID:@0
+ params:nil
+ queue:queue
+ completion:^(id _Nullable values, NSError * _Nullable error) {
+ NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
- XCTAssertNil(values);
- XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER);
+ XCTAssertNil(values);
+ XCTAssertEqual(
+ [MTRErrorTestUtils errorToZCLErrorCode:error], EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER);
- [expectation fulfill];
- }];
+ [expectation fulfill];
+ }];
[self waitForExpectations:[NSArray arrayWithObject:expectation] timeout:kTimeoutInSeconds];
}
@@ -668,7 +668,7 @@
__auto_type * params = [[MTRSubscribeParams alloc] init];
params.autoResubscribe = @(NO);
- [device subscribeAttributeWithEndpointID:@10000
+ [device subscribeAttributePathWithEndpointID:@10000
clusterID:@6
attributeID:@0
minInterval:@2
@@ -705,30 +705,30 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device readAttributeWithEndpointID:@1
- clusterID:@29
- attributeID:nil
- params:nil
- queue:queue
- completion:^(id _Nullable values, NSError * _Nullable error) {
- NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
+ [device readAttributePathWithEndpointID:@1
+ clusterID:@29
+ attributeID:nil
+ params:nil
+ queue:queue
+ completion:^(id _Nullable values, NSError * _Nullable error) {
+ NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
- XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
+ XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
- {
- XCTAssertTrue([values isKindOfClass:[NSArray class]]);
- NSArray * resultArray = values;
- for (NSDictionary * result in resultArray) {
- MTRAttributePath * path = result[@"attributePath"];
- XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
- XCTAssertEqual([path.endpoint unsignedIntegerValue], 1);
- XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
+ {
+ XCTAssertTrue([values isKindOfClass:[NSArray class]]);
+ NSArray * resultArray = values;
+ for (NSDictionary * result in resultArray) {
+ MTRAttributePath * path = result[@"attributePath"];
+ XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
+ XCTAssertEqual([path.endpoint unsignedIntegerValue], 1);
+ XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
+ }
+ XCTAssertTrue([resultArray count] > 0);
}
- XCTAssertTrue([resultArray count] > 0);
- }
- [expectation fulfill];
- }];
+ [expectation fulfill];
+ }];
[self waitForExpectations:[NSArray arrayWithObject:expectation] timeout:kTimeoutInSeconds];
}
@@ -1005,7 +1005,7 @@
// Subscribe
XCTestExpectation * expectation = [self expectationWithDescription:@"subscribe OnOff attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0
minInterval:@1
@@ -1228,7 +1228,7 @@
XCTestExpectation * expectation = [self expectationWithDescription:@"subscribe OnOff attribute"];
__block void (^reportHandler)(id _Nullable values, NSError * _Nullable error) = nil;
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0xffffffff
minInterval:@2
diff --git a/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m b/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m
index e356d0c..9a3539c 100644
--- a/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m
+++ b/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m
@@ -171,15 +171,15 @@
__auto_type sharedController = sController;
if (sharedController) {
__auto_type device = [[MTRBaseDevice alloc] initWithNodeID:nodeID controller:sharedController];
- [device
- readAttributeWithEndpointID:endpointID
- clusterID:clusterID
- attributeID:attributeID
- params:[MTRDeviceController decodeXPCReadParams:params]
- queue:dispatch_get_main_queue()
- completion:^(NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
- completion([MTRDeviceController encodeXPCResponseValues:values], error);
- }];
+ [device readAttributePathWithEndpointID:endpointID
+ clusterID:clusterID
+ attributeID:attributeID
+ params:[MTRDeviceController decodeXPCReadParams:params]
+ queue:dispatch_get_main_queue()
+ completion:^(
+ NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
+ completion([MTRDeviceController encodeXPCResponseValues:values], error);
+ }];
} else {
NSLog(@"Failed to get shared controller");
completion(nil, [NSError errorWithDomain:MTRErrorDomain code:MTRErrorCodeGeneralError userInfo:nil]);
@@ -257,22 +257,22 @@
__auto_type sharedController = sController;
if (sharedController) {
__auto_type device = [[MTRBaseDevice alloc] initWithNodeID:nodeID controller:sharedController];
- [device subscribeAttributeWithEndpointID:endpointID
- clusterID:clusterID
- attributeID:attributeID
- minInterval:minInterval
- maxInterval:maxInterval
- params:[MTRDeviceController decodeXPCSubscribeParams:params]
- queue:dispatch_get_main_queue()
- reportHandler:^(
- NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
- [self.clientProxy
- handleReportWithController:controller
- nodeID:nodeID
- values:[MTRDeviceController encodeXPCResponseValues:values]
- error:error];
- }
- subscriptionEstablished:establishedHandler];
+ [device subscribeAttributePathWithEndpointID:endpointID
+ clusterID:clusterID
+ attributeID:attributeID
+ minInterval:minInterval
+ maxInterval:maxInterval
+ params:[MTRDeviceController decodeXPCSubscribeParams:params]
+ queue:dispatch_get_main_queue()
+ reportHandler:^(
+ NSArray<NSDictionary<NSString *, id> *> * _Nullable values, NSError * _Nullable error) {
+ [self.clientProxy
+ handleReportWithController:controller
+ nodeID:nodeID
+ values:[MTRDeviceController encodeXPCResponseValues:values]
+ error:error];
+ }
+ subscriptionEstablished:establishedHandler];
} else {
NSLog(@"Failed to get shared controller");
establishedHandler();
@@ -567,31 +567,31 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device readAttributeWithEndpointID:nil
- clusterID:@29
- attributeID:@0
- params:nil
- queue:queue
- completion:^(id _Nullable values, NSError * _Nullable error) {
- NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
+ [device readAttributePathWithEndpointID:nil
+ clusterID:@29
+ attributeID:@0
+ params:nil
+ queue:queue
+ completion:^(id _Nullable values, NSError * _Nullable error) {
+ NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
- XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
+ XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
- {
- XCTAssertTrue([values isKindOfClass:[NSArray class]]);
- NSArray * resultArray = values;
- for (NSDictionary * result in resultArray) {
- MTRAttributePath * path = result[@"attributePath"];
- XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
- XCTAssertEqual([path.attribute unsignedIntegerValue], 0);
- XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
- XCTAssertTrue([result[@"data"][@"type"] isEqualToString:@"Array"]);
+ {
+ XCTAssertTrue([values isKindOfClass:[NSArray class]]);
+ NSArray * resultArray = values;
+ for (NSDictionary * result in resultArray) {
+ MTRAttributePath * path = result[@"attributePath"];
+ XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
+ XCTAssertEqual([path.attribute unsignedIntegerValue], 0);
+ XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
+ XCTAssertTrue([result[@"data"][@"type"] isEqualToString:@"Array"]);
+ }
+ XCTAssertTrue([resultArray count] > 0);
}
- XCTAssertTrue([resultArray count] > 0);
- }
- [expectation fulfill];
- }];
+ [expectation fulfill];
+ }];
[self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil];
}
@@ -700,7 +700,7 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0
minInterval:@2
@@ -791,22 +791,22 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device readAttributeWithEndpointID:@0
- clusterID:@10000
- attributeID:@0
- params:nil
- queue:queue
- completion:^(id _Nullable values, NSError * _Nullable error) {
- NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
+ [device readAttributePathWithEndpointID:@0
+ clusterID:@10000
+ attributeID:@0
+ params:nil
+ queue:queue
+ completion:^(id _Nullable values, NSError * _Nullable error) {
+ NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
- XCTAssertNil(values);
- // Error is copied over XPC and hence cannot use MTRErrorTestUtils utility which checks against a
- // local domain string object.
- XCTAssertTrue([error.domain isEqualToString:MTRInteractionErrorDomain]);
- XCTAssertEqual(error.code, EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER);
+ XCTAssertNil(values);
+ // Error is copied over XPC and hence cannot use MTRErrorTestUtils utility which checks against
+ // a local domain string object.
+ XCTAssertTrue([error.domain isEqualToString:MTRInteractionErrorDomain]);
+ XCTAssertEqual(error.code, EMBER_ZCL_STATUS_UNSUPPORTED_CLUSTER);
- [expectation fulfill];
- }];
+ [expectation fulfill];
+ }];
[self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil];
}
@@ -910,7 +910,7 @@
MTRBaseDevice * device = GetConnectedDevice();
dispatch_queue_t queue = dispatch_get_main_queue();
- [device subscribeAttributeWithEndpointID:@10000
+ [device subscribeAttributePathWithEndpointID:@10000
clusterID:@6
attributeID:@0
minInterval:@2
@@ -949,31 +949,31 @@
MTRReadParams * readParams = [[MTRReadParams alloc] init];
readParams.fabricFiltered = @NO;
- [device readAttributeWithEndpointID:nil
- clusterID:@29
- attributeID:@0
- params:readParams
- queue:queue
- completion:^(id _Nullable values, NSError * _Nullable error) {
- NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
+ [device readAttributePathWithEndpointID:nil
+ clusterID:@29
+ attributeID:@0
+ params:readParams
+ queue:queue
+ completion:^(id _Nullable values, NSError * _Nullable error) {
+ NSLog(@"read attribute: DeviceType values: %@, error: %@", values, error);
- XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
+ XCTAssertEqual([MTRErrorTestUtils errorToZCLErrorCode:error], 0);
- {
- XCTAssertTrue([values isKindOfClass:[NSArray class]]);
- NSArray * resultArray = values;
- for (NSDictionary * result in resultArray) {
- MTRAttributePath * path = result[@"attributePath"];
- XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
- XCTAssertEqual([path.attribute unsignedIntegerValue], 0);
- XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
- XCTAssertTrue([result[@"data"][@"type"] isEqualToString:@"Array"]);
+ {
+ XCTAssertTrue([values isKindOfClass:[NSArray class]]);
+ NSArray * resultArray = values;
+ for (NSDictionary * result in resultArray) {
+ MTRAttributePath * path = result[@"attributePath"];
+ XCTAssertEqual([path.cluster unsignedIntegerValue], 29);
+ XCTAssertEqual([path.attribute unsignedIntegerValue], 0);
+ XCTAssertTrue([result[@"data"] isKindOfClass:[NSDictionary class]]);
+ XCTAssertTrue([result[@"data"][@"type"] isEqualToString:@"Array"]);
+ }
+ XCTAssertTrue([resultArray count] > 0);
}
- XCTAssertTrue([resultArray count] > 0);
- }
- [expectation fulfill];
- }];
+ [expectation fulfill];
+ }];
[self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil];
}
@@ -999,7 +999,7 @@
// Subscribe
XCTestExpectation * subscribeExpectation = [self expectationWithDescription:@"subscribe OnOff attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0
minInterval:@2
@@ -1025,7 +1025,7 @@
// Setup 2nd subscriber
subscribeExpectation = [self expectationWithDescription:@"subscribe CurrentLevel attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@8
attributeID:@0
minInterval:@2
@@ -1178,7 +1178,7 @@
// Subscribe
XCTestExpectation * subscribeExpectation = [self expectationWithDescription:@"subscribe OnOff attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0
minInterval:@2
@@ -1206,7 +1206,7 @@
MTRSubscribeParams * myParams = [[MTRSubscribeParams alloc] init];
myParams.keepPreviousSubscriptions = @NO;
subscribeExpectation = [self expectationWithDescription:@"subscribe CurrentLevel attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@8
attributeID:@0
minInterval:@2
@@ -1366,7 +1366,7 @@
// Subscribe
XCTestExpectation * subscribeExpectation = [self expectationWithDescription:@"subscribe OnOff attribute"];
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@6
attributeID:@0
minInterval:@2
@@ -1394,7 +1394,7 @@
subscribeExpectation = [self expectationWithDescription:@"subscribe CurrentLevel attribute"];
MTRSubscribeParams * myParams = [[MTRSubscribeParams alloc] init];
myParams.keepPreviousSubscriptions = @YES;
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@8
attributeID:@0
minInterval:@2
@@ -1601,7 +1601,7 @@
// subscribe, which should get the new value at the timeout
expectation = [self expectationWithDescription:@"Subscribed"];
__block void (^reportHandler)(id _Nullable values, NSError * _Nullable error);
- [device subscribeAttributeWithEndpointID:@1
+ [device subscribeAttributePathWithEndpointID:@1
clusterID:@8
attributeID:@17
minInterval:@2
@@ -1644,7 +1644,8 @@
// Read back to see if the timed write has taken effect
expectation = [self expectationWithDescription:@"Read LevelControl Brightness attribute after pause"];
- [device readAttributeWithEndpointID:@1
+ [device
+ readAttributePathWithEndpointID:@1
clusterID:@8
attributeID:@17
params:nil
diff --git a/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m b/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m
index 7006124..d55a52a 100644
--- a/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m
+++ b/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m
@@ -372,20 +372,20 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Reading...");
- [device readAttributeWithEndpointID:myEndpointId
- clusterID:myClusterId
- attributeID:myAttributeId
- params:nil
- queue:dispatch_get_main_queue()
- completion:^(id _Nullable value, NSError * _Nullable error) {
- NSLog(@"Read value: %@", value);
- XCTAssertNotNil(value);
- XCTAssertNil(error);
- XCTAssertTrue([myValues isEqual:value]);
- [responseExpectation fulfill];
- self.xpcDisconnectExpectation =
- [self expectationWithDescription:@"XPC Disconnected"];
- }];
+ [device readAttributePathWithEndpointID:myEndpointId
+ clusterID:myClusterId
+ attributeID:myAttributeId
+ params:nil
+ queue:dispatch_get_main_queue()
+ completion:^(id _Nullable value, NSError * _Nullable error) {
+ NSLog(@"Read value: %@", value);
+ XCTAssertNotNil(value);
+ XCTAssertNil(error);
+ XCTAssertTrue([myValues isEqual:value]);
+ [responseExpectation fulfill];
+ self.xpcDisconnectExpectation =
+ [self expectationWithDescription:@"XPC Disconnected"];
+ }];
}];
[self waitForExpectations:[NSArray arrayWithObjects:callExpectation, responseExpectation, nil] timeout:kTimeoutInSeconds];
@@ -434,20 +434,20 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Reading...");
- [device readAttributeWithEndpointID:myEndpointId
- clusterID:myClusterId
- attributeID:myAttributeId
- params:myParams
- queue:dispatch_get_main_queue()
- completion:^(id _Nullable value, NSError * _Nullable error) {
- NSLog(@"Read value: %@", value);
- XCTAssertNotNil(value);
- XCTAssertNil(error);
- XCTAssertTrue([myValues isEqual:value]);
- [responseExpectation fulfill];
- self.xpcDisconnectExpectation =
- [self expectationWithDescription:@"XPC Disconnected"];
- }];
+ [device readAttributePathWithEndpointID:myEndpointId
+ clusterID:myClusterId
+ attributeID:myAttributeId
+ params:myParams
+ queue:dispatch_get_main_queue()
+ completion:^(id _Nullable value, NSError * _Nullable error) {
+ NSLog(@"Read value: %@", value);
+ XCTAssertNotNil(value);
+ XCTAssertNil(error);
+ XCTAssertTrue([myValues isEqual:value]);
+ [responseExpectation fulfill];
+ self.xpcDisconnectExpectation =
+ [self expectationWithDescription:@"XPC Disconnected"];
+ }];
}];
[self waitForExpectations:[NSArray arrayWithObjects:callExpectation, responseExpectation, nil] timeout:kTimeoutInSeconds];
@@ -487,19 +487,19 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Reading...");
- [device readAttributeWithEndpointID:myEndpointId
- clusterID:myClusterId
- attributeID:myAttributeId
- params:nil
- queue:dispatch_get_main_queue()
- completion:^(id _Nullable value, NSError * _Nullable error) {
- NSLog(@"Read value: %@", value);
- XCTAssertNil(value);
- XCTAssertNotNil(error);
- [responseExpectation fulfill];
- self.xpcDisconnectExpectation =
- [self expectationWithDescription:@"XPC Disconnected"];
- }];
+ [device readAttributePathWithEndpointID:myEndpointId
+ clusterID:myClusterId
+ attributeID:myAttributeId
+ params:nil
+ queue:dispatch_get_main_queue()
+ completion:^(id _Nullable value, NSError * _Nullable error) {
+ NSLog(@"Read value: %@", value);
+ XCTAssertNil(value);
+ XCTAssertNotNil(error);
+ [responseExpectation fulfill];
+ self.xpcDisconnectExpectation =
+ [self expectationWithDescription:@"XPC Disconnected"];
+ }];
}];
[self waitForExpectations:[NSArray arrayWithObjects:callExpectation, responseExpectation, nil] timeout:kTimeoutInSeconds];
@@ -913,7 +913,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1033,7 +1033,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1148,7 +1148,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1262,7 +1262,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1378,7 +1378,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1494,7 +1494,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1610,7 +1610,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1725,7 +1725,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:nil
+ [device subscribeAttributePathWithEndpointID:nil
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1840,7 +1840,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:nil
attributeID:myAttributeId
minInterval:myMinInterval
@@ -1955,7 +1955,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:nil
minInterval:myMinInterval
@@ -2081,7 +2081,7 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Subscribing...");
- [device subscribeAttributeWithEndpointID:myEndpointId
+ [device subscribeAttributePathWithEndpointID:myEndpointId
clusterID:myClusterId
attributeID:myAttributeId
minInterval:myMinInterval
@@ -2543,17 +2543,17 @@
XCTAssertNotNil(device);
XCTAssertNil(error);
NSLog(@"Device acquired. Reading...");
- [device readAttributeWithEndpointID:myEndpointId
- clusterID:myClusterId
- attributeID:myAttributeId
- params:nil
- queue:dispatch_get_main_queue()
- completion:^(id _Nullable value, NSError * _Nullable error) {
- NSLog(@"Read value: %@", value);
- XCTAssertNil(value);
- XCTAssertNotNil(error);
- [responseExpectation fulfill];
- }];
+ [device readAttributePathWithEndpointID:myEndpointId
+ clusterID:myClusterId
+ attributeID:myAttributeId
+ params:nil
+ queue:dispatch_get_main_queue()
+ completion:^(id _Nullable value, NSError * _Nullable error) {
+ NSLog(@"Read value: %@", value);
+ XCTAssertNil(value);
+ XCTAssertNotNil(error);
+ [responseExpectation fulfill];
+ }];
}];
[self waitForExpectations:@[ responseExpectation ] timeout:kTimeoutInSeconds];