From 3cd3121338a0073e3e39720ca197a22306c1bb10 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 12 Sep 2022 11:38:39 -0400 Subject: [PATCH] Remove un-named callbacks and raw integers from Darwin framework API. Switches to typedefs for all the callbacks and using NSNumber for numbers, except in MTRDeviceController (and the XPC version), which will need some more complicated changes. This is a re-landing of PR #22551 but modified to preserve the old APIs, plus PR #22843 (the parts that had not relanded yet). The header changes not accompanied by backwards-compat shims are OK for the following reasons: * MTRAttributeCacheContainer+XPC.h is not public API. * The change to MTRAttributeCacheContainer.h is both source and binary compatible. * MTRAttributeCacheContainer_Internal.h is not public API. * The change to MTRBaseDevice's subscribeAttributeWithEndpointId is both source and binary compatible. * The change to MTRBaseDevice's deregisterReportHandlersWithClientQueue is both source and binary compatible. * The change to sharedControllerWithId in MTRDeviceController+XPC.h is both source and binary compatible. * The change to getAnyDeviceControllerWithCompletion in MTRDeviceController+XPC.h is both source and binary compatible. * MTRDeviceControllerOverXPC.h is not public API. * MTRDeviceControllerXPCConnection.h is not public API. * MTRDeviceController_Internal.h is not public API. * MTRDevice_Internal.h is not public API. * MTRDeviceOverXPC.h is not public API. * The changes to MTROTAProviderDelegate.h are both source and binary compatible. --- .../commands/clusters/ReportCommandBridge.h | 6 +- .../commands/common/CHIPCommandBridge.mm | 4 +- .../pairing/OpenCommissioningWindowCommand.mm | 2 +- .../commands/pairing/PairingCommandBridge.mm | 2 +- .../templates/commands.zapt | 8 +- .../tests/partials/test_cluster.zapt | 2 +- src/app/zap-templates/partials/header.zapt | 2 + .../CHIP/MTRAttributeCacheContainer+XPC.h | 2 +- .../CHIP/MTRAttributeCacheContainer.h | 4 +- .../CHIP/MTRAttributeCacheContainer.mm | 9 +- .../MTRAttributeCacheContainer_Internal.h | 2 +- src/darwin/Framework/CHIP/MTRBaseDevice.h | 33 +- src/darwin/Framework/CHIP/MTRBaseDevice.mm | 49 +- .../Framework/CHIP/MTRBaseDevice_Internal.h | 2 +- .../Framework/CHIP/MTRControllerFactory.mm | 2 +- src/darwin/Framework/CHIP/MTRDevice.h | 13 +- src/darwin/Framework/CHIP/MTRDevice.mm | 21 +- .../Framework/CHIP/MTRDeviceController+XPC.h | 34 +- .../Framework/CHIP/MTRDeviceController+XPC.m | 4 +- .../Framework/CHIP/MTRDeviceController.mm | 23 +- .../CHIP/MTRDeviceControllerOverXPC.h | 4 +- .../CHIP/MTRDeviceControllerOverXPC.m | 12 +- .../CHIP/MTRDeviceControllerStartupParams.h | 16 +- .../CHIP/MTRDeviceControllerStartupParams.mm | 38 +- ...TRDeviceControllerStartupParams_Internal.h | 2 +- .../CHIP/MTRDeviceControllerXPCConnection.h | 17 +- .../CHIP/MTRDeviceControllerXPCConnection.m | 25 +- .../CHIP/MTRDeviceController_Internal.h | 2 +- src/darwin/Framework/CHIP/MTRDeviceOverXPC.h | 8 +- src/darwin/Framework/CHIP/MTRDeviceOverXPC.m | 24 +- .../Framework/CHIP/MTRDevice_Internal.h | 6 +- .../Framework/CHIP/MTROTAProviderDelegate.h | 18 +- .../CHIP/MTROTAProviderDelegateBridge.mm | 2 +- .../CHIP/MTRThreadOperationalDataset.h | 22 +- .../CHIP/MTRThreadOperationalDataset.mm | 38 +- src/darwin/Framework/CHIP/Matter.h | 8 + .../MTRAttributeTLVValueDecoder-src.zapt | 2 +- .../CHIP/templates/MTRBaseClusters-src.zapt | 19 +- .../CHIP/templates/MTRBaseClusters.zapt | 14 +- .../templates/MTRBaseClusters_internal.zapt | 2 +- .../CHIP/templates/MTRCallbackBridge-src.zapt | 2 +- .../templates/MTRCallbackBridge_internal.zapt | 2 +- .../CHIP/templates/MTRClusterConstants.zapt | 2 +- .../CHIP/templates/MTRClusters-src.zapt | 17 +- .../Framework/CHIP/templates/MTRClusters.zapt | 12 +- .../CHIP/templates/MTRClusters_internal.zapt | 2 +- .../templates/MTRCommandPayloadsObjc-src.zapt | 2 +- .../templates/MTRCommandPayloadsObjc.zapt | 2 +- .../MTREventTLVValueDecoder-src.zapt | 2 +- .../CHIP/templates/MTRStructsObjc-src.zapt | 2 +- .../CHIP/templates/MTRStructsObjc.zapt | 2 +- .../MTRAttributeTLVValueDecoder.mm | 2 - .../CHIP/zap-generated/MTRBaseClusters.h | 782 +- .../CHIP/zap-generated/MTRBaseClusters.mm | 847 +- .../zap-generated/MTRBaseClusters_internal.h | 2 - .../CHIP/zap-generated/MTRCallbackBridge.mm | 2 - .../MTRCallbackBridge_internal.h | 2 - .../CHIP/zap-generated/MTRClusterConstants.h | 2 - .../CHIP/zap-generated/MTRClusters.h | 652 +- .../CHIP/zap-generated/MTRClusters.mm | 847 +- .../zap-generated/MTRClustersObjc_internal.h | 406 - .../CHIP/zap-generated/MTRClusters_internal.h | 2 - .../zap-generated/MTRCommandPayloadsObjc.h | 2 - .../zap-generated/MTRCommandPayloadsObjc.mm | 2 - .../zap-generated/MTREventTLVValueDecoder.mm | 2 - .../CHIP/zap-generated/MTRStructsObjc.h | 2 - .../CHIP/zap-generated/MTRStructsObjc.mm | 2 - .../Framework/CHIPTests/MTRControllerTests.m | 98 +- .../Framework/CHIPTests/MTRDeviceTests.m | 18 +- .../Framework/CHIPTests/MTRTestOTAProvider.m | 10 +- .../MTRThreadOperationalDatasetTests.mm | 6 +- .../CHIPTests/MTRXPCListenerSampleTests.m | 43 +- .../Framework/CHIPTests/MTRXPCProtocolTests.m | 233 +- .../Matter.xcodeproj/project.pbxproj | 8 +- .../zap-generated/cluster/Commands.h | 5336 ++++++------- .../zap-generated/test/Commands.h | 6830 ++++++++++------- 76 files changed, 9984 insertions(+), 6704 deletions(-) delete mode 100644 src/darwin/Framework/CHIP/zap-generated/MTRClustersObjc_internal.h diff --git a/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h b/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h index 113dedb1a28eae..00c60e8ebb3e56 100644 --- a/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h +++ b/examples/darwin-framework-tool/commands/clusters/ReportCommandBridge.h @@ -198,10 +198,10 @@ class SubscribeEvent : public ModelCommand { params.autoResubscribe = mAutoResubscribe.HasValue() ? [NSNumber numberWithBool:mAutoResubscribe.Value()] : nil; [device subscribeWithQueue:callbackQueue - minInterval:mMinInterval - maxInterval:mMaxInterval + minInterval:@(mMinInterval) + maxInterval:@(mMaxInterval) params:params - cacheContainer:nil + attributeCacheContainer:nil attributeReportHandler:^(NSArray * value) { SetCommandExitStatus(CHIP_NO_ERROR); } diff --git a/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.mm b/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.mm index 04b2962a0d33f5..814ad5e7d03d5f 100644 --- a/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.mm +++ b/examples/darwin-framework-tool/commands/common/CHIPCommandBridge.mm @@ -139,7 +139,7 @@ constexpr const char * identities[] = { kIdentityAlpha, kIdentityBeta, kIdentityGamma }; for (size_t i = 0; i < ArraySize(identities); ++i) { auto controllerParams = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:gNocSigner - fabricId:(i + 1) + fabricID:@(i + 1) ipk:ipk]; // We're not sure whether we're creating a new fabric or using an @@ -201,7 +201,7 @@ constexpr const char * identities[] = { kIdentityAlpha, kIdentityBeta, kIdentityGamma }; for (size_t i = 0; i < ArraySize(identities); ++i) { auto controllerParams = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:gNocSigner - fabricId:(i + 1) + fabricID:@(i + 1) ipk:ipk]; auto controller = [factory startControllerOnExistingFabric:controllerParams]; diff --git a/examples/darwin-framework-tool/commands/pairing/OpenCommissioningWindowCommand.mm b/examples/darwin-framework-tool/commands/pairing/OpenCommissioningWindowCommand.mm index 4c25000ed91b01..65d289ef64a624 100644 --- a/examples/darwin-framework-tool/commands/pairing/OpenCommissioningWindowCommand.mm +++ b/examples/darwin-framework-tool/commands/pairing/OpenCommissioningWindowCommand.mm @@ -29,7 +29,7 @@ auto * self = this; if (mCommissioningWindowOption == 0) { - auto * cluster = [[MTRClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mWorkQueue]; + auto * cluster = [[MTRClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mWorkQueue]; auto * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; params.commissioningTimeout = @(mCommissioningWindowTimeoutMs); params.timedInvokeTimeoutMs = @(10000); diff --git a/examples/darwin-framework-tool/commands/pairing/PairingCommandBridge.mm b/examples/darwin-framework-tool/commands/pairing/PairingCommandBridge.mm index a0292b367c75f9..53d9d2da940b06 100644 --- a/examples/darwin-framework-tool/commands/pairing/PairingCommandBridge.mm +++ b/examples/darwin-framework-tool/commands/pairing/PairingCommandBridge.mm @@ -115,7 +115,7 @@ } else { ChipLogProgress(chipTool, "Attempting to unpair device %llu", mNodeId); MTRBaseClusterOperationalCredentials * opCredsCluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:callbackQueue]; [opCredsCluster readAttributeCurrentFabricIndexWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable readError) { if (readError) { diff --git a/examples/darwin-framework-tool/templates/commands.zapt b/examples/darwin-framework-tool/templates/commands.zapt index 2b11f4097496fd..d17ae05a73f339 100644 --- a/examples/darwin-framework-tool/templates/commands.zapt +++ b/examples/darwin-framework-tool/templates/commands.zapt @@ -46,7 +46,7 @@ public: ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) command ({{asHex code 8}}) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseCluster{{asUpperCamelCase clusterName}} * cluster = [[MTRBaseCluster{{asUpperCamelCase clusterName}} alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseCluster{{asUpperCamelCase clusterName}} * cluster = [[MTRBaseCluster{{asUpperCamelCase clusterName}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTR{{asUpperCamelCase clusterName}}Cluster{{asUpperCamelCase name}}Params alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; {{#chip_cluster_command_arguments}} @@ -111,7 +111,7 @@ public: ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) ReadAttribute ({{asHex code 8}}) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseCluster{{asUpperCamelCase parent.name}} * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name}} alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseCluster{{asUpperCamelCase parent.name}} * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; {{#if_is_fabric_scoped_struct type}} MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -161,7 +161,7 @@ public: { ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) WriteAttribute ({{asHex code 8}}) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseCluster{{asUpperCamelCase parent.name}} * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name}} alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseCluster{{asUpperCamelCase parent.name}} * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; params.dataVersion = mDataVersion.HasValue() ? [NSNumber numberWithUnsignedInt:mDataVersion.Value()] : nil; @@ -215,7 +215,7 @@ public: { ChipLogProgress(chipTool, "Sending cluster ({{asHex parent.code 8}}) ReportAttribute ({{asHex code 8}}) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseCluster{{asUpperCamelCase parent.name}} * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name}} alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseCluster{{asUpperCamelCase parent.name}} * cluster = [[MTRBaseCluster{{asUpperCamelCase parent.name}} alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; diff --git a/examples/darwin-framework-tool/templates/tests/partials/test_cluster.zapt b/examples/darwin-framework-tool/templates/tests/partials/test_cluster.zapt index 3dfed3dd87c1bb..50ed90b3a3b59f 100644 --- a/examples/darwin-framework-tool/templates/tests/partials/test_cluster.zapt +++ b/examples/darwin-framework-tool/templates/tests/partials/test_cluster.zapt @@ -134,7 +134,7 @@ class {{filename}}: public TestCommandBridge return {{command}}("{{identity}}", value); {{else}} MTRBaseDevice * device = GetDevice("{{identity}}"); - MTRBaseCluster{{asUpperCamelCase cluster}} * cluster = [[MTRBaseCluster{{asUpperCamelCase cluster}} alloc] initWithDevice:device endpoint:{{endpoint}} queue:mCallbackQueue]; + MTRBaseCluster{{asUpperCamelCase cluster}} * cluster = [[MTRBaseCluster{{asUpperCamelCase cluster}} alloc] initWithDevice:device endpointID:@({{endpoint}}) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); {{#if isCommand}} diff --git a/src/app/zap-templates/partials/header.zapt b/src/app/zap-templates/partials/header.zapt index fbed9690c1f3da..af63f7f6443bd8 100644 --- a/src/app/zap-templates/partials/header.zapt +++ b/src/app/zap-templates/partials/header.zapt @@ -15,4 +15,6 @@ * limitations under the License. */ +{{#unless excludeZapComment}} // THIS FILE IS GENERATED BY ZAP +{{/unless}} diff --git a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer+XPC.h b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer+XPC.h index 9f7e8a1d21ebbc..52fe362771851e 100644 --- a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer+XPC.h +++ b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer+XPC.h @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRAttributeCacheContainer (XPC) - (void)setXPCConnection:(MTRDeviceControllerXPCConnection *)xpcConnection controllerId:(id)controllerId - deviceId:(uint64_t)deviceId; + deviceId:(NSNumber *)deviceId; @end NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.h b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.h index 31a09d5f4e4cd1..31138b36b4ee96 100644 --- a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.h +++ b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.h @@ -17,6 +17,7 @@ #import +#import #import NS_ASSUME_NONNULL_BEGIN @@ -40,8 +41,7 @@ NS_ASSUME_NONNULL_BEGIN clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId clientQueue:(dispatch_queue_t)clientQueue - completion:(void (^)(NSArray *> * _Nullable values, - NSError * _Nullable error))completion; + completion:(MTRDeviceResponseHandler)completion; @end diff --git a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.mm b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.mm index 2ec0d10d4eac38..5d9df647243049 100644 --- a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.mm +++ b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer.mm @@ -44,7 +44,7 @@ - (instancetype)init - (void)setXPCConnection:(MTRDeviceControllerXPCConnection *)xpcConnection controllerId:(id)controllerId - deviceId:(uint64_t)deviceId + deviceId:(NSNumber *)deviceId { self.xpcConnection = xpcConnection; self.xpcControllerId = controllerId; @@ -82,8 +82,7 @@ - (void)readAttributeWithEndpointId:(NSNumber * _Nullable)endpointId clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId clientQueue:(dispatch_queue_t)clientQueue - completion:(void (^)(NSArray *> * _Nullable values, - NSError * _Nullable error))completion + completion:(MTRDeviceResponseHandler)completion { __auto_type completionHandler = ^(NSArray *> * _Nullable values, NSError * _Nullable error) { dispatch_async(clientQueue, ^{ @@ -99,12 +98,12 @@ - (void)readAttributeWithEndpointId:(NSNumber * _Nullable)endpointId return; } __auto_type controllerId = self.xpcControllerId; - uint64_t nodeId = self.deviceId; + NSNumber * nodeId = self.deviceId; [xpcConnection getProxyHandleWithCompletion:^(dispatch_queue_t _Nonnull queue, MTRDeviceControllerXPCProxyHandle * _Nullable handle) { if (handle) { [handle.proxy readAttributeCacheWithController:controllerId - nodeId:nodeId + nodeId:[nodeId unsignedLongLongValue] endpointId:endpointId clusterId:clusterId attributeId:attributeId diff --git a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer_Internal.h b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer_Internal.h index 1ab45bc0778682..157991e8877f35 100644 --- a/src/darwin/Framework/CHIP/MTRAttributeCacheContainer_Internal.h +++ b/src/darwin/Framework/CHIP/MTRAttributeCacheContainer_Internal.h @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRAttributeCacheContainer () @property (atomic, readwrite, nullable) chip::app::ClusterStateCache * cppAttributeCache; -@property (nonatomic, readwrite) uint64_t deviceId; +@property (nonatomic, readwrite, copy) NSNumber * deviceId; @property (nonatomic, readwrite, weak, nullable) MTRDeviceControllerXPCConnection * xpcConnection; @property (nonatomic, readwrite, strong, nullable) id xpcControllerId; @property (atomic, readwrite) BOOL shouldUseXPC; diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.h b/src/darwin/Framework/CHIP/MTRBaseDevice.h index 5e4c8cc0666348..f4cb8dd8b3f677 100644 --- a/src/darwin/Framework/CHIP/MTRBaseDevice.h +++ b/src/darwin/Framework/CHIP/MTRBaseDevice.h @@ -163,15 +163,15 @@ extern NSString * const MTRArrayValueType; * attempts fail. */ - (void)subscribeWithQueue:(dispatch_queue_t)queue - minInterval:(uint16_t)minInterval - maxInterval:(uint16_t)maxInterval + minInterval:(NSNumber *)minInterval + maxInterval:(NSNumber *)maxInterval params:(MTRSubscribeParams * _Nullable)params - cacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer + attributeCacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer attributeReportHandler:(MTRDeviceReportHandler _Nullable)attributeReportHandler eventReportHandler:(MTRDeviceReportHandler _Nullable)eventReportHandler errorHandler:(MTRDeviceErrorHandler)errorHandler subscriptionEstablished:(dispatch_block_t _Nullable)subscriptionEstablishedHandler - resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduledHandler; + resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduledHandler MTR_NEWLY_AVAILABLE; /** * Read attribute in a designated attribute path @@ -235,7 +235,7 @@ extern NSString * const MTRArrayValueType; params:(MTRSubscribeParams * _Nullable)params clientQueue:(dispatch_queue_t)clientQueue reportHandler:(MTRDeviceResponseHandler)reportHandler - subscriptionEstablished:(nullable void (^)(void))subscriptionEstablishedHandler; + subscriptionEstablished:(dispatch_block_t _Nullable)subscriptionEstablishedHandler; /** * Deregister all local report handlers for a remote device @@ -244,7 +244,7 @@ extern NSString * const MTRArrayValueType; * There could be multiple clients accessing a node through a remote controller object and hence it is not appropriate * for one of those clients to shut down the entire stack to stop receiving reports. */ -- (void)deregisterReportHandlersWithClientQueue:(dispatch_queue_t)clientQueue completion:(void (^)(void))completion; +- (void)deregisterReportHandlersWithClientQueue:(dispatch_queue_t)clientQueue completion:(dispatch_block_t)completion; /** * Open a commissioning window on the device. @@ -269,6 +269,27 @@ extern NSString * const MTRArrayValueType; @end +@interface MTRBaseDevice (Deprecated) + +/** + * Deprecated MTRBaseDevice APIs. + */ +- (void)subscribeWithQueue:(dispatch_queue_t)queue + minInterval:(uint16_t)minInterval + maxInterval:(uint16_t)maxInterval + params:(MTRSubscribeParams * _Nullable)params + cacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer + attributeReportHandler:(MTRDeviceReportHandler _Nullable)attributeReportHandler + eventReportHandler:(MTRDeviceReportHandler _Nullable)eventReportHandler + errorHandler:(MTRDeviceErrorHandler)errorHandler + subscriptionEstablished:(dispatch_block_t _Nullable)subscriptionEstablishedHandler + resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduledHandler + MTR_NEWLY_DEPRECATED("Please use " + "subscribeWithQueue:params:attributeCacheContainer:attributeReportHandler:eventReportHandler:errorHandler:" + "subscriptionEstablished:resubscriptionScheduled:"); + +@end + @interface MTRAttributePath : NSObject @property (nonatomic, readonly, strong, nonnull) NSNumber * endpoint; @property (nonatomic, readonly, strong, nonnull) NSNumber * cluster; diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.mm b/src/darwin/Framework/CHIP/MTRBaseDevice.mm index 222fd80fc891d7..448abe2f23ed08 100644 --- a/src/darwin/Framework/CHIP/MTRBaseDevice.mm +++ b/src/darwin/Framework/CHIP/MTRBaseDevice.mm @@ -221,11 +221,11 @@ - (instancetype)initWithPASEDevice:(chip::DeviceProxy *)device controller:(MTRDe return self; } -- (instancetype)initWithNodeID:(chip::NodeId)nodeID controller:(MTRDeviceController *)controller +- (instancetype)initWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller { if (self = [super init]) { _isPASEDevice = NO; - _nodeID = nodeID; + _nodeID = [nodeID unsignedLongLongValue]; _deviceController = controller; } return self; @@ -260,14 +260,14 @@ - (void)invalidateCASESession } // anonymous namespace - (void)subscribeWithQueue:(dispatch_queue_t)queue - minInterval:(uint16_t)minInterval - maxInterval:(uint16_t)maxInterval + minInterval:(NSNumber *)minInterval + maxInterval:(NSNumber *)maxInterval params:(nullable MTRSubscribeParams *)params - cacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer - attributeReportHandler:(nullable void (^)(NSArray * value))attributeReportHandler - eventReportHandler:(nullable void (^)(NSArray * value))eventReportHandler + attributeCacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer + attributeReportHandler:(MTRDeviceReportHandler _Nullable)attributeReportHandler + eventReportHandler:(MTRDeviceReportHandler _Nullable)eventReportHandler errorHandler:(void (^)(NSError * error))errorHandler - subscriptionEstablished:(nullable void (^)(void))subscriptionEstablishedHandler + subscriptionEstablished:(dispatch_block_t _Nullable)subscriptionEstablishedHandler resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduledHandler { if (self.isPASEDevice) { @@ -297,8 +297,8 @@ - (void)subscribeWithQueue:(dispatch_queue_t)queue // We want to get event reports at the minInterval, not the maxInterval. eventPath->mIsUrgentEvent = true; ReadPrepareParams readParams(session.Value()); - readParams.mMinIntervalFloorSeconds = minInterval; - readParams.mMaxIntervalCeilingSeconds = maxInterval; + readParams.mMinIntervalFloorSeconds = [minInterval unsignedShortValue]; + readParams.mMaxIntervalCeilingSeconds = [maxInterval unsignedShortValue]; readParams.mpAttributePathParamsList = attributePath.get(); readParams.mAttributePathParamsListSize = 1; readParams.mpEventPathParamsList = eventPath.get(); @@ -1256,7 +1256,7 @@ - (void)subscribeAttributeWithEndpointId:(NSNumber * _Nullable)endpointId }]; } -- (void)deregisterReportHandlersWithClientQueue:(dispatch_queue_t)clientQueue completion:(void (^)(void))completion +- (void)deregisterReportHandlersWithClientQueue:(dispatch_queue_t)clientQueue completion:(dispatch_block_t)completion { // This method must only be used for MTRDeviceOverXPC. However, for unit testing purpose, the method purges all read clients. MTR_LOG_DEBUG("Unexpected call to deregister report handlers"); @@ -1452,6 +1452,33 @@ + (id)CHIPEncodeAndDecodeNSObject:(id)object @end +@implementation MTRBaseDevice (Deprecated) + +- (void)subscribeWithQueue:(dispatch_queue_t)queue + minInterval:(uint16_t)minInterval + maxInterval:(uint16_t)maxInterval + params:(MTRSubscribeParams * _Nullable)params + cacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer + attributeReportHandler:(MTRDeviceReportHandler _Nullable)attributeReportHandler + eventReportHandler:(MTRDeviceReportHandler _Nullable)eventReportHandler + errorHandler:(MTRDeviceErrorHandler)errorHandler + subscriptionEstablished:(dispatch_block_t _Nullable)subscriptionEstablishedHandler + resubscriptionScheduled:(MTRDeviceResubscriptionScheduledHandler _Nullable)resubscriptionScheduledHandler +{ + [self subscribeWithQueue:queue + minInterval:@(minInterval) + maxInterval:@(maxInterval) + params:params + attributeCacheContainer:attributeCacheContainer + attributeReportHandler:attributeReportHandler + eventReportHandler:eventReportHandler + errorHandler:errorHandler + subscriptionEstablished:subscriptionEstablishedHandler + resubscriptionScheduled:resubscriptionScheduledHandler]; +} + +@end + @implementation MTRAttributePath - (instancetype)initWithPath:(const ConcreteDataAttributePath &)path { diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h b/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h index 59a2a6e20f0e69..aa938a217d95cb 100644 --- a/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h +++ b/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h @@ -67,7 +67,7 @@ NS_ASSUME_NONNULL_BEGIN * the controller's fabric, but attempts to actually use the MTRBaseDevice will * fail (asynchronously) in that case. */ -- (instancetype)initWithNodeID:(chip::NodeId)nodeID controller:(MTRDeviceController *)controller; +- (instancetype)initWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller; @end diff --git a/src/darwin/Framework/CHIP/MTRControllerFactory.mm b/src/darwin/Framework/CHIP/MTRControllerFactory.mm index 88f0cc70401856..b6eeba35cadbe3 100644 --- a/src/darwin/Framework/CHIP/MTRControllerFactory.mm +++ b/src/darwin/Framework/CHIP/MTRControllerFactory.mm @@ -540,7 +540,7 @@ - (BOOL)findMatchingFabric:(FabricTable &)fabricTable } } - *fabric = fabricTable.FindFabric(pubKey, params.fabricId); + *fabric = fabricTable.FindFabric(pubKey, [params.fabricID unsignedLongLongValue]); return YES; } diff --git a/src/darwin/Framework/CHIP/MTRDevice.h b/src/darwin/Framework/CHIP/MTRDevice.h index eb13cbe962643d..da420c8869f086 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.h +++ b/src/darwin/Framework/CHIP/MTRDevice.h @@ -44,7 +44,7 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) { * retrieved when performing actions using a combination of MTRBaseDevice * and MTRAsyncCallbackQueue. */ -+ (instancetype)deviceWithNodeID:(uint64_t)nodeID deviceController:(MTRDeviceController *)deviceController; ++ (instancetype)deviceWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller MTR_NEWLY_AVAILABLE; /** * The current state of the device. @@ -166,6 +166,17 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) { @end +@interface MTRDevice (Deprecated) + +/** + * Deprecated MTRDevice APIs. + */ ++ (instancetype)deviceWithNodeID:(uint64_t)nodeID + deviceController:(MTRDeviceController *)deviceController + MTR_NEWLY_DEPRECATED("Please use deviceWithNodeID:controller:"); + +@end + @protocol MTRDeviceDelegate @required /** diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm index 7bce5899c686f3..7b34d0a96a6fd0 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.mm +++ b/src/darwin/Framework/CHIP/MTRDevice.mm @@ -150,12 +150,12 @@ @interface MTRDevice () @implementation MTRDevice -- (instancetype)initWithNodeID:(uint64_t)nodeID deviceController:(MTRDeviceController *)deviceController +- (instancetype)initWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller { if (self = [super init]) { _lock = OS_UNFAIR_LOCK_INIT; - _nodeID = nodeID; - _deviceController = deviceController; + _nodeID = [nodeID copy]; + _deviceController = controller; _queue = dispatch_queue_create("com.apple.matter.framework.xpc.workqueue", DISPATCH_QUEUE_SERIAL); ; _readCache = [NSMutableDictionary dictionary]; @@ -166,9 +166,9 @@ - (instancetype)initWithNodeID:(uint64_t)nodeID deviceController:(MTRDeviceContr return self; } -+ (instancetype)deviceWithNodeID:(uint64_t)nodeID deviceController:(MTRDeviceController *)deviceController ++ (instancetype)deviceWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller { - return [deviceController deviceForNodeID:nodeID]; + return [controller deviceForNodeID:nodeID]; } #pragma mark Subscription and delegate handling @@ -294,7 +294,7 @@ - (void)subscribeWithMinInterval:(uint16_t)minInterval maxInterval:(uint16_t)max _subscriptionActive = YES; - [_deviceController getSessionForNode:_nodeID + [_deviceController getSessionForNode:[_nodeID unsignedLongLongValue] completionHandler:^(chip::Messaging::ExchangeManager * _Nullable exchangeManager, const chip::Optional & session, NSError * _Nullable error) { if (error != nil) { @@ -741,6 +741,15 @@ - (MTRBaseDevice *)newBaseDevice @end +@implementation MTRDevice (Deprecated) + ++ (instancetype)deviceWithNodeID:(uint64_t)nodeID deviceController:(MTRDeviceController *)deviceController +{ + return [MTRDevice deviceWithNodeID:@(nodeID) controller:deviceController]; +} + +@end + #pragma mark - SubscriptionCallback namespace { void SubscriptionCallback::OnEventData(const EventHeader & aEventHeader, TLV::TLVReader * apData, const StatusIB * apStatus) diff --git a/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h b/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h index 4913823964b314..c697b4494350d1 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h +++ b/src/darwin/Framework/CHIP/MTRDeviceController+XPC.h @@ -22,6 +22,12 @@ NS_ASSUME_NONNULL_BEGIN +typedef NSXPCConnection * _Nonnull (^MTRXPCConnectBlock)(void); + +typedef void (^MTRDeviceControllerGetterHandler)(id _Nullable controller, NSError * _Nullable error); + +typedef void (^MTRValuesHandler)(id _Nullable values, NSError * _Nullable error); + /** * Extended methods for MTRDeviceController object over XPC */ @@ -30,11 +36,12 @@ NS_ASSUME_NONNULL_BEGIN /** * Returns a shared device controller proxy for the controller object over XPC connection. * - * @param controllerId an implementation specific id in case multiple shared device controllers are available over XPC connection - * @param connectBlock block to connect to an XPC listener serving the shared device controllers in an implementation specific way + * @param controllerId an implementation specific id in case multiple shared device controllers are available over XPC connection + * @param xpcConnectBlock block to connect to an XPC listener serving the shared device controllers in an implementation specific + * way */ + (MTRDeviceController *)sharedControllerWithId:(id _Nullable)controllerId - xpcConnectBlock:(NSXPCConnection * (^)(void) )connectBlock; + xpcConnectBlock:(MTRXPCConnectBlock)xpcConnectBlock; /** * Returns an encoded values object to send over XPC for read, write and command interactions @@ -69,21 +76,24 @@ NS_ASSUME_NONNULL_BEGIN + (MTRSubscribeParams * _Nullable)decodeXPCSubscribeParams:(NSDictionary * _Nullable)params; @end + /** * Protocol that remote object must support over XPC */ @protocol MTRDeviceControllerServerProtocol +@optional /** * Gets device controller ID corresponding to a specific fabric Id */ - (void)getDeviceControllerWithFabricId:(uint64_t)fabricId - completion:(void (^)(id _Nullable controller, NSError * _Nullable error))completion; + completion:(MTRDeviceControllerGetterHandler)completion MTR_NEWLY_DEPRECATED("This never called."); +@required /** * Gets any available device controller ID */ -- (void)getAnyDeviceControllerWithCompletion:(void (^)(id _Nullable controller, NSError * _Nullable error))completion; +- (void)getAnyDeviceControllerWithCompletion:(MTRDeviceControllerGetterHandler)completion; /** * Requests reading attribute @@ -94,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId params:(NSDictionary * _Nullable)params - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion; + completion:(MTRValuesHandler)completion; /** * Requests writing attribute @@ -106,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN attributeId:(NSNumber *)attributeId value:(id)value timedWriteTimeout:(NSNumber * _Nullable)timeoutMs - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion; + completion:(MTRValuesHandler)completion; /** * Requests invoking command @@ -118,7 +128,7 @@ NS_ASSUME_NONNULL_BEGIN commandId:(NSNumber *)commandId fields:(id)fields timedInvokeTimeout:(NSNumber * _Nullable)timeoutMs - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion; + completion:(MTRValuesHandler)completion; /** * Requests subscribing attribute @@ -131,12 +141,12 @@ NS_ASSUME_NONNULL_BEGIN minInterval:(NSNumber *)minInterval maxInterval:(NSNumber *)maxInterval params:(NSDictionary * _Nullable)params - establishedHandler:(void (^)(void))establishedHandler; + establishedHandler:(dispatch_block_t)establishedHandler; /** * Requests to stop reporting */ -- (void)stopReportsWithController:(id _Nullable)controller nodeId:(uint64_t)nodeId completion:(void (^)(void))completion; +- (void)stopReportsWithController:(id _Nullable)controller nodeId:(uint64_t)nodeId completion:(dispatch_block_t)completion; /** * Requests subscription of all attributes. @@ -147,7 +157,7 @@ NS_ASSUME_NONNULL_BEGIN maxInterval:(NSNumber *)maxInterval params:(NSDictionary * _Nullable)params shouldCache:(BOOL)shouldCache - completion:(void (^)(NSError * _Nullable error))completion; + completion:(StatusCompletion)completion; /** * Requests reading attribute cache @@ -157,7 +167,7 @@ NS_ASSUME_NONNULL_BEGIN endpointId:(NSNumber * _Nullable)endpointId clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion; + completion:(MTRValuesHandler)completion; @end diff --git a/src/darwin/Framework/CHIP/MTRDeviceController+XPC.m b/src/darwin/Framework/CHIP/MTRDeviceController+XPC.m index 6dc425eba5cd7c..b9b6e6454ff608 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController+XPC.m +++ b/src/darwin/Framework/CHIP/MTRDeviceController+XPC.m @@ -67,9 +67,9 @@ static void decodeReadParams(NSDictionary * inParams, MTRReadPar @implementation MTRDeviceController (XPC) + (MTRDeviceController *)sharedControllerWithId:(id _Nullable)controllerId - xpcConnectBlock:(NSXPCConnection * (^)(void) )connectBlock + xpcConnectBlock:(MTRXPCConnectBlock)xpcConnectBlock { - return [MTRDeviceControllerOverXPC sharedControllerWithId:controllerId xpcConnectBlock:connectBlock]; + return [MTRDeviceControllerOverXPC sharedControllerWithId:controllerId xpcConnectBlock:xpcConnectBlock]; } + (NSArray *> * _Nullable)encodeXPCResponseValues: diff --git a/src/darwin/Framework/CHIP/MTRDeviceController.mm b/src/darwin/Framework/CHIP/MTRDeviceController.mm index bbf793d25a4ff4..3253b242f0f38a 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceController.mm @@ -279,7 +279,8 @@ - (BOOL)startup:(MTRDeviceControllerStartupParamsInternal *)startupParams if (commissionerParams.operationalKeypair != nullptr) { errorCode = _operationalCredentialsDelegate->GenerateNOC([startupParams.nodeId unsignedLongLongValue], - startupParams.fabricId, chip::kUndefinedCATs, commissionerParams.operationalKeypair->Pubkey(), noc); + [startupParams.fabricID unsignedLongLongValue], chip::kUndefinedCATs, + commissionerParams.operationalKeypair->Pubkey(), noc); if ([self checkForStartError:errorCode logMsg:kErrorGenerateNOC]) { return; @@ -299,8 +300,8 @@ - (BOOL)startup:(MTRDeviceControllerStartupParamsInternal *)startupParams return; } - errorCode = _operationalCredentialsDelegate->GenerateNOC( - [startupParams.nodeId unsignedLongLongValue], startupParams.fabricId, chip::kUndefinedCATs, pubKey, noc); + errorCode = _operationalCredentialsDelegate->GenerateNOC([startupParams.nodeId unsignedLongLongValue], + [startupParams.fabricID unsignedLongLongValue], chip::kUndefinedCATs, pubKey, noc); if ([self checkForStartError:errorCode logMsg:kErrorGenerateNOC]) { return; @@ -594,7 +595,7 @@ - (BOOL)getBaseDevice:(uint64_t)deviceID dispatch_async(queue, ^{ MTRBaseDevice * device; if (error == nil) { - device = [[MTRBaseDevice alloc] initWithNodeID:deviceID controller:self]; + device = [[MTRBaseDevice alloc] initWithNodeID:@(deviceID) controller:self]; } else { device = nil; } @@ -603,13 +604,13 @@ - (BOOL)getBaseDevice:(uint64_t)deviceID }]; } -- (MTRDevice *)deviceForNodeID:(uint64_t)nodeID +- (MTRDevice *)deviceForNodeID:(NSNumber *)nodeID { os_unfair_lock_lock(&_deviceMapLock); - MTRDevice * deviceToReturn = self.nodeIDToDeviceMap[@(nodeID)]; + MTRDevice * deviceToReturn = self.nodeIDToDeviceMap[nodeID]; if (!deviceToReturn) { - deviceToReturn = [[MTRDevice alloc] initWithNodeID:nodeID deviceController:self]; - self.nodeIDToDeviceMap[@(nodeID)] = deviceToReturn; + deviceToReturn = [[MTRDevice alloc] initWithNodeID:nodeID controller:self]; + self.nodeIDToDeviceMap[nodeID] = deviceToReturn; } os_unfair_lock_unlock(&_deviceMapLock); @@ -619,11 +620,11 @@ - (MTRDevice *)deviceForNodeID:(uint64_t)nodeID - (void)removeDevice:(MTRDevice *)device { os_unfair_lock_lock(&_deviceMapLock); - MTRDevice * deviceToRemove = self.nodeIDToDeviceMap[@(device.nodeID)]; + MTRDevice * deviceToRemove = self.nodeIDToDeviceMap[device.nodeID]; if (deviceToRemove == device) { - self.nodeIDToDeviceMap[@(device.nodeID)] = nil; + self.nodeIDToDeviceMap[device.nodeID] = nil; } else { - MTR_LOG_ERROR("Error: Cannot remove device %p with nodeID %llu", device, device.nodeID); + MTR_LOG_ERROR("Error: Cannot remove device %p with nodeID %llu", device, [device.nodeID unsignedLongLongValue]); } os_unfair_lock_unlock(&_deviceMapLock); } diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h index cf72ff65e92b59..3ee6eebb694467 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h @@ -21,6 +21,8 @@ NS_ASSUME_NONNULL_BEGIN @class MTRDeviceControllerXPCConnection; +typedef NSXPCConnection * _Nonnull (^MTRXPCConnectBlock)(void); + @interface MTRDeviceControllerOverXPC : MTRDeviceController - (instancetype)init NS_UNAVAILABLE; @@ -31,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN * connect to an XPC listener. */ + (MTRDeviceControllerOverXPC *)sharedControllerWithId:(id _Nullable)controllerId - xpcConnectBlock:(NSXPCConnection * (^)(void) )connectBlock; + xpcConnectBlock:(MTRXPCConnectBlock)xpcConnectBlock; @end diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.m b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.m index d8c2df5290514b..cf5f46d7a39305 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.m +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.m @@ -38,12 +38,12 @@ static void SetupXPCQueue(void) @implementation MTRDeviceControllerOverXPC + (MTRDeviceControllerOverXPC *)sharedControllerWithId:(id _Nullable)controllerId - xpcConnectBlock:(NSXPCConnection * (^)(void) )connectBlock + xpcConnectBlock:(MTRXPCConnectBlock)xpcConnectBlock { SetupXPCQueue(); return [[MTRDeviceControllerOverXPC alloc] initWithControllerId:controllerId workQueue:globalWorkQueue - connectBlock:connectBlock]; + connectBlock:xpcConnectBlock]; } - (BOOL)setupCommissioningSessionWithPayload:(MTRSetupPayload *)payload @@ -138,7 +138,7 @@ - (BOOL)getBaseDevice:(uint64_t)deviceID dispatch_group_notify(group, queue, ^{ if (self.controllerId) { MTRDeviceOverXPC * device = [[MTRDeviceOverXPC alloc] initWithController:self.controllerId - deviceId:deviceID + deviceId:@(deviceID) xpcConnection:self.xpcConnection]; completionHandler(device, nil); } else { @@ -167,18 +167,18 @@ - (nullable NSString *)openPairingWindowWithPIN:(uint64_t)deviceID - (instancetype)initWithControllerId:(id)controllerId workQueue:(dispatch_queue_t)queue - xpcConnection:(MTRDeviceControllerXPCConnection *)connection + xpcConnection:(MTRDeviceControllerXPCConnection *)xpcConnection { _controllerId = controllerId; _workQueue = queue; - _xpcConnection = connection; + _xpcConnection = xpcConnection; return self; } // This is interface for unit testing - (instancetype)initWithControllerId:(id)controllerId workQueue:(dispatch_queue_t)queue - connectBlock:(NSXPCConnection * (^)(void) )connectBlock + connectBlock:(MTRXPCConnectBlock)connectBlock { return [self initWithControllerId:controllerId workQueue:queue diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h index 2d3a6865f67bb2..df1bf4f8d7766f 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h @@ -42,7 +42,7 @@ NS_ASSUME_NONNULL_BEGIN * key of the nocSigner keypair, since in this case we are not using an * intermediate certificate. */ -@property (nonatomic, assign, readonly) uint64_t fabricId; +@property (nonatomic, copy, readonly) NSNumber * fabricID MTR_NEWLY_AVAILABLE; /** * IPK to use for the controller's fabric. Allowed to change from the last time * a controller was started on this fabric if a new IPK has been distributed to @@ -196,7 +196,9 @@ NS_ASSUME_NONNULL_BEGIN * * ipk must be 16 bytes in length */ -- (instancetype)initWithSigningKeypair:(id)nocSigner fabricId:(uint64_t)fabricId ipk:(NSData *)ipk; +- (instancetype)initWithSigningKeypair:(id)nocSigner + fabricID:(NSNumber *)fabricID + ipk:(NSData *)ipk MTR_NEWLY_AVAILABLE; /** * Prepare to initialize a controller with a complete operational certificate @@ -219,4 +221,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRDeviceControllerStartupParams (Deprecated) + +@property (nonatomic, assign, readonly) uint64_t fabricId MTR_NEWLY_DEPRECATED("Please use fabricID"); + +- (instancetype)initWithSigningKeypair:(id)nocSigner + fabricId:(uint64_t)fabricId + ipk:(NSData *)ipk MTR_NEWLY_DEPRECATED("Please use initWithSigningKeypair:fabricID:ipk:"); + +@end + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm index 181295364063ef..7859c70951b8f7 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.mm @@ -30,20 +30,20 @@ @implementation MTRDeviceControllerStartupParams -- (instancetype)initWithSigningKeypair:(id)nocSigner fabricId:(uint64_t)fabricId ipk:(NSData *)ipk +- (instancetype)initWithSigningKeypair:(id)nocSigner fabricID:(NSNumber *)fabricID ipk:(NSData *)ipk { if (!(self = [super init])) { return nil; } - if (!IsValidFabricId(fabricId)) { - MTR_LOG_ERROR("%llu is not a valid fabric id to initialize a device controller with", fabricId); + if (!IsValidFabricId([fabricID unsignedLongLongValue])) { + MTR_LOG_ERROR("%llu is not a valid fabric id to initialize a device controller with", [fabricID unsignedLongLongValue]); return nil; } _nocSigner = nocSigner; - _fabricId = fabricId; - _ipk = ipk; + _fabricID = [fabricID copy]; + _ipk = [ipk copy]; return self; } @@ -75,14 +75,14 @@ - (instancetype)initWithOperationalKeypair:(id)operationalKeypair MTR_LOG_ERROR("Unable to extract fabric id from operational certificate: %s", ErrorStr(err)); return nil; } - _fabricId = fabricId; + _fabricID = @(fabricId); } _operationalKeypair = operationalKeypair; - _operationalCertificate = operationalCertificate; - _intermediateCertificate = intermediateCertificate; - _rootCertificate = rootCertificate; - _ipk = ipk; + _operationalCertificate = [operationalCertificate copy]; + _intermediateCertificate = [intermediateCertificate copy]; + _rootCertificate = [rootCertificate copy]; + _ipk = [ipk copy]; return self; } @@ -94,7 +94,7 @@ - (instancetype)initWithParams:(MTRDeviceControllerStartupParams *)params } _nocSigner = params.nocSigner; - _fabricId = params.fabricId; + _fabricID = params.fabricID; _ipk = params.ipk; _vendorId = params.vendorId; _nodeId = params.nodeId; @@ -123,6 +123,20 @@ - (instancetype)initWithParams:(MTRDeviceControllerStartupParams *)params return AsData(derCert); } +@implementation MTRDeviceControllerStartupParams (Deprecated) + +- (uint64_t)fabricId +{ + return [self.fabricID unsignedLongLongValue]; +} + +- (instancetype)initWithSigningKeypair:(id)nocSigner fabricId:(uint64_t)fabricId ipk:(NSData *)ipk +{ + return [self initWithSigningKeypair:nocSigner fabricID:@(fabricId) ipk:ipk]; +} + +@end + @implementation MTRDeviceControllerStartupParamsInternal - (instancetype)initWithParams:(MTRDeviceControllerStartupParams *)params @@ -181,7 +195,7 @@ - (instancetype)initForNewFabric:(chip::FabricTable *)fabricTable NSError * error; self.rootCertificate = [MTRCertificates generateRootCertificate:self.nocSigner issuerId:nil - fabricId:@(self.fabricId) + fabricId:self.fabricID error:&error]; if (error != nil || self.rootCertificate == nil) { MTR_LOG_ERROR("Failed to generate root certificate: %@", error); diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h index 3be8c5d4f720b5..889dba7d52c298 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h @@ -83,7 +83,7 @@ NS_ASSUME_NONNULL_BEGIN keystore:(chip::Crypto::OperationalKeystore *)keystore params:(MTRDeviceControllerStartupParams *)params; -- (instancetype)initWithSigningKeypair:(id)nocSigner fabricId:(uint64_t)fabricId ipk:(NSData *)ipk NS_UNAVAILABLE; +- (instancetype)initWithSigningKeypair:(id)nocSigner fabricID:(NSNumber *)fabricID ipk:(NSData *)ipk NS_UNAVAILABLE; - (instancetype)initWithOperationalKeypair:(id)operationalKeypair operationalCertificate:(NSData *)operationalCertificate intermediateCertificate:(nullable NSData *)intermediateCertificate diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h b/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h index 9f06af1e1c8177..c4bc5298a813f8 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h @@ -19,6 +19,8 @@ NS_ASSUME_NONNULL_BEGIN +typedef void (^MTRXPCReportHandler)(id _Nullable values, NSError * _Nullable error); + /** * handle for XPC remote object proxy for remote device controller * @@ -31,6 +33,8 @@ NS_ASSUME_NONNULL_BEGIN @end +typedef void (^MTRGetProxyHandleHandler)(dispatch_queue_t queue, MTRDeviceControllerXPCProxyHandle * _Nullable container); + /** * class to manage XPC connection for remote device controller * @@ -41,16 +45,15 @@ NS_ASSUME_NONNULL_BEGIN /** * This method is just for test purpsoe. */ -+ (instancetype)connectionWithWorkQueue:(dispatch_queue_t)workQueue connectBlock:(NSXPCConnection * (^)(void) )connectBlock; ++ (instancetype)connectionWithWorkQueue:(dispatch_queue_t)workQueue connectBlock:(MTRXPCConnectBlock)connectBlock; -- (void)getProxyHandleWithCompletion:(void (^)(dispatch_queue_t queue, - MTRDeviceControllerXPCProxyHandle * _Nullable container))completion; +- (void)getProxyHandleWithCompletion:(MTRGetProxyHandleHandler)completion; - (void)registerReportHandlerWithController:(id)controller - nodeId:(NSUInteger)nodeId - handler:(void (^)(id _Nullable values, NSError * _Nullable error))handler; + nodeId:(NSNumber *)nodeId + handler:(MTRXPCReportHandler)handler; - (void)deregisterReportHandlersWithController:(id)controller - nodeId:(NSUInteger)nodeId - completion:(void (^)(void))completion; + nodeId:(NSNumber *)nodeId + completion:(dispatch_block_t)completion; @end diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.m b/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.m index f3354907d7a626..058d4d920a1aae 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.m +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.m @@ -83,8 +83,7 @@ + (instancetype)connectionWithWorkQueue:(dispatch_queue_t)workQueue connectBlock return [[MTRDeviceControllerXPCConnection alloc] initWithWorkQueue:workQueue connectBlock:connectBlock]; } -- (void)getProxyHandleWithCompletion:(void (^)( - dispatch_queue_t queue, MTRDeviceControllerXPCProxyHandle * _Nullable container))completion +- (void)getProxyHandleWithCompletion:(MTRGetProxyHandleHandler)completion { dispatch_async(_workQueue, ^{ MTRDeviceControllerXPCProxyHandle * container = self.proxyHandle; @@ -119,9 +118,7 @@ - (void)getProxyHandleWithCompletion:(void (^)( }); } -- (void)registerReportHandlerWithController:(id)controller - nodeId:(NSUInteger)nodeId - handler:(void (^)(id _Nullable values, NSError * _Nullable error))handler +- (void)registerReportHandlerWithController:(id)controller nodeId:(NSNumber *)nodeId handler:(MTRXPCReportHandler)handler { dispatch_async(_workQueue, ^{ BOOL shouldRetainProxyForReport = ([self.reportRegistry count] == 0); @@ -130,11 +127,10 @@ - (void)registerReportHandlerWithController:(id)controller controllerDictionary = [[NSMutableDictionary alloc] init]; [self.reportRegistry setObject:controllerDictionary forKey:controller]; } - NSNumber * nodeIdKey = [NSNumber numberWithUnsignedInteger:nodeId]; - NSMutableArray * nodeArray = controllerDictionary[nodeIdKey]; + NSMutableArray * nodeArray = controllerDictionary[nodeId]; if (!nodeArray) { nodeArray = [[NSMutableArray alloc] init]; - [controllerDictionary setObject:nodeArray forKey:nodeIdKey]; + [controllerDictionary setObject:nodeArray forKey:nodeId]; } [nodeArray addObject:handler]; if (shouldRetainProxyForReport) { @@ -144,8 +140,8 @@ - (void)registerReportHandlerWithController:(id)controller } - (void)deregisterReportHandlersWithController:(id)controller - nodeId:(NSUInteger)nodeId - completion:(void (^)(void))completion + nodeId:(NSNumber *)nodeId + completion:(dispatch_block_t)completion { dispatch_async(_workQueue, ^{ __auto_type clearRegistry = ^{ @@ -154,13 +150,12 @@ - (void)deregisterReportHandlersWithController:(id)controller completion(); return; } - NSNumber * nodeIdKey = [NSNumber numberWithUnsignedInteger:nodeId]; - NSMutableArray * nodeArray = controllerDictionary[nodeIdKey]; + NSMutableArray * nodeArray = controllerDictionary[nodeId]; if (!nodeArray) { completion(); return; } - [controllerDictionary removeObjectForKey:nodeIdKey]; + [controllerDictionary removeObjectForKey:nodeId]; if ([controllerDictionary count] == 0) { // Dereference proxy retainer for reports so that XPC connection may be invalidated if no longer used. self.proxyRetainerForReports = nil; @@ -172,7 +167,7 @@ - (void)deregisterReportHandlersWithController:(id)controller if (handle) { MTR_LOG_DEBUG("CHIP XPC connection requests to stop reports"); [handle.proxy stopReportsWithController:controller - nodeId:nodeId + nodeId:[nodeId unsignedLongLongValue] completion:^{ __auto_type handleRetainer = handle; (void) handleRetainer; @@ -187,7 +182,7 @@ - (void)deregisterReportHandlersWithController:(id)controller } - (void)handleReportWithController:(id)controller - nodeId:(NSUInteger)nodeId + nodeId:(uint64_t)nodeId values:(id _Nullable)values error:(NSError * _Nullable)error { diff --git a/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h b/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h index 7ddbb1df310753..caacb273029cc4 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h +++ b/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h @@ -156,7 +156,7 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark - Device-specific data and SDK access // DeviceController will act as a central repository for this opaque dictionary that MTRDevice manages -- (MTRDevice *)deviceForNodeID:(uint64_t)nodeID; +- (MTRDevice *)deviceForNodeID:(NSNumber *)nodeID; - (void)removeDevice:(MTRDevice *)device; @end diff --git a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h index e0a46f4f17cec5..8e2c4ccdb4041f 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h +++ b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h @@ -25,13 +25,13 @@ NS_ASSUME_NONNULL_BEGIN - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; - (void)subscribeWithQueue:(dispatch_queue_t)queue - minInterval:(uint16_t)minInterval - maxInterval:(uint16_t)maxInterval + minInterval:(NSNumber *)minInterval + maxInterval:(NSNumber *)maxInterval reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler - subscriptionEstablished:(void (^_Nullable)(void))subscriptionEstablishedHandler NS_UNAVAILABLE; + subscriptionEstablished:(dispatch_block_t _Nullable)subscriptionEstablishedHandler NS_UNAVAILABLE; - (instancetype)initWithController:(id)controller - deviceId:(uint64_t)deviceId + deviceId:(NSNumber *)deviceId xpcConnection:(MTRDeviceControllerXPCConnection *)xpcConnection; @end diff --git a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m index a501524ddcaaf2..85a36210fa6918 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m +++ b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.m @@ -29,7 +29,7 @@ @interface MTRDeviceOverXPC () @property (nonatomic, strong, readonly) id controller; -@property (nonatomic, readonly) uint64_t nodeId; +@property (nonatomic, readonly) NSNumber * nodeId; @property (nonatomic, strong, readonly) MTRDeviceControllerXPCConnection * xpcConnection; @end @@ -37,7 +37,7 @@ @interface MTRDeviceOverXPC () @implementation MTRDeviceOverXPC - (instancetype)initWithController:(id)controller - deviceId:(uint64_t)deviceId + deviceId:(NSNumber *)deviceId xpcConnection:(MTRDeviceControllerXPCConnection *)xpcConnection { _controller = controller; @@ -47,10 +47,10 @@ - (instancetype)initWithController:(id)controller } - (void)subscribeWithQueue:(dispatch_queue_t)queue - minInterval:(uint16_t)minInterval - maxInterval:(uint16_t)maxInterval + minInterval:(NSNumber *)minInterval + maxInterval:(NSNumber *)maxInterval params:(nullable MTRSubscribeParams *)params - cacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer + attributeCacheContainer:(MTRAttributeCacheContainer * _Nullable)attributeCacheContainer attributeReportHandler:(nullable void (^)(NSArray * value))attributeReportHandler eventReportHandler:(nullable void (^)(NSArray * value))eventReportHandler errorHandler:(void (^)(NSError * error))errorHandler @@ -66,9 +66,9 @@ - (void)subscribeWithQueue:(dispatch_queue_t)queue getProxyHandleWithCompletion:^(dispatch_queue_t _Nonnull proxyQueue, MTRDeviceControllerXPCProxyHandle * _Nullable handle) { if (handle) { [handle.proxy subscribeWithController:self.controller - nodeId:self.nodeId - minInterval:@(minInterval) - maxInterval:@(maxInterval) + nodeId:[self.nodeId unsignedLongLongValue] + minInterval:minInterval + maxInterval:maxInterval params:[MTRDeviceController encodeXPCSubscribeParams:params] shouldCache:(attributeCacheContainer != nil) completion:^(NSError * _Nullable error) { @@ -103,7 +103,7 @@ - (void)readAttributeWithEndpointId:(NSNumber * _Nullable)endpointId getProxyHandleWithCompletion:^(dispatch_queue_t _Nonnull queue, MTRDeviceControllerXPCProxyHandle * _Nullable handle) { if (handle) { [handle.proxy readAttributeWithController:self.controller - nodeId:self.nodeId + nodeId:[self.nodeId unsignedLongLongValue] endpointId:endpointId clusterId:clusterId attributeId:attributeId @@ -140,7 +140,7 @@ - (void)writeAttributeWithEndpointId:(NSNumber *)endpointId getProxyHandleWithCompletion:^(dispatch_queue_t _Nonnull queue, MTRDeviceControllerXPCProxyHandle * _Nullable handle) { if (handle) { [handle.proxy writeAttributeWithController:self.controller - nodeId:self.nodeId + nodeId:[self.nodeId unsignedLongLongValue] endpointId:endpointId clusterId:clusterId attributeId:attributeId @@ -178,7 +178,7 @@ - (void)invokeCommandWithEndpointId:(NSNumber *)endpointId getProxyHandleWithCompletion:^(dispatch_queue_t _Nonnull queue, MTRDeviceControllerXPCProxyHandle * _Nullable handle) { if (handle) { [handle.proxy invokeCommandWithController:self.controller - nodeId:self.nodeId + nodeId:[self.nodeId unsignedLongLongValue] endpointId:endpointId clusterId:clusterId commandId:commandId @@ -253,7 +253,7 @@ - (void)subscribeAttributeWithEndpointId:(NSNumber * _Nullable)endpointId } }]; [handle.proxy subscribeAttributeWithController:self.controller - nodeId:self.nodeId + nodeId:[self.nodeId unsignedLongLongValue] endpointId:endpointId clusterId:clusterId attributeId:attributeId diff --git a/src/darwin/Framework/CHIP/MTRDevice_Internal.h b/src/darwin/Framework/CHIP/MTRDevice_Internal.h index a130a3ea6c8a8f..9d2e77876261f0 100644 --- a/src/darwin/Framework/CHIP/MTRDevice_Internal.h +++ b/src/darwin/Framework/CHIP/MTRDevice_Internal.h @@ -27,14 +27,14 @@ NS_ASSUME_NONNULL_BEGIN typedef void (^MTRDevicePerformAsyncBlock)(MTRBaseDevice * baseDevice); @interface MTRDevice () -- (instancetype)initWithNodeID:(uint64_t)nodeID deviceController:(MTRDeviceController *)deviceController; +- (instancetype)initWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller; // Called from MTRClusters for writes and commands - (void)setExpectedValues:(NSArray *> *)values expectedValueInterval:(NSNumber *)expectedValueIntervalMs; -@property (nonatomic, readonly, strong, nonnull) MTRDeviceController * deviceController; -@property (nonatomic, readonly) uint64_t nodeID; +@property (nonatomic, readonly) MTRDeviceController * deviceController; +@property (nonatomic, readonly, copy) NSNumber * nodeID; @property (nonatomic, readonly) MTRAsyncCallbackWorkQueue * asyncCallbackWorkQueue; @end diff --git a/src/darwin/Framework/CHIP/MTROTAProviderDelegate.h b/src/darwin/Framework/CHIP/MTROTAProviderDelegate.h index 32e9f748257f60..70265a45f76cbd 100644 --- a/src/darwin/Framework/CHIP/MTROTAProviderDelegate.h +++ b/src/darwin/Framework/CHIP/MTROTAProviderDelegate.h @@ -20,6 +20,14 @@ NS_ASSUME_NONNULL_BEGIN +typedef void (^MTRQueryImageCompletionHandler)( + MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data, NSError * _Nullable error); + +typedef void (^MTRApplyUpdateRequestCompletionHandler)( + MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data, NSError * _Nullable error); + +typedef void (^MTRBDXQueryCompletionHandler)(NSData * _Nullable data, BOOL isEOF); + /** * The protocol definition for the MTROTAProviderDelegate * @@ -39,8 +47,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)handleQueryImageForNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller params:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params - completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data, - NSError * _Nullable error))completionHandler; + completionHandler:(MTRQueryImageCompletionHandler)completionHandler; /** * Notify the delegate when the apply update request command is received from @@ -54,8 +61,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)handleApplyUpdateRequestForNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller params:(MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams *)params - completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data, - NSError * _Nullable error))completionHandler; + completionHandler:(MTRApplyUpdateRequestCompletionHandler)completionHandler; /** * Notify the delegate when the notify update applied command is received from @@ -79,7 +85,7 @@ NS_ASSUME_NONNULL_BEGIN controller:(MTRDeviceController *)controller fileDesignator:(NSString *)fileDesignator offset:(NSNumber *)offset - completionHandler:(void (^)(NSError * error))completionHandler; + completionHandler:(StatusCompletion)completionHandler; /** * Notify the delegate when a BDX Session ends for some node. The controller @@ -100,7 +106,7 @@ NS_ASSUME_NONNULL_BEGIN blockSize:(NSNumber *)blockSize blockIndex:(NSNumber *)blockIndex bytesToSkip:(NSNumber *)bytesToSkip - completionHandler:(void (^)(NSData * _Nullable data, BOOL isEOF))completionHandler; + completionHandler:(MTRBDXQueryCompletionHandler)completionHandler; @end NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm index 40cf30548c6e8d..4c29380befaa0a 100644 --- a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm +++ b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm @@ -128,7 +128,7 @@ CHIP_ERROR OnTransferSessionBegin(TransferSession::OutputEvent & event) auto fileDesignator = [[NSString alloc] initWithBytes:fd length:fdl encoding:NSUTF8StringEncoding]; auto offset = @(mTransfer.GetStartOffset()); - auto completionHandler = ^(NSError * error) { + auto completionHandler = ^(NSError * _Nullable error) { dispatch_async(mWorkQueue, ^{ if (error != nil) { LogErrorOnFailure([MTRError errorToCHIPErrorCode:error]); diff --git a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h index 17d42ff6cc5813..5c8bb60185086d 100644 --- a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h +++ b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h @@ -49,9 +49,9 @@ extern size_t const MTRSizeThreadPSKc; */ @property (nonatomic, nullable, copy, readonly) NSData * PSKc; /** - * The Thread network channel + * The Thread network channel. Always an unsigned 16-bit integer. */ -@property (nonatomic, readwrite) uint16_t channel; +@property (nonatomic, copy, readonly) NSNumber * channelNumber MTR_NEWLY_AVAILABLE; /** * A uint16_t stored as 2-bytes in host order representing the Thread PAN ID */ @@ -70,8 +70,8 @@ extern size_t const MTRSizeThreadPSKc; extendedPANID:(NSData *)extendedPANID masterKey:(NSData *)masterKey PSKc:(NSData *)PSKc - channel:(uint16_t)channel - panID:(NSData *)panID; + channelNumber:(NSNumber *)channelNumber + panID:(NSData *)panID MTR_NEWLY_AVAILABLE; /** * Create a Thread Operational Dataset object with a RCP formatted active operational dataset. @@ -86,4 +86,18 @@ extern size_t const MTRSizeThreadPSKc; @end +@interface MTRThreadOperationalDataset (Deprecated) + +@property (nonatomic, readwrite) uint16_t channel MTR_NEWLY_DEPRECATED("Please use channelNumber"); + +- (nullable instancetype)initWithNetworkName:(NSString *)networkName + extendedPANID:(NSData *)extendedPANID + masterKey:(NSData *)masterKey + PSKc:(NSData *)PSKc + channel:(uint16_t)channel + panID:(NSData *)panID + MTR_NEWLY_DEPRECATED("Please use initWithNetworkName:extendedPANID:masterKey:PSKc:channelNumber:panID"); + +@end + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm index 945551724ca798..d86301ef20a158 100644 --- a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm +++ b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.mm @@ -29,6 +29,7 @@ @interface MTRThreadOperationalDataset () @property (readonly) chip::Thread::OperationalDataset cppThreadOperationalDataset; +@property (nonatomic, copy) NSNumber * channelNumber; @end @@ -38,7 +39,7 @@ - (nullable instancetype)initWithNetworkName:(NSString *)networkName extendedPANID:(NSData *)extendedPANID masterKey:(NSData *)masterKey PSKc:(NSData *)PSKc - channel:(uint16_t)channel + channelNumber:(NSNumber *)channelNumber panID:(NSData *)panID { if (self = [super init]) { @@ -46,7 +47,7 @@ - (nullable instancetype)initWithNetworkName:(NSString *)networkName _extendedPANID = extendedPANID; _masterKey = masterKey; _PSKc = PSKc; - _channel = channel; + _channelNumber = channelNumber; _panID = panID; _cppThreadOperationalDataset = chip::Thread::OperationalDataset(); if ([self _populateCppOperationalDataset]) { @@ -85,7 +86,7 @@ - (BOOL)_populateCppOperationalDataset [self.PSKc getBytes:&PSKc length:chip::Thread::kSizePSKc]; _cppThreadOperationalDataset.SetPSKc(PSKc); - _cppThreadOperationalDataset.SetChannel(self.channel); + _cppThreadOperationalDataset.SetChannel([self.channelNumber unsignedShortValue]); // Thread's PAN ID is 2 bytes if (![self _checkDataLength:self.panID expectedLength:2]) { @@ -139,7 +140,7 @@ - (nullable instancetype)initWithData:(NSData *)data extendedPANID:[NSData dataWithBytes:extendedPANID length:MTRSizeThreadExtendedPanId] masterKey:[NSData dataWithBytes:masterKey length:MTRSizeThreadMasterKey] PSKc:[NSData dataWithBytes:pskc length:MTRSizeThreadPSKc] - channel:channel + channelNumber:@(channel) panID:[NSData dataWithBytes:&panID length:sizeof(uint16_t)]]; } @@ -150,3 +151,32 @@ - (NSData *)data } @end + +@implementation MTRThreadOperationalDataset (Deprecated) + +- (void)setChannel:(uint16_t)channel +{ + self.channelNumber = @(channel); +} + +- (uint16_t)channel +{ + return [self.channelNumber unsignedShortValue]; +} + +- (nullable instancetype)initWithNetworkName:(NSString *)networkName + extendedPANID:(NSData *)extendedPANID + masterKey:(NSData *)masterKey + PSKc:(NSData *)PSKc + channel:(uint16_t)channel + panID:(NSData *)panID +{ + return [self initWithNetworkName:networkName + extendedPANID:extendedPANID + masterKey:masterKey + PSKc:PSKc + channelNumber:@(channel) + panID:panID]; +} + +@end diff --git a/src/darwin/Framework/CHIP/Matter.h b/src/darwin/Framework/CHIP/Matter.h index d702cb7c4f21fc..6b166ba63eb55c 100644 --- a/src/darwin/Framework/CHIP/Matter.h +++ b/src/darwin/Framework/CHIP/Matter.h @@ -17,6 +17,14 @@ #import +#ifndef MTR_NEWLY_DEPRECATED +#define MTR_NEWLY_DEPRECATED(message) +#endif + +#ifndef MTR_NEWLY_AVAILABLE +#define MTR_NEWLY_AVAILABLE +#endif + #import #import #import diff --git a/src/darwin/Framework/CHIP/templates/MTRAttributeTLVValueDecoder-src.zapt b/src/darwin/Framework/CHIP/templates/MTRAttributeTLVValueDecoder-src.zapt index 9b478b2ad9f0e8..b79fa746c2bea3 100644 --- a/src/darwin/Framework/CHIP/templates/MTRAttributeTLVValueDecoder-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRAttributeTLVValueDecoder-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import "MTRAttributeTLVValueDecoder_Internal.h" diff --git a/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt b/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt index 9992ccc9606810..c3dce6e28697ff 100644 --- a/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import @@ -26,7 +26,7 @@ using chip::SessionHandle; {{#chip_client_clusters includeAll=true}} @implementation MTRBaseCluster{{asUpperCamelCase name}} -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -34,7 +34,9 @@ using chip::SessionHandle; } _device = device; - _endpoint = endpoint; + {{!TODO consider range-checking the incoming number to make sure it's + actually in the uint16_t range}} + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -244,5 +246,16 @@ subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEs @end +@implementation MTRBaseCluster{{asUpperCamelCase name}} (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + {{/chip_client_clusters}} // NOLINTEND(clang-analyzer-cplusplus.NewDeleteLeaks) diff --git a/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt index 69394ad3dffca7..ddb10b6c3feca7 100644 --- a/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRBaseClusters.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import @@ -19,8 +19,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseCluster{{asUpperCamelCase name}} : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; {{#chip_cluster_commands}} - (void){{asLowerCamelCase name}}WithParams:(MTR{{asUpperCamelCase parent.name}}Cluster{{asUpperCamelCase name}}Params * {{#unless (commandHasRequiredField .)}}_Nullable{{/unless}})params completionHandler:({{>command_completion_type command=.}})completionHandler; @@ -61,6 +61,14 @@ subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEs @end +@interface MTRBaseCluster{{asUpperCamelCase name}} (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + {{/chip_client_clusters}} {{#zcl_clusters}} diff --git a/src/darwin/Framework/CHIP/templates/MTRBaseClusters_internal.zapt b/src/darwin/Framework/CHIP/templates/MTRBaseClusters_internal.zapt index 478caebe1e64df..b341bcfe62bff7 100644 --- a/src/darwin/Framework/CHIP/templates/MTRBaseClusters_internal.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRBaseClusters_internal.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import diff --git a/src/darwin/Framework/CHIP/templates/MTRCallbackBridge-src.zapt b/src/darwin/Framework/CHIP/templates/MTRCallbackBridge-src.zapt index def78a0ca68c96..178a1ec356ba20 100644 --- a/src/darwin/Framework/CHIP/templates/MTRCallbackBridge-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRCallbackBridge-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import "MTRCallbackBridge_internal.h" #import "MTRStructsObjc.h" diff --git a/src/darwin/Framework/CHIP/templates/MTRCallbackBridge_internal.zapt b/src/darwin/Framework/CHIP/templates/MTRCallbackBridge_internal.zapt index 738cd4470c1f49..84c1f5686d0722 100644 --- a/src/darwin/Framework/CHIP/templates/MTRCallbackBridge_internal.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRCallbackBridge_internal.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import #import "MTRCallbackBridgeBase_internal.h" diff --git a/src/darwin/Framework/CHIP/templates/MTRClusterConstants.zapt b/src/darwin/Framework/CHIP/templates/MTRClusterConstants.zapt index 9bc6eb8aff9e17..acaf677e83649b 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusterConstants.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusterConstants.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import #import diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt index d4e3087a56f80e..ed34c450dccacd 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import @@ -28,14 +28,16 @@ using chip::SessionHandle; {{#chip_client_clusters includeAll=true}} @implementation MTRCluster{{asUpperCamelCase name}} -- (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + {{!TODO consider range-checking the incoming number to make sure it's + actually in the uint16_t range}} + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -152,5 +154,14 @@ using chip::SessionHandle; @end +@implementation MTRCluster{{asUpperCamelCase name}} (Deprecated) + +- (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + {{/chip_client_clusters}} // NOLINTEND(clang-analyzer-cplusplus.NewDeleteLeaks) diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt index 70e81b4d04b613..ad575e342fad5a 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRCluster{{asUpperCamelCase name}} : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; {{#chip_cluster_commands}} @@ -47,6 +47,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRCluster{{asUpperCamelCase name}} (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + {{/chip_client_clusters}} NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters_internal.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters_internal.zapt index 3936f96264f52b..f809ff41b5666e 100644 --- a/src/darwin/Framework/CHIP/templates/MTRClusters_internal.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRClusters_internal.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import diff --git a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt index 592f99ad40adba..32fd5af6e56875 100644 --- a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import "MTRCommandPayloadsObjc.h" diff --git a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt index 873cd5b739ef0b..52b05b75f23a5e 100644 --- a/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRCommandPayloadsObjc.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import #import diff --git a/src/darwin/Framework/CHIP/templates/MTREventTLVValueDecoder-src.zapt b/src/darwin/Framework/CHIP/templates/MTREventTLVValueDecoder-src.zapt index c976278fa5e871..0d6b38c1a837b4 100644 --- a/src/darwin/Framework/CHIP/templates/MTREventTLVValueDecoder-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTREventTLVValueDecoder-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import "MTREventTLVValueDecoder_Internal.h" diff --git a/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt b/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt index 6332fe4f2af4ec..8d8367af7d271e 100644 --- a/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRStructsObjc-src.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import "MTRStructsObjc.h" diff --git a/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt b/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt index 1c47c6c3c812d2..f3eb87d3679e21 100644 --- a/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt +++ b/src/darwin/Framework/CHIP/templates/MTRStructsObjc.zapt @@ -1,4 +1,4 @@ -{{> header}} +{{> header excludeZapComment=true}} #import diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm index c2b0d8bb9e2580..10ed208a4f3980 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import "MTRAttributeTLVValueDecoder_Internal.h" #import "MTRStructsObjc.h" diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h index 868914154b0cde..7b39048352c718 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import @@ -33,8 +31,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterIdentify : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params completionHandler:(StatusCompletion)completionHandler; - (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params @@ -176,6 +174,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterIdentify (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Groups * Attributes and commands for group configuration and manipulation. @@ -183,8 +189,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterGroups : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params completionHandler: @@ -317,6 +323,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterGroups (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Scenes * Attributes and commands for scene configuration and manipulation. @@ -324,8 +338,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterScenes : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params completionHandler: @@ -557,6 +571,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterScenes (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster On/Off * Attributes and commands for switching devices between 'On' and 'Off' states. @@ -564,8 +586,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterOnOff : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; - (void)offWithCompletionHandler:(StatusCompletion)completionHandler; @@ -771,6 +793,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterOnOff (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster On/off Switch Configuration * Attributes and commands for configuring On/Off switching devices. @@ -778,8 +808,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterOnOffSwitchConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeSwitchTypeWithCompletionHandler:(void (^)( NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -916,6 +946,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterOnOffSwitchConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Level Control * Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' @@ -923,8 +961,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterLevelControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -1313,6 +1351,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterLevelControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Binary Input (Basic) * An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. @@ -1320,8 +1366,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterBinaryInputBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeActiveTextWithCompletionHandler:(void (^)( NSString * _Nullable value, NSError * _Nullable error))completionHandler; @@ -1599,6 +1645,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterBinaryInputBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Descriptor * The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its @@ -1607,8 +1661,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterDescriptor : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeDeviceListWithCompletionHandler:(void (^)( NSArray * _Nullable value, NSError * _Nullable error))completionHandler; @@ -1770,6 +1824,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterDescriptor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Binding * The Binding Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for supporting the binding table. @@ -1777,8 +1839,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterBinding : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; @@ -1896,6 +1958,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterBinding (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Access Control * The Access Control Cluster exposes a data model view of a @@ -1906,8 +1976,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterAccessControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeAclWithParams:(MTRReadParams * _Nullable)params completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; @@ -2102,6 +2172,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterAccessControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Actions * This cluster provides a standardized way for a Node (typically a Bridge, but could be any Node) to expose action information. @@ -2109,8 +2187,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterActions : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -2278,6 +2356,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterActions (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Basic * This cluster provides attributes and events for determining basic information about Nodes, which supports both @@ -2287,8 +2373,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -2749,6 +2835,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster OTA Software Update Provider * Provides an interface for providing OTA software updates @@ -2756,8 +2850,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterOtaSoftwareUpdateProvider : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)queryImageWithParams:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data, @@ -2864,6 +2958,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterOtaSoftwareUpdateProvider (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster OTA Software Update Requestor * Provides an interface for downloading and applying OTA software updates @@ -2871,8 +2973,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterOtaSoftwareUpdateRequestor : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)announceOtaProviderWithParams:(MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -3051,6 +3153,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterOtaSoftwareUpdateRequestor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Localization Configuration * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -3061,8 +3171,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterLocalizationConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeActiveLocaleWithCompletionHandler:(void (^)( NSString * _Nullable value, NSError * _Nullable error))completionHandler; @@ -3200,6 +3310,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterLocalizationConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Time Format Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -3210,8 +3328,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterTimeFormatLocalization : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeHourFormatWithCompletionHandler:(void (^)( NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -3371,6 +3489,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterTimeFormatLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Unit Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -3381,8 +3507,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterUnitLocalization : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeTemperatureUnitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -3502,6 +3628,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterUnitLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Power Source Configuration * This cluster is used to describe the configuration and capabilities of a Device's power system. @@ -3509,8 +3643,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterPowerSourceConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeSourcesWithCompletionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; /** @@ -3623,6 +3757,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterPowerSourceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Power Source * This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the @@ -3631,8 +3773,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterPowerSource : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; /** @@ -4290,6 +4432,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterPowerSource (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster General Commissioning * This cluster is used to manage global aspects of the Commissioning flow. @@ -4297,8 +4447,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterGeneralCommissioning : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params completionHandler:(void (^)(MTRGeneralCommissioningClusterArmFailSafeResponseParams * _Nullable data, @@ -4507,6 +4657,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterGeneralCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Network Commissioning * Functionality to configure, enable, disable network credentials and access on a Matter device. @@ -4514,8 +4672,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterNetworkCommissioning : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params completionHandler:(void (^)(MTRNetworkCommissioningClusterScanNetworksResponseParams * _Nullable data, @@ -4779,6 +4937,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterNetworkCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Diagnostic Logs * The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. @@ -4786,8 +4952,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterDiagnosticLogs : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params completionHandler:(void (^)(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable data, @@ -4889,6 +5055,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterDiagnosticLogs (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster General Diagnostics * The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics @@ -4897,8 +5071,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterGeneralDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -5160,6 +5334,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterGeneralDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Software Diagnostics * The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to @@ -5168,8 +5350,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterSoftwareDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -5344,6 +5526,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterSoftwareDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Thread Network Diagnostics * The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -5352,8 +5542,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterThreadNetworkDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -6596,6 +6786,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterThreadNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster WiFi Network Diagnostics * The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -6604,8 +6802,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterWiFiNetworkDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -6938,6 +7136,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterWiFiNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Ethernet Network Diagnostics * The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a @@ -6946,8 +7152,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterEthernetNetworkDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -7207,6 +7413,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterEthernetNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Bridged Device Basic * This Cluster serves two purposes towards a Node communicating with a Bridge: indicate that the functionality on @@ -7217,8 +7431,8 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRBaseClusterBridgedDeviceBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeVendorNameWithCompletionHandler:(void (^)( NSString * _Nullable value, NSError * _Nullable error))completionHandler; @@ -7580,6 +7794,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRBaseClusterBridgedDeviceBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Switch * This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices. @@ -7592,8 +7814,8 @@ light or a window shade. @interface MTRBaseClusterSwitch : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeNumberOfPositionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -7745,6 +7967,14 @@ light or a window shade. @end +@interface MTRBaseClusterSwitch (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster AdministratorCommissioning * Commands to trigger a Node to allow a new Administrator to commission it. @@ -7752,8 +7982,8 @@ light or a window shade. @interface MTRBaseClusterAdministratorCommissioning : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -7913,6 +8143,14 @@ light or a window shade. @end +@interface MTRBaseClusterAdministratorCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Operational Credentials * This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated @@ -7921,8 +8159,8 @@ light or a window shade. @interface MTRBaseClusterOperationalCredentials : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params completionHandler:(void (^)(MTROperationalCredentialsClusterAttestationResponseParams * _Nullable data, @@ -8150,6 +8388,14 @@ light or a window shade. @end +@interface MTRBaseClusterOperationalCredentials (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Group Key Management * The Group Key Management Cluster is the mechanism by which group keys are managed. @@ -8157,8 +8403,8 @@ light or a window shade. @interface MTRBaseClusterGroupKeyManagement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -8341,6 +8587,14 @@ light or a window shade. @end +@interface MTRBaseClusterGroupKeyManagement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Fixed Label * The Fixed Label Cluster provides a feature for the device to tag an endpoint with zero or more read only @@ -8349,8 +8603,8 @@ labels. @interface MTRBaseClusterFixedLabel : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeLabelListWithCompletionHandler:(void (^)( NSArray * _Nullable value, NSError * _Nullable error))completionHandler; @@ -8464,6 +8718,14 @@ labels. @end +@interface MTRBaseClusterFixedLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster User Label * The User Label Cluster provides a feature to tag an endpoint with zero or more labels. @@ -8471,8 +8733,8 @@ labels. @interface MTRBaseClusterUserLabel : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeLabelListWithCompletionHandler:(void (^)( NSArray * _Nullable value, NSError * _Nullable error))completionHandler; @@ -8590,6 +8852,14 @@ labels. @end +@interface MTRBaseClusterUserLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Boolean State * This cluster provides an interface to a boolean state called StateValue. @@ -8597,8 +8867,8 @@ labels. @interface MTRBaseClusterBooleanState : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeStateValueWithCompletionHandler:(void (^)( NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -8713,6 +8983,14 @@ labels. @end +@interface MTRBaseClusterBooleanState (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Mode Select * Attributes and commands for selecting a mode from a list of supported options. @@ -8720,8 +8998,8 @@ labels. @interface MTRBaseClusterModeSelect : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -8932,6 +9210,14 @@ labels. @end +@interface MTRBaseClusterModeSelect (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Door Lock * An interface to a generic way to secure a door @@ -8939,8 +9225,8 @@ labels. @interface MTRBaseClusterDoorLock : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -9816,6 +10102,14 @@ labels. @end +@interface MTRBaseClusterDoorLock (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Window Covering * Provides an interface for controlling and adjusting automatic window coverings. @@ -9823,8 +10117,8 @@ labels. @interface MTRBaseClusterWindowCovering : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -10350,6 +10644,14 @@ labels. @end +@interface MTRBaseClusterWindowCovering (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Barrier Control * This cluster provides control of a barrier (garage door). @@ -10357,8 +10659,8 @@ labels. @interface MTRBaseClusterBarrierControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -10672,6 +10974,14 @@ labels. @end +@interface MTRBaseClusterBarrierControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Pump Configuration and Control * An interface for configuring and controlling pumps. @@ -10679,8 +10989,8 @@ labels. @interface MTRBaseClusterPumpConfigurationAndControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMaxPressureWithCompletionHandler:(void (^)( NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -11199,6 +11509,14 @@ labels. @end +@interface MTRBaseClusterPumpConfigurationAndControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Thermostat * An interface for configuring and controlling the functionality of a thermostat. @@ -11206,8 +11524,8 @@ labels. @interface MTRBaseClusterThermostat : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -12339,6 +12657,14 @@ labels. @end +@interface MTRBaseClusterThermostat (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Fan Control * An interface for controlling a fan in a heating/cooling system. @@ -12346,8 +12672,8 @@ labels. @interface MTRBaseClusterFanControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeFanModeWithCompletionHandler:(void (^)( NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -12659,6 +12985,14 @@ labels. @end +@interface MTRBaseClusterFanControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Thermostat User Interface Configuration * An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). @@ -12666,8 +13000,8 @@ labels. @interface MTRBaseClusterThermostatUserInterfaceConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeTemperatureDisplayModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -12835,6 +13169,14 @@ labels. @end +@interface MTRBaseClusterThermostatUserInterfaceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Color Control * Attributes and commands for controlling the color properties of a color-capable light. @@ -12842,8 +13184,8 @@ labels. @interface MTRBaseClusterColorControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params completionHandler:(StatusCompletion)completionHandler; - (void)moveHueWithParams:(MTRColorControlClusterMoveHueParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -13942,6 +14284,14 @@ labels. @end +@interface MTRBaseClusterColorControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Ballast Configuration * Attributes and commands for configuring a lighting ballast. @@ -13949,8 +14299,8 @@ labels. @interface MTRBaseClusterBallastConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributePhysicalMinLevelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -14340,6 +14690,14 @@ labels. @end +@interface MTRBaseClusterBallastConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Illuminance Measurement * Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements. @@ -14347,8 +14705,8 @@ labels. @interface MTRBaseClusterIlluminanceMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -14534,6 +14892,14 @@ labels. @end +@interface MTRBaseClusterIlluminanceMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Temperature Measurement * Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. @@ -14541,8 +14907,8 @@ labels. @interface MTRBaseClusterTemperatureMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -14710,6 +15076,14 @@ labels. @end +@interface MTRBaseClusterTemperatureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Pressure Measurement * Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements. @@ -14717,8 +15091,8 @@ labels. @interface MTRBaseClusterPressureMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -14972,6 +15346,14 @@ labels. @end +@interface MTRBaseClusterPressureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Flow Measurement * Attributes and commands for configuring the measurement of flow, and reporting flow measurements. @@ -14979,8 +15361,8 @@ labels. @interface MTRBaseClusterFlowMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -15148,6 +15530,14 @@ labels. @end +@interface MTRBaseClusterFlowMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Relative Humidity Measurement * Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements. @@ -15155,8 +15545,8 @@ labels. @interface MTRBaseClusterRelativeHumidityMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -15324,6 +15714,14 @@ labels. @end +@interface MTRBaseClusterRelativeHumidityMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Occupancy Sensing * Attributes and commands for configuring occupancy sensing, and reporting occupancy status. @@ -15331,8 +15729,8 @@ labels. @interface MTRBaseClusterOccupancySensing : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeOccupancyWithCompletionHandler:(void (^)( NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; @@ -15704,6 +16102,14 @@ labels. @end +@interface MTRBaseClusterOccupancySensing (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Wake on LAN * This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. @@ -15711,8 +16117,8 @@ labels. @interface MTRBaseClusterWakeOnLan : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeMACAddressWithCompletionHandler:(void (^)( NSString * _Nullable value, NSError * _Nullable error))completionHandler; @@ -15827,6 +16233,14 @@ labels. @end +@interface MTRBaseClusterWakeOnLan (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Channel * This cluster provides an interface for controlling the current Channel on a device. @@ -15834,8 +16248,8 @@ labels. @interface MTRBaseClusterChannel : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params completionHandler:(void (^)(MTRChannelClusterChangeChannelResponseParams * _Nullable data, @@ -15993,6 +16407,14 @@ labels. @end +@interface MTRBaseClusterChannel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Target Navigator * This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. @@ -16000,8 +16422,8 @@ labels. @interface MTRBaseClusterTargetNavigator : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params completionHandler:(void (^)(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable data, @@ -16137,6 +16559,14 @@ labels. @end +@interface MTRBaseClusterTargetNavigator (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Media Playback * This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or @@ -16145,8 +16575,8 @@ labels. @interface MTRBaseClusterMediaPlayback : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params completionHandler: @@ -16416,6 +16846,14 @@ labels. @end +@interface MTRBaseClusterMediaPlayback (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Media Input * This cluster provides an interface for controlling the Input Selector on a media device such as a TV. @@ -16423,8 +16861,8 @@ labels. @interface MTRBaseClusterMediaInput : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params completionHandler:(StatusCompletion)completionHandler; - (void)showInputStatusWithParams:(MTRMediaInputClusterShowInputStatusParams * _Nullable)params @@ -16565,6 +17003,14 @@ labels. @end +@interface MTRBaseClusterMediaInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Low Power * This cluster provides an interface for managing low power mode on a device. @@ -16572,8 +17018,8 @@ labels. @interface MTRBaseClusterLowPower : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; - (void)sleepWithCompletionHandler:(StatusCompletion)completionHandler; @@ -16674,6 +17120,14 @@ labels. @end +@interface MTRBaseClusterLowPower (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Keypad Input * This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. @@ -16681,8 +17135,8 @@ labels. @interface MTRBaseClusterKeypadInput : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params completionHandler: @@ -16784,6 +17238,14 @@ labels. @end +@interface MTRBaseClusterKeypadInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Content Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -16791,8 +17253,8 @@ labels. @interface MTRBaseClusterContentLauncher : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params completionHandler:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data, @@ -16938,6 +17400,14 @@ labels. @end +@interface MTRBaseClusterContentLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Audio Output * This cluster provides an interface for controlling the Output on a media device such as a TV. @@ -16945,8 +17415,8 @@ labels. @interface MTRBaseClusterAudioOutput : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params completionHandler:(StatusCompletion)completionHandler; @@ -17083,6 +17553,14 @@ labels. @end +@interface MTRBaseClusterAudioOutput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Application Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -17090,8 +17568,8 @@ labels. @interface MTRBaseClusterApplicationLauncher : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, @@ -17239,6 +17717,14 @@ labels. @end +@interface MTRBaseClusterApplicationLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Application Basic * This cluster provides information about an application running on a TV or media player device which is represented as an @@ -17247,8 +17733,8 @@ labels. @interface MTRBaseClusterApplicationBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)readAttributeVendorNameWithCompletionHandler:(void (^)( NSString * _Nullable value, NSError * _Nullable error))completionHandler; @@ -17484,6 +17970,14 @@ labels. @end +@interface MTRBaseClusterApplicationBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Account Login * This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App @@ -17493,8 +17987,8 @@ labels. @interface MTRBaseClusterAccountLogin : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params completionHandler:(void (^)(MTRAccountLoginClusterGetSetupPINResponseParams * _Nullable data, @@ -17600,6 +18094,14 @@ labels. @end +@interface MTRBaseClusterAccountLogin (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Electrical Measurement * Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need @@ -17608,8 +18110,8 @@ labels. @interface MTRBaseClusterElectricalMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; @@ -20114,6 +20616,14 @@ labels. @end +@interface MTRBaseClusterElectricalMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + /** * Cluster Test Cluster * The Test Cluster is meant to validate the generated code @@ -20121,8 +20631,8 @@ labels. @interface MTRBaseClusterTestCluster : MTRCluster - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device - endpoint:(uint16_t)endpoint - queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; + endpointID:(NSNumber *)endpointID + queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE; - (void)testWithParams:(MTRTestClusterClusterTestParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; - (void)testWithCompletionHandler:(StatusCompletion)completionHandler; @@ -22051,6 +22561,14 @@ labels. @end +@interface MTRBaseClusterTestCluster (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:"); + +@end + typedef NS_ENUM(uint8_t, MTRIdentifyEffectIdentifier) { MTRIdentifyEffectIdentifierBlink = 0x00, MTRIdentifyEffectIdentifierBreathe = 0x01, diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm index 230ce2c6928d0e..b95091924f0ba4 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import "MTRAttributeCacheContainer_Internal.h" @@ -42,7 +40,7 @@ // NOLINTBEGIN(clang-analyzer-cplusplus.NewDeleteLeaks): Linter is unable to locate the delete on these objects. @implementation MTRBaseClusterIdentify -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -50,7 +48,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -660,9 +658,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterIdentify (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterGroups -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -670,7 +677,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -1294,9 +1301,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterGroups (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterScenes -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -1304,7 +1320,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -2523,9 +2539,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterScenes (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterOnOff -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -2533,7 +2558,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -3557,9 +3582,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterOnOff (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterOnOffSwitchConfiguration -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -3567,7 +3601,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -4130,9 +4164,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterOnOffSwitchConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterLevelControl -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -4140,7 +4183,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -6107,9 +6150,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterLevelControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBinaryInputBasic -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -6117,7 +6169,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -7360,9 +7412,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBinaryInputBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterDescriptor -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -7370,7 +7431,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -8027,9 +8088,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterDescriptor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBinding -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -8037,7 +8107,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -8556,9 +8626,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBinding (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterAccessControl -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -8566,7 +8645,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -9500,9 +9579,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterAccessControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterActions -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -9510,7 +9598,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -10477,9 +10565,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterActions (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBasic -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -10487,7 +10584,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -12439,9 +12536,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterOtaSoftwareUpdateProvider -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -12449,7 +12555,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -12953,9 +13059,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterOtaSoftwareUpdateProvider (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterOtaSoftwareUpdateRequestor -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -12963,7 +13078,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -13750,9 +13865,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterOtaSoftwareUpdateRequestor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterLocalizationConfiguration -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -13760,7 +13884,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -14328,9 +14452,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterLocalizationConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterTimeFormatLocalization -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -14338,7 +14471,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -15017,9 +15150,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterTimeFormatLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterUnitLocalization -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -15027,7 +15169,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -15513,9 +15655,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterUnitLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterPowerSourceConfiguration -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -15523,7 +15674,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -15977,9 +16128,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterPowerSourceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterPowerSource -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -15987,7 +16147,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -18618,9 +18778,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterPowerSource (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterGeneralCommissioning -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -18628,7 +18797,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -19510,9 +19679,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterGeneralCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterNetworkCommissioning -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -19520,7 +19698,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -20707,9 +20885,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterNetworkCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterDiagnosticLogs -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -20717,7 +20904,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -21117,9 +21304,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterDiagnosticLogs (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterGeneralDiagnostics -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -21127,7 +21323,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -22189,9 +22385,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterGeneralDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterSoftwareDiagnostics -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -22199,7 +22404,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -22894,9 +23099,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterSoftwareDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterThreadNetworkDiagnostics -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -22904,7 +23118,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -27902,9 +28116,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterThreadNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterWiFiNetworkDiagnostics -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -27912,7 +28135,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -29275,9 +29498,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterWiFiNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterEthernetNetworkDiagnostics -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -29285,7 +29517,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -30349,9 +30581,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterEthernetNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBridgedDeviceBasic -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -30359,7 +30600,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -31847,9 +32088,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBridgedDeviceBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterSwitch -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -31857,7 +32107,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -32444,9 +32694,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterSwitch (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterAdministratorCommissioning -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -32454,7 +32713,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -33165,9 +33424,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterAdministratorCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterOperationalCredentials -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -33175,7 +33443,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -34214,9 +34482,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterOperationalCredentials (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterGroupKeyManagement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -34224,7 +34501,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -35118,9 +35395,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterGroupKeyManagement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterFixedLabel -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -35128,7 +35414,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -35571,9 +35857,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterFixedLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterUserLabel -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -35581,7 +35876,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -36084,9 +36379,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterUserLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBooleanState -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -36094,7 +36398,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -36536,9 +36840,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBooleanState (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterModeSelect -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -36546,7 +36859,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -37464,9 +37777,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterModeSelect (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterDoorLock -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -37474,7 +37796,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -41766,9 +42088,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterDoorLock (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterWindowCovering -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -41776,7 +42107,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -44002,9 +44333,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterWindowCovering (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBarrierControl -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -44012,7 +44352,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -45401,9 +45741,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBarrierControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterPumpConfigurationAndControl -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -45411,7 +45760,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -47650,9 +47999,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterPumpConfigurationAndControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterThermostat -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -47660,7 +48018,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -52816,9 +53174,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterThermostat (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterFanControl -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -52826,7 +53193,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -54223,9 +54590,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterFanControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterThermostatUserInterfaceConfiguration -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -54233,7 +54609,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -54965,9 +55341,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterThermostatUserInterfaceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterColorControl -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -54975,7 +55360,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -60193,9 +60578,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterColorControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterBallastConfiguration -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -60203,7 +60597,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -62002,9 +62396,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterBallastConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterIlluminanceMeasurement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -62012,7 +62415,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -62749,9 +63152,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterIlluminanceMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterTemperatureMeasurement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -62759,7 +63171,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -63423,9 +63835,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterTemperatureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterPressureMeasurement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -63433,7 +63854,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -64455,9 +64876,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterPressureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterFlowMeasurement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -64465,7 +64895,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -65127,9 +65557,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterFlowMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterRelativeHumidityMeasurement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -65137,7 +65576,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -65810,9 +66249,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterRelativeHumidityMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterOccupancySensing -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -65820,7 +66268,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -67439,9 +67887,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterOccupancySensing (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterWakeOnLan -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -67449,7 +67906,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -67892,9 +68349,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterWakeOnLan (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterChannel -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -67902,7 +68368,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -68572,9 +69038,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterChannel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterTargetNavigator -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -68582,7 +69057,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -69128,9 +69603,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterTargetNavigator (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterMediaPlayback -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -69138,7 +69622,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -70323,9 +70807,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterMediaPlayback (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterMediaInput -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -70333,7 +70826,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -70964,9 +71457,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterMediaInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterLowPower -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -70974,7 +71476,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -71376,9 +71878,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterLowPower (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterKeypadInput -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -71386,7 +71897,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -71783,9 +72294,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterKeypadInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterContentLauncher -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -71793,7 +72313,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -72557,9 +73077,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterContentLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterAudioOutput -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -72567,7 +73096,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -73140,9 +73669,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterAudioOutput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterApplicationLauncher -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -73150,7 +73688,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -73803,9 +74341,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterApplicationLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterApplicationBasic -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -73813,7 +74360,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -74766,9 +75313,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterApplicationBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterAccountLogin -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -74776,7 +75332,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -75241,9 +75797,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterAccountLogin (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterElectricalMeasurement -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -75251,7 +75816,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -85268,9 +85833,18 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterElectricalMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRBaseClusterTestCluster -- (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRBaseDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { @@ -85278,7 +85852,7 @@ - (instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoi } _device = device; - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; } return self; } @@ -96539,4 +97113,13 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su @end +@implementation MTRBaseClusterTestCluster (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + // NOLINTEND(clang-analyzer-cplusplus.NewDeleteLeaks) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters_internal.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters_internal.h index 359f771f5b8910..00a28a0dff521a 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters_internal.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters_internal.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import "MTRBaseClusters.h" diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm index 25001f25f1f2a5..e6a5ca8c3b1c6f 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import "MTRCallbackBridge_internal.h" #import "MTRCommandPayloadsObjc.h" #import "MTRStructsObjc.h" diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h index ce45a0b680191a..0b23da80a62593 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import "MTRCallbackBridgeBase_internal.h" #import diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h index 9e99911dfde965..7fd7b4d7d7b91b 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h index 72d973ca51982f..184ddb0ab6ab4a 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import @@ -35,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterIdentify : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params @@ -71,6 +69,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterIdentify (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Groups * Attributes and commands for group configuration and manipulation. @@ -78,7 +84,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterGroups : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params @@ -130,6 +136,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterGroups (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Scenes * Attributes and commands for scene configuration and manipulation. @@ -137,7 +151,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterScenes : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params @@ -217,6 +231,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterScenes (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster On/Off * Attributes and commands for switching devices between 'On' and 'Off' states. @@ -224,7 +246,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterOnOff : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params @@ -304,6 +326,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterOnOff (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster On/off Switch Configuration * Attributes and commands for configuring On/Off switching devices. @@ -311,7 +341,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterOnOffSwitchConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeSwitchTypeWithParams:(MTRReadParams * _Nullable)params; @@ -338,6 +368,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterOnOffSwitchConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Level Control * Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' @@ -345,7 +383,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterLevelControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params @@ -463,6 +501,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterLevelControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Binary Input (Basic) * An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. @@ -470,7 +516,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterBinaryInputBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeActiveTextWithParams:(MTRReadParams * _Nullable)params; @@ -536,6 +582,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterBinaryInputBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Descriptor * The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its @@ -544,7 +598,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterDescriptor : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeDeviceListWithParams:(MTRReadParams * _Nullable)params; @@ -570,6 +624,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterDescriptor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Binding * The Binding Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for supporting the binding table. @@ -577,7 +639,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterBinding : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params; @@ -602,6 +664,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterBinding (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Access Control * The Access Control Cluster exposes a data model view of a @@ -612,7 +682,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterAccessControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeAclWithParams:(MTRReadParams * _Nullable)params; @@ -650,6 +720,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterAccessControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Actions * This cluster provides a standardized way for a Node (typically a Bridge, but could be any Node) to expose action information. @@ -657,7 +735,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterActions : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params @@ -730,6 +808,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterActions (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Basic * This cluster provides attributes and events for determining basic information about Nodes, which supports both @@ -739,7 +825,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params @@ -820,6 +906,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster OTA Software Update Provider * Provides an interface for providing OTA software updates @@ -827,7 +921,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterOtaSoftwareUpdateProvider : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)queryImageWithParams:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params @@ -860,6 +954,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterOtaSoftwareUpdateProvider (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster OTA Software Update Requestor * Provides an interface for downloading and applying OTA software updates @@ -867,7 +969,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterOtaSoftwareUpdateRequestor : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)announceOtaProviderWithParams:(MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params @@ -903,6 +1005,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterOtaSoftwareUpdateRequestor (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Localization Configuration * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -913,7 +1023,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterLocalizationConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeActiveLocaleWithParams:(MTRReadParams * _Nullable)params; @@ -940,6 +1050,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterLocalizationConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Time Format Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -950,7 +1068,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterTimeFormatLocalization : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeHourFormatWithParams:(MTRReadParams * _Nullable)params; @@ -984,6 +1102,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterTimeFormatLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Unit Localization * Nodes should be expected to be deployed to any and all regions of the world. These global regions @@ -994,7 +1120,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterUnitLocalization : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeTemperatureUnitWithParams:(MTRReadParams * _Nullable)params; @@ -1019,6 +1145,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterUnitLocalization (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Power Source Configuration * This cluster is used to describe the configuration and capabilities of a Device's power system. @@ -1026,7 +1160,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterPowerSourceConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeSourcesWithParams:(MTRReadParams * _Nullable)params; @@ -1046,6 +1180,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterPowerSourceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Power Source * This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the @@ -1054,7 +1196,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterPowerSource : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeStatusWithParams:(MTRReadParams * _Nullable)params; @@ -1134,6 +1276,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterPowerSource (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster General Commissioning * This cluster is used to manage global aspects of the Commissioning flow. @@ -1141,7 +1291,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterGeneralCommissioning : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params @@ -1196,6 +1346,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterGeneralCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Network Commissioning * Functionality to configure, enable, disable network credentials and access on a Matter device. @@ -1203,7 +1361,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterNetworkCommissioning : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params @@ -1273,6 +1431,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterNetworkCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Diagnostic Logs * The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. @@ -1280,7 +1446,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterDiagnosticLogs : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params @@ -1304,6 +1470,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterDiagnosticLogs (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster General Diagnostics * The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics @@ -1312,7 +1486,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterGeneralDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params @@ -1353,6 +1527,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterGeneralDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Software Diagnostics * The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to @@ -1361,7 +1543,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterSoftwareDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params @@ -1395,6 +1577,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterSoftwareDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Thread Network Diagnostics * The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -1403,7 +1593,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterThreadNetworkDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params @@ -1555,6 +1745,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterThreadNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster WiFi Network Diagnostics * The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node @@ -1563,7 +1761,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterWiFiNetworkDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params @@ -1615,6 +1813,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterWiFiNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Ethernet Network Diagnostics * The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a @@ -1623,7 +1829,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterEthernetNetworkDiagnostics : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params @@ -1667,6 +1873,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterEthernetNetworkDiagnostics (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Bridged Device Basic * This Cluster serves two purposes towards a Node communicating with a Bridge: indicate that the functionality on @@ -1677,7 +1891,7 @@ NS_ASSUME_NONNULL_BEGIN @interface MTRClusterBridgedDeviceBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params; @@ -1730,6 +1944,14 @@ NS_ASSUME_NONNULL_BEGIN @end +@interface MTRClusterBridgedDeviceBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Switch * This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices. @@ -1742,7 +1964,7 @@ light or a window shade. @interface MTRClusterSwitch : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeNumberOfPositionsWithParams:(MTRReadParams * _Nullable)params; @@ -1766,6 +1988,14 @@ light or a window shade. @end +@interface MTRClusterSwitch (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster AdministratorCommissioning * Commands to trigger a Node to allow a new Administrator to commission it. @@ -1773,7 +2003,7 @@ light or a window shade. @interface MTRClusterAdministratorCommissioning : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params @@ -1813,6 +2043,14 @@ light or a window shade. @end +@interface MTRClusterAdministratorCommissioning (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Operational Credentials * This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated @@ -1821,7 +2059,7 @@ light or a window shade. @interface MTRClusterOperationalCredentials : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params @@ -1891,6 +2129,14 @@ light or a window shade. @end +@interface MTRClusterOperationalCredentials (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Group Key Management * The Group Key Management Cluster is the mechanism by which group keys are managed. @@ -1898,7 +2144,7 @@ light or a window shade. @interface MTRClusterGroupKeyManagement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params @@ -1948,6 +2194,14 @@ light or a window shade. @end +@interface MTRClusterGroupKeyManagement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Fixed Label * The Fixed Label Cluster provides a feature for the device to tag an endpoint with zero or more read only @@ -1956,7 +2210,7 @@ labels. @interface MTRClusterFixedLabel : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params; @@ -1976,6 +2230,14 @@ labels. @end +@interface MTRClusterFixedLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster User Label * The User Label Cluster provides a feature to tag an endpoint with zero or more labels. @@ -1983,7 +2245,7 @@ labels. @interface MTRClusterUserLabel : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeLabelListWithParams:(MTRReadParams * _Nullable)params; @@ -2008,6 +2270,14 @@ labels. @end +@interface MTRClusterUserLabel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Boolean State * This cluster provides an interface to a boolean state called StateValue. @@ -2015,7 +2285,7 @@ labels. @interface MTRClusterBooleanState : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeStateValueWithParams:(MTRReadParams * _Nullable)params; @@ -2035,6 +2305,14 @@ labels. @end +@interface MTRClusterBooleanState (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Mode Select * Attributes and commands for selecting a mode from a list of supported options. @@ -2042,7 +2320,7 @@ labels. @interface MTRClusterModeSelect : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params @@ -2087,6 +2365,14 @@ labels. @end +@interface MTRClusterModeSelect (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Door Lock * An interface to a generic way to secure a door @@ -2094,7 +2380,7 @@ labels. @interface MTRClusterDoorLock : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params @@ -2353,6 +2639,14 @@ labels. @end +@interface MTRClusterDoorLock (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Window Covering * Provides an interface for controlling and adjusting automatic window coverings. @@ -2360,7 +2654,7 @@ labels. @interface MTRClusterWindowCovering : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params @@ -2465,6 +2759,14 @@ labels. @end +@interface MTRClusterWindowCovering (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Barrier Control * This cluster provides control of a barrier (garage door). @@ -2472,7 +2774,7 @@ labels. @interface MTRClusterBarrierControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params @@ -2552,6 +2854,14 @@ labels. @end +@interface MTRClusterBarrierControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Pump Configuration and Control * An interface for configuring and controlling pumps. @@ -2559,7 +2869,7 @@ labels. @interface MTRClusterPumpConfigurationAndControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMaxPressureWithParams:(MTRReadParams * _Nullable)params; @@ -2643,6 +2953,14 @@ labels. @end +@interface MTRClusterPumpConfigurationAndControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Thermostat * An interface for configuring and controlling the functionality of a thermostat. @@ -2650,7 +2968,7 @@ labels. @interface MTRClusterThermostat : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params @@ -2922,6 +3240,14 @@ labels. @end +@interface MTRClusterThermostat (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Fan Control * An interface for controlling a fan in a heating/cooling system. @@ -2929,7 +3255,7 @@ labels. @interface MTRClusterFanControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeFanModeWithParams:(MTRReadParams * _Nullable)params; @@ -2999,6 +3325,14 @@ labels. @end +@interface MTRClusterFanControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Thermostat User Interface Configuration * An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). @@ -3006,7 +3340,7 @@ labels. @interface MTRClusterThermostatUserInterfaceConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeTemperatureDisplayModeWithParams:(MTRReadParams * _Nullable)params; @@ -3045,6 +3379,14 @@ labels. @end +@interface MTRClusterThermostatUserInterfaceConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Color Control * Attributes and commands for controlling the color properties of a color-capable light. @@ -3052,7 +3394,7 @@ labels. @interface MTRClusterColorControl : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params @@ -3316,6 +3658,14 @@ labels. @end +@interface MTRClusterColorControl (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Ballast Configuration * Attributes and commands for configuring a lighting ballast. @@ -3323,7 +3673,7 @@ labels. @interface MTRClusterBallastConfiguration : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributePhysicalMinLevelWithParams:(MTRReadParams * _Nullable)params; @@ -3419,6 +3769,14 @@ labels. @end +@interface MTRClusterBallastConfiguration (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Illuminance Measurement * Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements. @@ -3426,7 +3784,7 @@ labels. @interface MTRClusterIlluminanceMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params; @@ -3454,6 +3812,14 @@ labels. @end +@interface MTRClusterIlluminanceMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Temperature Measurement * Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. @@ -3461,7 +3827,7 @@ labels. @interface MTRClusterTemperatureMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params; @@ -3487,6 +3853,14 @@ labels. @end +@interface MTRClusterTemperatureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Pressure Measurement * Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements. @@ -3494,7 +3868,7 @@ labels. @interface MTRClusterPressureMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params; @@ -3530,6 +3904,14 @@ labels. @end +@interface MTRClusterPressureMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Flow Measurement * Attributes and commands for configuring the measurement of flow, and reporting flow measurements. @@ -3537,7 +3919,7 @@ labels. @interface MTRClusterFlowMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params; @@ -3563,6 +3945,14 @@ labels. @end +@interface MTRClusterFlowMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Relative Humidity Measurement * Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements. @@ -3570,7 +3960,7 @@ labels. @interface MTRClusterRelativeHumidityMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMeasuredValueWithParams:(MTRReadParams * _Nullable)params; @@ -3596,6 +3986,14 @@ labels. @end +@interface MTRClusterRelativeHumidityMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Occupancy Sensing * Attributes and commands for configuring occupancy sensing, and reporting occupancy status. @@ -3603,7 +4001,7 @@ labels. @interface MTRClusterOccupancySensing : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeOccupancyWithParams:(MTRReadParams * _Nullable)params; @@ -3691,6 +4089,14 @@ labels. @end +@interface MTRClusterOccupancySensing (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Wake on LAN * This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. @@ -3698,7 +4104,7 @@ labels. @interface MTRClusterWakeOnLan : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeMACAddressWithParams:(MTRReadParams * _Nullable)params; @@ -3718,6 +4124,14 @@ labels. @end +@interface MTRClusterWakeOnLan (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Channel * This cluster provides an interface for controlling the current Channel on a device. @@ -3725,7 +4139,7 @@ labels. @interface MTRClusterChannel : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params @@ -3763,6 +4177,14 @@ labels. @end +@interface MTRClusterChannel (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Target Navigator * This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. @@ -3770,7 +4192,7 @@ labels. @interface MTRClusterTargetNavigator : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params @@ -3798,6 +4220,14 @@ labels. @end +@interface MTRClusterTargetNavigator (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Media Playback * This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or @@ -3806,7 +4236,7 @@ labels. @interface MTRClusterMediaPlayback : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params @@ -3926,6 +4356,14 @@ labels. @end +@interface MTRClusterMediaPlayback (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Media Input * This cluster provides an interface for controlling the Input Selector on a media device such as a TV. @@ -3933,7 +4371,7 @@ labels. @interface MTRClusterMediaInput : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params @@ -3978,6 +4416,14 @@ labels. @end +@interface MTRClusterMediaInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Low Power * This cluster provides an interface for managing low power mode on a device. @@ -3985,7 +4431,7 @@ labels. @interface MTRClusterLowPower : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params @@ -4011,6 +4457,14 @@ labels. @end +@interface MTRClusterLowPower (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Keypad Input * This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. @@ -4018,7 +4472,7 @@ labels. @interface MTRClusterKeypadInput : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params @@ -4042,6 +4496,14 @@ labels. @end +@interface MTRClusterKeypadInput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Content Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -4049,7 +4511,7 @@ labels. @interface MTRClusterContentLauncher : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params @@ -4087,6 +4549,14 @@ labels. @end +@interface MTRClusterContentLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Audio Output * This cluster provides an interface for controlling the Output on a media device such as a TV. @@ -4094,7 +4564,7 @@ labels. @interface MTRClusterAudioOutput : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params @@ -4125,6 +4595,14 @@ labels. @end +@interface MTRClusterAudioOutput (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Application Launcher * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. @@ -4132,7 +4610,7 @@ labels. @interface MTRClusterApplicationLauncher : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params @@ -4175,6 +4653,14 @@ labels. @end +@interface MTRClusterApplicationLauncher (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Application Basic * This cluster provides information about an application running on a TV or media player device which is represented as an @@ -4183,7 +4669,7 @@ labels. @interface MTRClusterApplicationBasic : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (NSDictionary *)readAttributeVendorNameWithParams:(MTRReadParams * _Nullable)params; @@ -4217,6 +4703,14 @@ labels. @end +@interface MTRClusterApplicationBasic (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Account Login * This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App @@ -4226,7 +4720,7 @@ labels. @interface MTRClusterAccountLogin : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params @@ -4261,6 +4755,14 @@ labels. @end +@interface MTRClusterAccountLogin (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Electrical Measurement * Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need @@ -4269,7 +4771,7 @@ labels. @interface MTRClusterElectricalMeasurement : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params @@ -4595,6 +5097,14 @@ labels. @end +@interface MTRClusterElectricalMeasurement (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + /** * Cluster Test Cluster * The Test Cluster is meant to validate the generated code @@ -4602,7 +5112,7 @@ labels. @interface MTRClusterTestCluster : MTRCluster - (nullable instancetype)initWithDevice:(MTRDevice *)device - endpoint:(uint16_t)endpoint + endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; - (void)testWithParams:(MTRTestClusterClusterTestParams * _Nullable)params @@ -5329,4 +5839,12 @@ labels. @end +@interface MTRClusterTestCluster (Deprecated) + +- (nullable instancetype)initWithDevice:(MTRDevice *)device + endpoint:(uint16_t)endpoint + queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpoindID:queue:"); + +@end + NS_ASSUME_NONNULL_END diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm index f83075735e9931..7f9b507ca09fd1 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import "MTRAsyncCallbackWorkQueue.h" @@ -44,14 +42,14 @@ // NOLINTBEGIN(clang-analyzer-cplusplus.NewDeleteLeaks): Linter is unable to locate the delete on these objects. @implementation MTRClusterIdentify -- (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -237,16 +235,25 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSDictionary *)data @end -@implementation MTRClusterGroups +@implementation MTRClusterIdentify (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterGroups + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -617,16 +624,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterScenes +@implementation MTRClusterGroups (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterScenes + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -1358,16 +1374,25 @@ new MTRScenesClusterCopySceneResponseCallbackBridge(self.callbackQueue, baseDevi @end -@implementation MTRClusterOnOff +@implementation MTRClusterScenes (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterOnOff + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -1850,16 +1875,25 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSDictionary *)data @end -@implementation MTRClusterOnOffSwitchConfiguration +@implementation MTRClusterOnOff (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterOnOffSwitchConfiguration + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -1942,16 +1976,25 @@ - (void)writeAttributeSwitchActionsWithValue:(NSDictionary *)dat @end -@implementation MTRClusterLevelControl +@implementation MTRClusterOnOffSwitchConfiguration (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterLevelControl + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -2750,16 +2793,25 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSDictionary @end -@implementation MTRClusterBinaryInputBasic +@implementation MTRClusterLevelControl (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterBinaryInputBasic + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -2993,16 +3045,25 @@ - (void)writeAttributeReliabilityWithValue:(NSDictionary *)dataV @end -@implementation MTRClusterDescriptor +@implementation MTRClusterBinaryInputBasic (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterDescriptor + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -3082,16 +3143,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end -@implementation MTRClusterBinding +@implementation MTRClusterDescriptor (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterBinding + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -3166,16 +3236,25 @@ - (void)writeAttributeBindingWithValue:(NSDictionary *)dataValue @end -@implementation MTRClusterAccessControl +@implementation MTRClusterBinding (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterAccessControl + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -3301,16 +3380,25 @@ - (void)writeAttributeExtensionWithValue:(NSDictionary *)dataVal @end -@implementation MTRClusterActions +@implementation MTRClusterAccessControl (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterActions + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -4035,16 +4123,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterBasic +@implementation MTRClusterActions (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterBasic + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -4367,16 +4464,25 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSDictionary @end -@implementation MTRClusterOtaSoftwareUpdateProvider +@implementation MTRClusterBasic (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterOtaSoftwareUpdateProvider + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -4610,16 +4716,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterOtaSoftwareUpdateRequestor +@implementation MTRClusterOtaSoftwareUpdateProvider (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterOtaSoftwareUpdateRequestor + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -4777,16 +4892,25 @@ - (void)writeAttributeDefaultOtaProvidersWithValue:(NSDictionary @end -@implementation MTRClusterLocalizationConfiguration +@implementation MTRClusterOtaSoftwareUpdateRequestor (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterLocalizationConfiguration + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -4869,16 +4993,25 @@ - (void)writeAttributeActiveLocaleWithValue:(NSDictionary *)data @end -@implementation MTRClusterTimeFormatLocalization +@implementation MTRClusterLocalizationConfiguration (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterTimeFormatLocalization + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -4988,16 +5121,25 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSDictionary @end -@implementation MTRClusterUnitLocalization +@implementation MTRClusterTimeFormatLocalization (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterUnitLocalization + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -5072,16 +5214,25 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSDictionary *)d @end -@implementation MTRClusterPowerSourceConfiguration +@implementation MTRClusterUnitLocalization (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterPowerSourceConfiguration + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -5137,16 +5288,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end -@implementation MTRClusterPowerSource +@implementation MTRClusterPowerSourceConfiguration (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterPowerSource + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -5442,16 +5602,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end -@implementation MTRClusterGeneralCommissioning +@implementation MTRClusterPowerSource (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterGeneralCommissioning + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -5715,16 +5884,25 @@ - (void)writeAttributeBreadcrumbWithValue:(NSDictionary *)dataVa @end -@implementation MTRClusterNetworkCommissioning +@implementation MTRClusterGeneralCommissioning (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterNetworkCommissioning + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -6167,16 +6345,25 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSDictionary *) @end -@implementation MTRClusterDiagnosticLogs +@implementation MTRClusterNetworkCommissioning (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterDiagnosticLogs + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -6273,16 +6460,25 @@ new MTRDiagnosticLogsClusterRetrieveLogsResponseCallbackBridge(self.callbackQueu @end -@implementation MTRClusterGeneralDiagnostics +@implementation MTRClusterDiagnosticLogs (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterGeneralDiagnostics + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -6453,16 +6649,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterSoftwareDiagnostics +@implementation MTRClusterGeneralDiagnostics (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterSoftwareDiagnostics + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -6600,16 +6805,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterThreadNetworkDiagnostics +@implementation MTRClusterSoftwareDiagnostics (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterThreadNetworkDiagnostics + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -7220,16 +7434,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterWiFiNetworkDiagnostics +@implementation MTRClusterThreadNetworkDiagnostics (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterWiFiNetworkDiagnostics + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -7439,16 +7662,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterEthernetNetworkDiagnostics +@implementation MTRClusterWiFiNetworkDiagnostics (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterEthernetNetworkDiagnostics + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -7626,16 +7858,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterBridgedDeviceBasic +@implementation MTRClusterEthernetNetworkDiagnostics (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterBridgedDeviceBasic + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -7822,16 +8063,25 @@ - (void)writeAttributeNodeLabelWithValue:(NSDictionary *)dataVal @end -@implementation MTRClusterSwitch +@implementation MTRClusterBridgedDeviceBasic (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterSwitch + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -7903,16 +8153,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end -@implementation MTRClusterAdministratorCommissioning +@implementation MTRClusterSwitch (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterAdministratorCommissioning + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -8155,16 +8414,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterOperationalCredentials +@implementation MTRClusterAdministratorCommissioning (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterOperationalCredentials + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -8650,16 +8918,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterGroupKeyManagement +@implementation MTRClusterOperationalCredentials (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterGroupKeyManagement + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -9012,16 +9289,25 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSDictionary *)dataV @end -@implementation MTRClusterFixedLabel +@implementation MTRClusterGroupKeyManagement (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterFixedLabel + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -9077,16 +9363,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end +@implementation MTRClusterFixedLabel (Deprecated) + +- (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + @implementation MTRClusterUserLabel -- (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -9161,16 +9456,25 @@ - (void)writeAttributeLabelListWithValue:(NSDictionary *)dataVal @end -@implementation MTRClusterBooleanState +@implementation MTRClusterUserLabel (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterBooleanState + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -9226,16 +9530,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end -@implementation MTRClusterModeSelect +@implementation MTRClusterBooleanState (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterModeSelect + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -9419,16 +9732,25 @@ - (void)writeAttributeOnModeWithValue:(NSDictionary *)dataValueD @end -@implementation MTRClusterDoorLock +@implementation MTRClusterModeSelect (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterDoorLock + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -11120,16 +11442,25 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSDictionary @end -@implementation MTRClusterWindowCovering +@implementation MTRClusterDoorLock (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterWindowCovering + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -11746,16 +12077,25 @@ - (void)writeAttributeModeWithValue:(NSDictionary *)dataValueDic @end -@implementation MTRClusterBarrierControl +@implementation MTRClusterWindowCovering (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterBarrierControl + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -12109,16 +12449,25 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSDictionary @end -@implementation MTRClusterPumpConfigurationAndControl +@implementation MTRClusterBarrierControl (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterPumpConfigurationAndControl + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -12428,16 +12777,25 @@ - (void)writeAttributeControlModeWithValue:(NSDictionary *)dataV @end -@implementation MTRClusterThermostat +@implementation MTRClusterPumpConfigurationAndControl (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterThermostat + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -13656,16 +14014,25 @@ - (void)writeAttributeACCapacityformatWithValue:(NSDictionary *) @end -@implementation MTRClusterFanControl +@implementation MTRClusterThermostat (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterFanControl + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -13915,16 +14282,25 @@ - (void)writeAttributeWindSettingWithValue:(NSDictionary *)dataV @end -@implementation MTRClusterThermostatUserInterfaceConfiguration +@implementation MTRClusterFanControl (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterThermostatUserInterfaceConfiguration + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -14060,16 +14436,25 @@ - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSDictionary *)dataVa @end -@implementation MTRClusterApplicationBasic +@implementation MTRClusterApplicationLauncher (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterApplicationBasic + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -19506,16 +20053,25 @@ - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint q @end -@implementation MTRClusterAccountLogin +@implementation MTRClusterApplicationBasic (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterAccountLogin + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -19727,16 +20283,25 @@ new MTRCommandSuccessCallbackBridge( @end -@implementation MTRClusterElectricalMeasurement +@implementation MTRClusterAccountLogin (Deprecated) - (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + +@implementation MTRClusterElectricalMeasurement + +- (instancetype)initWithDevice:(MTRDevice *)device endpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue { if (self = [super initWithQueue:queue]) { if (device == nil) { return nil; } - _endpoint = endpoint; + _endpoint = [endpointID unsignedShortValue]; _device = device; } return self; @@ -21082,16 +21647,25 @@ - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSDictionary *)da @end +@implementation MTRClusterTestCluster (Deprecated) + +- (instancetype)initWithDevice:(MTRDevice *)device endpoint:(uint16_t)endpoint queue:(dispatch_queue_t)queue +{ + return [self initWithDevice:device endpointID:@(endpoint) queue:queue]; +} + +@end + // NOLINTEND(clang-analyzer-cplusplus.NewDeleteLeaks) diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClustersObjc_internal.h b/src/darwin/Framework/CHIP/zap-generated/MTRClustersObjc_internal.h deleted file mode 100644 index 8cc50fd91dcb27..00000000000000 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClustersObjc_internal.h +++ /dev/null @@ -1,406 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#import - -#import "MTRDevice.h" - -@interface MTRIdentify () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::IdentifyCluster * cppCluster; -- (chip::Controller::IdentifyCluster **)cppClusterSlot; -@end - -@interface MTRGroups () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::GroupsCluster * cppCluster; -- (chip::Controller::GroupsCluster **)cppClusterSlot; -@end - -@interface MTRScenes () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ScenesCluster * cppCluster; -- (chip::Controller::ScenesCluster **)cppClusterSlot; -@end - -@interface MTROnOff () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::OnOffCluster * cppCluster; -- (chip::Controller::OnOffCluster **)cppClusterSlot; -@end - -@interface MTROnOffSwitchConfiguration () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::OnOffSwitchConfigurationCluster * cppCluster; -- (chip::Controller::OnOffSwitchConfigurationCluster **)cppClusterSlot; -@end - -@interface MTRLevelControl () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::LevelControlCluster * cppCluster; -- (chip::Controller::LevelControlCluster **)cppClusterSlot; -@end - -@interface MTRBinaryInputBasic () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::BinaryInputBasicCluster * cppCluster; -- (chip::Controller::BinaryInputBasicCluster **)cppClusterSlot; -@end - -@interface MTRDescriptor () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::DescriptorCluster * cppCluster; -- (chip::Controller::DescriptorCluster **)cppClusterSlot; -@end - -@interface MTRBinding () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::BindingCluster * cppCluster; -- (chip::Controller::BindingCluster **)cppClusterSlot; -@end - -@interface MTRAccessControl () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::AccessControlCluster * cppCluster; -- (chip::Controller::AccessControlCluster **)cppClusterSlot; -@end - -@interface MTRActions () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ActionsCluster * cppCluster; -- (chip::Controller::ActionsCluster **)cppClusterSlot; -@end - -@interface MTRBasic () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::BasicCluster * cppCluster; -- (chip::Controller::BasicCluster **)cppClusterSlot; -@end - -@interface MTROtaSoftwareUpdateProvider () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::OtaSoftwareUpdateProviderCluster * cppCluster; -- (chip::Controller::OtaSoftwareUpdateProviderCluster **)cppClusterSlot; -@end - -@interface MTROtaSoftwareUpdateRequestor () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::OtaSoftwareUpdateRequestorCluster * cppCluster; -- (chip::Controller::OtaSoftwareUpdateRequestorCluster **)cppClusterSlot; -@end - -@interface MTRLocalizationConfiguration () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::LocalizationConfigurationCluster * cppCluster; -- (chip::Controller::LocalizationConfigurationCluster **)cppClusterSlot; -@end - -@interface MTRTimeFormatLocalization () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::TimeFormatLocalizationCluster * cppCluster; -- (chip::Controller::TimeFormatLocalizationCluster **)cppClusterSlot; -@end - -@interface MTRUnitLocalization () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::UnitLocalizationCluster * cppCluster; -- (chip::Controller::UnitLocalizationCluster **)cppClusterSlot; -@end - -@interface MTRPowerSourceConfiguration () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::PowerSourceConfigurationCluster * cppCluster; -- (chip::Controller::PowerSourceConfigurationCluster **)cppClusterSlot; -@end - -@interface MTRPowerSource () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::PowerSourceCluster * cppCluster; -- (chip::Controller::PowerSourceCluster **)cppClusterSlot; -@end - -@interface MTRGeneralCommissioning () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::GeneralCommissioningCluster * cppCluster; -- (chip::Controller::GeneralCommissioningCluster **)cppClusterSlot; -@end - -@interface MTRNetworkCommissioning () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::NetworkCommissioningCluster * cppCluster; -- (chip::Controller::NetworkCommissioningCluster **)cppClusterSlot; -@end - -@interface MTRDiagnosticLogs () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::DiagnosticLogsCluster * cppCluster; -- (chip::Controller::DiagnosticLogsCluster **)cppClusterSlot; -@end - -@interface MTRGeneralDiagnostics () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::GeneralDiagnosticsCluster * cppCluster; -- (chip::Controller::GeneralDiagnosticsCluster **)cppClusterSlot; -@end - -@interface MTRSoftwareDiagnostics () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::SoftwareDiagnosticsCluster * cppCluster; -- (chip::Controller::SoftwareDiagnosticsCluster **)cppClusterSlot; -@end - -@interface MTRThreadNetworkDiagnostics () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ThreadNetworkDiagnosticsCluster * cppCluster; -- (chip::Controller::ThreadNetworkDiagnosticsCluster **)cppClusterSlot; -@end - -@interface MTRWiFiNetworkDiagnostics () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::WiFiNetworkDiagnosticsCluster * cppCluster; -- (chip::Controller::WiFiNetworkDiagnosticsCluster **)cppClusterSlot; -@end - -@interface MTREthernetNetworkDiagnostics () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::EthernetNetworkDiagnosticsCluster * cppCluster; -- (chip::Controller::EthernetNetworkDiagnosticsCluster **)cppClusterSlot; -@end - -@interface MTRBridgedDeviceBasic () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::BridgedDeviceBasicCluster * cppCluster; -- (chip::Controller::BridgedDeviceBasicCluster **)cppClusterSlot; -@end - -@interface MTRSwitch () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::SwitchCluster * cppCluster; -- (chip::Controller::SwitchCluster **)cppClusterSlot; -@end - -@interface MTRAdministratorCommissioning () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::AdministratorCommissioningCluster * cppCluster; -- (chip::Controller::AdministratorCommissioningCluster **)cppClusterSlot; -@end - -@interface MTROperationalCredentials () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::OperationalCredentialsCluster * cppCluster; -- (chip::Controller::OperationalCredentialsCluster **)cppClusterSlot; -@end - -@interface MTRGroupKeyManagement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::GroupKeyManagementCluster * cppCluster; -- (chip::Controller::GroupKeyManagementCluster **)cppClusterSlot; -@end - -@interface MTRFixedLabel () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::FixedLabelCluster * cppCluster; -- (chip::Controller::FixedLabelCluster **)cppClusterSlot; -@end - -@interface MTRUserLabel () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::UserLabelCluster * cppCluster; -- (chip::Controller::UserLabelCluster **)cppClusterSlot; -@end - -@interface MTRBooleanState () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::BooleanStateCluster * cppCluster; -- (chip::Controller::BooleanStateCluster **)cppClusterSlot; -@end - -@interface MTRModeSelect () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ModeSelectCluster * cppCluster; -- (chip::Controller::ModeSelectCluster **)cppClusterSlot; -@end - -@interface MTRDoorLock () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::DoorLockCluster * cppCluster; -- (chip::Controller::DoorLockCluster **)cppClusterSlot; -@end - -@interface MTRWindowCovering () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::WindowCoveringCluster * cppCluster; -- (chip::Controller::WindowCoveringCluster **)cppClusterSlot; -@end - -@interface MTRBarrierControl () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::BarrierControlCluster * cppCluster; -- (chip::Controller::BarrierControlCluster **)cppClusterSlot; -@end - -@interface MTRPumpConfigurationAndControl () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::PumpConfigurationAndControlCluster * cppCluster; -- (chip::Controller::PumpConfigurationAndControlCluster **)cppClusterSlot; -@end - -@interface MTRThermostat () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ThermostatCluster * cppCluster; -- (chip::Controller::ThermostatCluster **)cppClusterSlot; -@end - -@interface MTRFanControl () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::FanControlCluster * cppCluster; -- (chip::Controller::FanControlCluster **)cppClusterSlot; -@end - -@interface MTRThermostatUserInterfaceConfiguration () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ThermostatUserInterfaceConfigurationCluster * cppCluster; -- (chip::Controller::ThermostatUserInterfaceConfigurationCluster **)cppClusterSlot; -@end - -@interface MTRColorControl () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ColorControlCluster * cppCluster; -- (chip::Controller::ColorControlCluster **)cppClusterSlot; -@end - -@interface MTRIlluminanceMeasurement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::IlluminanceMeasurementCluster * cppCluster; -- (chip::Controller::IlluminanceMeasurementCluster **)cppClusterSlot; -@end - -@interface MTRTemperatureMeasurement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::TemperatureMeasurementCluster * cppCluster; -- (chip::Controller::TemperatureMeasurementCluster **)cppClusterSlot; -@end - -@interface MTRPressureMeasurement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::PressureMeasurementCluster * cppCluster; -- (chip::Controller::PressureMeasurementCluster **)cppClusterSlot; -@end - -@interface MTRFlowMeasurement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::FlowMeasurementCluster * cppCluster; -- (chip::Controller::FlowMeasurementCluster **)cppClusterSlot; -@end - -@interface MTRRelativeHumidityMeasurement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::RelativeHumidityMeasurementCluster * cppCluster; -- (chip::Controller::RelativeHumidityMeasurementCluster **)cppClusterSlot; -@end - -@interface MTROccupancySensing () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::OccupancySensingCluster * cppCluster; -- (chip::Controller::OccupancySensingCluster **)cppClusterSlot; -@end - -@interface MTRWakeOnLan () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::WakeOnLanCluster * cppCluster; -- (chip::Controller::WakeOnLanCluster **)cppClusterSlot; -@end - -@interface MTRChannel () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ChannelCluster * cppCluster; -- (chip::Controller::ChannelCluster **)cppClusterSlot; -@end - -@interface MTRTargetNavigator () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::TargetNavigatorCluster * cppCluster; -- (chip::Controller::TargetNavigatorCluster **)cppClusterSlot; -@end - -@interface MTRMediaPlayback () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::MediaPlaybackCluster * cppCluster; -- (chip::Controller::MediaPlaybackCluster **)cppClusterSlot; -@end - -@interface MTRMediaInput () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::MediaInputCluster * cppCluster; -- (chip::Controller::MediaInputCluster **)cppClusterSlot; -@end - -@interface MTRLowPower () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::LowPowerCluster * cppCluster; -- (chip::Controller::LowPowerCluster **)cppClusterSlot; -@end - -@interface MTRKeypadInput () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::KeypadInputCluster * cppCluster; -- (chip::Controller::KeypadInputCluster **)cppClusterSlot; -@end - -@interface MTRContentLauncher () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ContentLauncherCluster * cppCluster; -- (chip::Controller::ContentLauncherCluster **)cppClusterSlot; -@end - -@interface MTRAudioOutput () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::AudioOutputCluster * cppCluster; -- (chip::Controller::AudioOutputCluster **)cppClusterSlot; -@end - -@interface MTRApplicationLauncher () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ApplicationLauncherCluster * cppCluster; -- (chip::Controller::ApplicationLauncherCluster **)cppClusterSlot; -@end - -@interface MTRApplicationBasic () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ApplicationBasicCluster * cppCluster; -- (chip::Controller::ApplicationBasicCluster **)cppClusterSlot; -@end - -@interface MTRAccountLogin () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::AccountLoginCluster * cppCluster; -- (chip::Controller::AccountLoginCluster **)cppClusterSlot; -@end - -@interface MTRElectricalMeasurement () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::ElectricalMeasurementCluster * cppCluster; -- (chip::Controller::ElectricalMeasurementCluster **)cppClusterSlot; -@end - -@interface MTRTestCluster () -// Must only touch cppCluster on the Matter queue. -@property (readonly) chip::Controller::TestClusterCluster * cppCluster; -- (chip::Controller::TestClusterCluster **)cppClusterSlot; -@end diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters_internal.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusters_internal.h index 3bc39dea076933..4c514b9c2ee25e 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters_internal.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters_internal.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import "MTRClusters.h" diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h index bdd49c7c83214c..e299b9c782e8e1 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import #import diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm index 9ea1ae5cf02d39..926e14e675ca8f 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import "MTRCommandPayloadsObjc.h" NS_ASSUME_NONNULL_BEGIN diff --git a/src/darwin/Framework/CHIP/zap-generated/MTREventTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/MTREventTLVValueDecoder.mm index 6ee6ada8dabb0f..ad351a8c73846c 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTREventTLVValueDecoder.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTREventTLVValueDecoder.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import "MTREventTLVValueDecoder_Internal.h" #import "MTRStructsObjc.h" diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h index 9b5c7421e81788..e79d26ccaea80f 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import NS_ASSUME_NONNULL_BEGIN diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm index dea502f2bc3a78..6a8d735b4c722f 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm @@ -15,8 +15,6 @@ * limitations under the License. */ -// THIS FILE IS GENERATED BY ZAP - #import "MTRStructsObjc.h" NS_ASSUME_NONNULL_BEGIN diff --git a/src/darwin/Framework/CHIPTests/MTRControllerTests.m b/src/darwin/Framework/CHIPTests/MTRControllerTests.m index de998162500dce..d5e5bf040c4794 100644 --- a/src/darwin/Framework/CHIPTests/MTRControllerTests.m +++ b/src/darwin/Framework/CHIPTests/MTRControllerTests.m @@ -70,7 +70,9 @@ - (void)testControllerLifecycle __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -116,7 +118,9 @@ - (void)testFactoryShutdownShutsDownController __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -143,7 +147,9 @@ - (void)testControllerMultipleShutdown __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -174,7 +180,9 @@ - (void)testControllerWithOTAProviderDelegate __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -190,7 +198,9 @@ - (void)testControllerWithOTAProviderDelegate [controller2 shutdown]; // Check that a new controller can be started on a different fabric too. - __auto_type * params2 = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:2 ipk:testKeys.ipk]; + __auto_type * params2 = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(2) + ipk:testKeys.ipk]; XCTAssertNotNil(params2); params2.vendorId = @(kTestVendorId); @@ -228,7 +238,9 @@ - (void)testControllerInvalidAccess __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -261,7 +273,9 @@ - (void)testControllerNewFabricMatchesOldFabric __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -296,7 +310,9 @@ - (void)testControllerExistingFabricMatchesRunningController __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -330,7 +346,9 @@ - (void)testControllerStartControllersOnTwoFabricIds __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params1 = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params1 = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params1); params1.vendorId = @(kTestVendorId); @@ -341,7 +359,9 @@ - (void)testControllerStartControllersOnTwoFabricIds // Now try to start a new controller with the same root but a // different fabric id. - __auto_type * params2 = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:2 ipk:testKeys.ipk]; + __auto_type * params2 = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(2) + ipk:testKeys.ipk]; XCTAssertNotNil(params2); params2.vendorId = @(kTestVendorId); @@ -384,7 +404,9 @@ - (void)testControllerStartControllerSameFabricWrongSubject __auto_type * root3 = [MTRCertificates generateRootCertificate:testKeys issuerId:@2 fabricId:@1 error:nil]; XCTAssertNotNil(root3); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -449,7 +471,9 @@ - (void)testControllerFabricIdRootCertMismatch __auto_type * root2 = [MTRCertificates generateRootCertificate:testKeys issuerId:@1 fabricId:@2 error:nil]; XCTAssertNotNil(root2); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -505,7 +529,9 @@ - (void)testControllerSignerDoesNotMatchRoot __auto_type * root = [MTRCertificates generateRootCertificate:rootKeys issuerId:nil fabricId:nil error:nil]; XCTAssertNotNil(root); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:signerKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:signerKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -547,7 +573,9 @@ - (void)testControllerSignerKeyWithIntermediate error:nil]; XCTAssertNotNil(intermediate); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -559,7 +587,7 @@ - (void)testControllerSignerKeyWithIntermediate XCTAssertNil(controller); // Now start controller with the signing key matching the intermediate cert. - params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys fabricId:1 ipk:rootKeys.ipk]; + params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys fabricID:@(1) ipk:rootKeys.ipk]; params.vendorId = @(kTestVendorId); params.rootCertificate = root; params.intermediateCertificate = intermediate; @@ -588,7 +616,9 @@ - (void)testControllerStartupParamsInvalidFabric XCTAssertNotNil(rootKeys); // Invalid fabric ID. - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:0 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(0) + ipk:rootKeys.ipk]; XCTAssertNil(params); [factory shutdown]; @@ -608,7 +638,9 @@ - (void)testControllerStartupParamsInvalidVendor __auto_type * rootKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(rootKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); // Invalid vendor ID ("standard"). @@ -634,7 +666,9 @@ - (void)testControllerStartupNodeIdPreserved __auto_type * rootKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(rootKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -674,7 +708,9 @@ - (void)testControllerStartupNodeIdUsed __auto_type * rootKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(rootKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -729,7 +765,9 @@ - (void)testControllerStartupNodeIdValidation __auto_type * rootKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(rootKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -787,7 +825,9 @@ - (void)testControllerRotateToICA error:nil]; XCTAssertNotNil(intermediate); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); @@ -804,7 +844,7 @@ - (void)testControllerRotateToICA XCTAssertFalse([controller isRunning]); // Now start controller on the same fabric but using the ICA. - params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys fabricId:1 ipk:rootKeys.ipk]; + params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys fabricID:@(1) ipk:rootKeys.ipk]; params.vendorId = @(kTestVendorId); params.rootCertificate = root; params.intermediateCertificate = intermediate; @@ -850,7 +890,7 @@ - (void)testControllerRotateFromICA XCTAssertNotNil(intermediate); __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys - fabricId:1 + fabricID:@(1) ipk:rootKeys.ipk]; XCTAssertNotNil(params); @@ -869,7 +909,7 @@ - (void)testControllerRotateFromICA XCTAssertFalse([controller isRunning]); // Now start controller on the same fabric but without using the ICA. - params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricID:@(1) ipk:rootKeys.ipk]; params.vendorId = @(kTestVendorId); params.rootCertificate = root; controller = [factory startControllerOnExistingFabric:params]; @@ -925,7 +965,7 @@ - (void)testControllerRotateICA XCTAssertNotNil(intermediate2); __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys1 - fabricId:1 + fabricID:@(1) ipk:rootKeys.ipk]; XCTAssertNotNil(params); @@ -944,7 +984,7 @@ - (void)testControllerRotateICA XCTAssertFalse([controller isRunning]); // Now start controller on the same fabric but using the second ICA. - params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys2 fabricId:1 ipk:rootKeys.ipk]; + params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys2 fabricID:@(1) ipk:rootKeys.ipk]; params.vendorId = @(kTestVendorId); params.rootCertificate = root; params.intermediateCertificate = intermediate2; @@ -989,7 +1029,7 @@ - (void)testControllerICAWithoutRoot XCTAssertNotNil(intermediate); __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:intermediateKeys - fabricId:1 + fabricID:@(1) ipk:rootKeys.ipk]; XCTAssertNotNil(params); @@ -1244,7 +1284,9 @@ - (void)testControllerExternallyProvidedOperationalKey __auto_type * operationalKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(operationalKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys fabricId:1 ipk:rootKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:rootKeys + fabricID:@(1) + ipk:rootKeys.ipk]; XCTAssertNotNil(params); params.vendorId = @(kTestVendorId); diff --git a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m index c5a0643a6db9ff..03210e5454c5a1 100644 --- a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m +++ b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m @@ -162,7 +162,9 @@ - (void)initStack // Needs to match what startControllerOnExistingFabric calls elsewhere in // this file do. - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; params.vendorId = @(kTestVendorId); MTRDeviceController * controller = [factory startControllerOnNewFabric:params]; @@ -766,10 +768,10 @@ - (void)test011_ReadCachedAttribute // reportHandler returns TRUE if it got the things it was looking for or if there's an error. __block BOOL (^reportHandler)(NSArray * _Nullable value, NSError * _Nullable error); [device subscribeWithQueue:queue - minInterval:2 - maxInterval:60 + minInterval:@(2) + maxInterval:@(60) params:nil - cacheContainer:attributeCacheContainer + attributeCacheContainer:attributeCacheContainer attributeReportHandler:^(NSArray * value) { NSLog(@"Received report: %@", value); if (reportHandler) { @@ -799,7 +801,7 @@ - (void)test011_ReadCachedAttribute // Invoke command to set the attribute to a known state XCTestExpectation * commandExpectation = [self expectationWithDescription:@"Command invoked"]; - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:queue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:queue]; XCTAssertNotNil(cluster); NSLog(@"Invoking command..."); @@ -1137,7 +1139,7 @@ - (void)test013_ReuseChipClusterObject XCTestExpectation * expectation = [self expectationWithDescription:@"ReuseMTRClusterObjectFirstCall"]; dispatch_queue_t queue = dispatch_get_main_queue(); - MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device endpoint:1 queue:queue]; + MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device endpointID:@(1) queue:queue]; XCTAssertNotNil(cluster); [cluster testWithCompletionHandler:^(NSError * err) { @@ -1542,7 +1544,7 @@ - (void)test999_TearDown XCTestExpectation * readFabricIndexExpectation = [self expectationWithDescription:@"Fabric index read"]; __block NSNumber * fabricIndex; - __auto_type * opCredsCluster = [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:queue]; + __auto_type * opCredsCluster = [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:queue]; [opCredsCluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable readError) { XCTAssertNil(readError); @@ -1557,7 +1559,7 @@ - (void)test999_TearDown XCTestExpectation * openCommissioningWindowExpectation = [self expectationWithDescription:@"Commissioning window opened"]; __auto_type * adminCommissioningCluster = [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:queue]; __auto_type * openWindowParams = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; openWindowParams.commissioningTimeout = @(900); diff --git a/src/darwin/Framework/CHIPTests/MTRTestOTAProvider.m b/src/darwin/Framework/CHIPTests/MTRTestOTAProvider.m index 9e880e74162f7b..0267d91db7852a 100644 --- a/src/darwin/Framework/CHIPTests/MTRTestOTAProvider.m +++ b/src/darwin/Framework/CHIPTests/MTRTestOTAProvider.m @@ -23,16 +23,14 @@ @implementation MTRTestOTAProvider - (void)handleQueryImageForNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller params:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params - completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data, - NSError * _Nullable error))completionHandler + completionHandler:(MTRQueryImageCompletionHandler)completionHandler { } - (void)handleApplyUpdateRequestForNodeID:(NSNumber *)nodeID controller:(MTRDeviceController *)controller params:(MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams *)params - completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data, - NSError * _Nullable error))completionHandler + completionHandler:(MTRApplyUpdateRequestCompletionHandler)completionHandler { } @@ -47,7 +45,7 @@ - (void)handleBDXTransferSessionBeginForNodeID:(NSNumber * _Nonnull)nodeID controller:(MTRDeviceController * _Nonnull)controller fileDesignator:(NSString * _Nonnull)fileDesignator offset:(NSNumber * _Nonnull)offset - completionHandler:(void (^)(NSError * error))completionHandler + completionHandler:(StatusCompletion)completionHandler { } @@ -62,7 +60,7 @@ - (void)handleBDXQueryForNodeID:(NSNumber * _Nonnull)nodeID blockSize:(NSNumber * _Nonnull)blockSize blockIndex:(NSNumber * _Nonnull)blockIndex bytesToSkip:(NSNumber * _Nonnull)bytesToSkip - completionHandler:(void (^)(NSData * _Nullable data, BOOL isEOF))completionHandler + completionHandler:(MTRBDXQueryCompletionHandler)completionHandler { } diff --git a/src/darwin/Framework/CHIPTests/MTRThreadOperationalDatasetTests.mm b/src/darwin/Framework/CHIPTests/MTRThreadOperationalDatasetTests.mm index 894478eecae035..de15aa2405a547 100644 --- a/src/darwin/Framework/CHIPTests/MTRThreadOperationalDatasetTests.mm +++ b/src/darwin/Framework/CHIPTests/MTRThreadOperationalDatasetTests.mm @@ -41,7 +41,7 @@ - (void)testThreadOperationalDataset extendedPANID:[NSData dataWithBytes:&extendedPANID length:MTRSizeThreadExtendedPanId] masterKey:[NSData dataWithBytes:&masterKey length:MTRSizeThreadMasterKey] PSKc:[NSData dataWithBytes:&PKSc length:MTRSizeThreadPSKc] - channel:25 + channelNumber:@(25) panID:[NSData dataWithBytes:&panID length:sizeof(panID)]]; XCTAssertNotNil(dataset); NSData * data = [dataset data]; @@ -54,7 +54,7 @@ - (void)testThreadOperationalDataset XCTAssertEqualObjects(reconstructed.masterKey, dataset.masterKey); XCTAssertEqualObjects(reconstructed.PSKc, dataset.PSKc); XCTAssertEqualObjects(reconstructed.extendedPANID, dataset.extendedPANID); - XCTAssertEqual(reconstructed.channel, dataset.channel); + XCTAssertEqualObjects(reconstructed.channelNumber, dataset.channelNumber); } - (void)testThreadOperationalDatasetInvalid @@ -68,7 +68,7 @@ - (void)testThreadOperationalDatasetInvalid extendedPANID:[NSData dataWithBytes:&extendedPANID length:sizeof(extendedPANID)] masterKey:[NSData dataWithBytes:&masterKey length:sizeof(masterKey)] PSKc:[NSData dataWithBytes:&PKSc length:sizeof(PKSc)] - channel:25 + channelNumber:@(25) panID:[NSData dataWithBytes:&panID length:sizeof(panID)]]; XCTAssertNil(dataset); diff --git a/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m b/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m index ec592d75f20bad..aa6d7d669579e0 100644 --- a/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m +++ b/src/darwin/Framework/CHIPTests/MTRXPCListenerSampleTests.m @@ -168,7 +168,7 @@ - (void)readAttributeWithController:(id)controller clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId params:(NSDictionary * _Nullable)params - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { (void) controller; __auto_type sharedController = sController; @@ -204,7 +204,7 @@ - (void)writeAttributeWithController:(id)controller attributeId:(NSNumber *)attributeId value:(id)value timedWriteTimeout:(NSNumber *)timeoutMs - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { (void) controller; __auto_type sharedController = sController; @@ -216,6 +216,7 @@ - (void)writeAttributeWithController:(id)controller NSLog(@"Failed to get connected device"); completion(nil, error); } else { + [device writeAttributeWithEndpointId:endpointId clusterId:clusterId attributeId:attributeId @@ -241,7 +242,7 @@ - (void)invokeCommandWithController:(id)controller commandId:(NSNumber *)commandId fields:(id)fields timedInvokeTimeout:(NSNumber * _Nullable)timeoutMs - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { (void) controller; __auto_type sharedController = sController; @@ -279,7 +280,7 @@ - (void)subscribeAttributeWithController:(id)controller minInterval:(NSNumber *)minInterval maxInterval:(NSNumber *)maxInterval params:(NSDictionary * _Nullable)params - establishedHandler:(void (^)(void))establishedHandler + establishedHandler:(dispatch_block_t)establishedHandler { __auto_type sharedController = sController; if (sharedController) { @@ -329,7 +330,7 @@ - (void)subscribeAttributeWithController:(id)controller } } -- (void)stopReportsWithController:(id _Nullable)controller nodeId:(uint64_t)nodeId completion:(void (^)(void))completion +- (void)stopReportsWithController:(id _Nullable)controller nodeId:(uint64_t)nodeId completion:(dispatch_block_t)completion { __auto_type sharedController = sController; if (sharedController) { @@ -354,7 +355,7 @@ - (void)subscribeWithController:(id _Nullable)controller maxInterval:(NSNumber *)maxInterval params:(NSDictionary * _Nullable)params shouldCache:(BOOL)shouldCache - completion:(void (^)(NSError * _Nullable error))completion + completion:(StatusCompletion)completion { __auto_type sharedController = sController; if (sharedController) { @@ -374,10 +375,10 @@ - (void)subscribeWithController:(id _Nullable)controller NSMutableArray * established = [NSMutableArray arrayWithCapacity:1]; [established addObject:@NO]; [device subscribeWithQueue:dispatch_get_main_queue() - minInterval:[minInterval unsignedShortValue] - maxInterval:[maxInterval unsignedShortValue] + minInterval:minInterval + maxInterval:maxInterval params:[MTRDeviceController decodeXPCSubscribeParams:params] - cacheContainer:attributeCacheContainer + attributeCacheContainer:attributeCacheContainer attributeReportHandler:^(NSArray * value) { NSLog(@"Received report: %@", value); } @@ -412,7 +413,7 @@ - (void)readAttributeCacheWithController:(id _Nullable)controller endpointId:(NSNumber * _Nullable)endpointId clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { MTRAttributeCacheContainer * attributeCacheContainer = _attributeCacheDictionary[[NSNumber numberWithUnsignedLongLong:nodeId]]; if (attributeCacheContainer) { @@ -527,7 +528,9 @@ - (void)initStack __auto_type * testKeys = [[MTRTestKeys alloc] init]; XCTAssertNotNil(testKeys); - __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys fabricId:1 ipk:testKeys.ipk]; + __auto_type * params = [[MTRDeviceControllerStartupParams alloc] initWithSigningKeypair:testKeys + fabricID:@(1) + ipk:testKeys.ipk]; params.vendorId = @(kTestVendorId); MTRDeviceController * controller = [factory startControllerOnNewFabric:params]; @@ -859,8 +862,8 @@ - (void)test005_ReadAttributeFailure 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. + // 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); @@ -893,8 +896,8 @@ - (void)test006_WriteAttributeFailure NSLog(@"write attribute: Brightness 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. + // 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_ATTRIBUTE); @@ -1791,10 +1794,10 @@ - (void)test900_SubscribeAttributeCache MTRAttributeCacheContainer * attributeCacheContainer = [[MTRAttributeCacheContainer alloc] init]; NSLog(@"Setting up attribute cache subscription..."); [device subscribeWithQueue:queue - minInterval:1 - maxInterval:60 + minInterval:@(1) + maxInterval:@(60) params:nil - cacheContainer:attributeCacheContainer + attributeCacheContainer:attributeCacheContainer attributeReportHandler:^(NSArray * value) { NSLog(@"Report for attribute cache: %@", value); } @@ -1913,7 +1916,7 @@ - (void)test999_TearDown XCTestExpectation * readFabricIndexExpectation = [self expectationWithDescription:@"Fabric index read"]; __block NSNumber * fabricIndex; - __auto_type * opCredsCluster = [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:queue]; + __auto_type * opCredsCluster = [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:queue]; [opCredsCluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable readError) { XCTAssertNil(readError); @@ -1928,7 +1931,7 @@ - (void)test999_TearDown XCTestExpectation * openCommissioningWindowExpectation = [self expectationWithDescription:@"Commissioning window opened"]; __auto_type * adminCommissioningCluster = [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:queue]; __auto_type * openWindowParams = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; openWindowParams.commissioningTimeout = @(900); diff --git a/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m b/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m index c48ae1215ae38f..969d03cd7a03ed 100644 --- a/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m +++ b/src/darwin/Framework/CHIPTests/MTRXPCProtocolTests.m @@ -79,7 +79,7 @@ - (NSString *)description @interface MTRAttributeCacheContainer (Test) // Obsolete method is moved to this test suite to keep tests compatible - (void)subscribeWithDeviceController:(MTRDeviceController *)deviceController - deviceId:(uint64_t)deviceId + deviceId:(NSNumber *)deviceId params:(MTRSubscribeParams * _Nullable)params clientQueue:(dispatch_queue_t)clientQueue completion:(void (^)(NSError * _Nullable error))completion; @@ -87,7 +87,7 @@ - (void)subscribeWithDeviceController:(MTRDeviceController *)deviceController @implementation MTRAttributeCacheContainer (Test) - (void)subscribeWithDeviceController:(MTRDeviceController *)deviceController - deviceId:(uint64_t)deviceId + deviceId:(NSNumber *)deviceId params:(MTRSubscribeParams * _Nullable)params clientQueue:clientQueue completion:(void (^)(NSError * _Nullable error))completion @@ -98,21 +98,22 @@ - (void)subscribeWithDeviceController:(MTRDeviceController *)deviceController completion(error); }); }; - [deviceController getBaseDevice:deviceId + [deviceController getBaseDevice:[deviceId unsignedLongLongValue] queue:workQueue completionHandler:^(MTRBaseDevice * _Nullable device, NSError * _Nullable error) { if (error) { - NSLog(@"Error: Failed to get connected device (%llu) for attribute cache: %@", deviceId, error); + NSLog(@"Error: Failed to get connected device (%llu) for attribute cache: %@", + [deviceId unsignedLongLongValue], error); completionHandler(error); return; } __auto_type established = [NSMutableArray arrayWithCapacity:1]; [established addObject:@NO]; [device subscribeWithQueue:clientQueue - minInterval:1 - maxInterval:43200 + minInterval:@(1) + maxInterval:@(43200) params:params - cacheContainer:self + attributeCacheContainer:self attributeReportHandler:^(NSArray * value) { NSLog(@"Report received for attribute cache: %@", value); } @@ -125,7 +126,7 @@ - (void)subscribeWithDeviceController:(MTRDeviceController *)deviceController } } subscriptionEstablished:^() { - NSLog(@"Attribute cache subscription succeeded for device %llu", deviceId); + NSLog(@"Attribute cache subscription succeeded for device %llu", [deviceId unsignedLongLongValue]); if (![established[0] boolValue]) { established[0] = @YES; completionHandler(nil); @@ -147,26 +148,26 @@ @interface MTRXPCProtocolTests @property (readwrite, strong) XCTestExpectation * xpcDisconnectExpectation; @property (readwrite, strong) void (^handleGetAnySharedRemoteControllerWithFabricId) - (uint64_t fabricId, void (^completion)(id _Nullable controller, NSError * _Nullable error)); + (NSNumber * fabricId, void (^completion)(id _Nullable controller, NSError * _Nullable error)); @property (readwrite, strong) void (^handleGetAnySharedRemoteController) (void (^completion)(id _Nullable controller, NSError * _Nullable error)); -@property (readwrite, strong) void (^handleReadAttribute)(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, +@property (readwrite, strong) void (^handleReadAttribute)(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, MTRReadParams * _Nullable params, void (^completion)(id _Nullable values, NSError * _Nullable error)); @property (readwrite, strong) void (^handleWriteAttribute) - (id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, id value, + (id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, id value, NSNumber * _Nullable timedWriteTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)); @property (readwrite, strong) void (^handleInvokeCommand) - (id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id fields, + (id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id fields, NSNumber * _Nullable timedInvokeTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)); -@property (readwrite, strong) void (^handleSubscribeAttribute)(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, +@property (readwrite, strong) void (^handleSubscribeAttribute)(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)); -@property (readwrite, strong) void (^handleStopReports)(id controller, uint64_t nodeId, void (^completion)(void)); -@property (readwrite, strong) void (^handleSubscribeAll)(id controller, uint64_t nodeId, NSNumber * minInterval, +@property (readwrite, strong) void (^handleStopReports)(id controller, NSNumber * nodeId, void (^completion)(void)); +@property (readwrite, strong) void (^handleSubscribeAll)(id controller, NSNumber * nodeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, BOOL shouldCache, void (^completion)(NSError * _Nullable error)); @property (readwrite, strong) void (^handleReadAttributeCache) - (id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + (id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, void (^completion)(id _Nullable values, NSError * _Nullable error)); @end @@ -203,7 +204,7 @@ - (void)getDeviceControllerWithFabricId:(uint64_t)fabricId { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleGetAnySharedRemoteControllerWithFabricId); - self.handleGetAnySharedRemoteControllerWithFabricId(fabricId, completion); + self.handleGetAnySharedRemoteControllerWithFabricId(@(fabricId), completion); }); } @@ -221,12 +222,12 @@ - (void)readAttributeWithController:(id)controller clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId params:(NSDictionary * _Nullable)params - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleReadAttribute); - self.handleReadAttribute( - controller, nodeId, endpointId, clusterId, attributeId, [MTRDeviceController decodeXPCReadParams:params], completion); + self.handleReadAttribute(controller, @(nodeId), endpointId, clusterId, attributeId, + [MTRDeviceController decodeXPCReadParams:params], completion); }); } @@ -237,11 +238,11 @@ - (void)writeAttributeWithController:(id)controller attributeId:(NSNumber *)attributeId value:(id)value timedWriteTimeout:(NSNumber * _Nullable)timeoutMs - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleWriteAttribute); - self.handleWriteAttribute(controller, nodeId, endpointId, clusterId, attributeId, value, timeoutMs, completion); + self.handleWriteAttribute(controller, @(nodeId), endpointId, clusterId, attributeId, value, timeoutMs, completion); }); } @@ -252,11 +253,11 @@ - (void)invokeCommandWithController:(id)controller commandId:(NSNumber *)commandId fields:(id)fields timedInvokeTimeout:(NSNumber * _Nullable)timeoutMs - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleInvokeCommand); - self.handleInvokeCommand(controller, nodeId, endpointId, clusterId, commandId, fields, timeoutMs, completion); + self.handleInvokeCommand(controller, @(nodeId), endpointId, clusterId, commandId, fields, timeoutMs, completion); }); } @@ -268,20 +269,20 @@ - (void)subscribeAttributeWithController:(id)controller minInterval:(NSNumber *)minInterval maxInterval:(NSNumber *)maxInterval params:(NSDictionary * _Nullable)params - establishedHandler:(void (^)(void))establishedHandler + establishedHandler:(dispatch_block_t)establishedHandler { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleSubscribeAttribute); - self.handleSubscribeAttribute(controller, nodeId, endpointId, clusterId, attributeId, minInterval, maxInterval, + self.handleSubscribeAttribute(controller, @(nodeId), endpointId, clusterId, attributeId, minInterval, maxInterval, [MTRDeviceController decodeXPCSubscribeParams:params], establishedHandler); }); } -- (void)stopReportsWithController:(id)controller nodeId:(uint64_t)nodeId completion:(void (^)(void))completion +- (void)stopReportsWithController:(id)controller nodeId:(uint64_t)nodeId completion:(dispatch_block_t)completion { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleStopReports); - self.handleStopReports(controller, nodeId, completion); + self.handleStopReports(controller, @(nodeId), completion); }); } @@ -291,12 +292,12 @@ - (void)subscribeWithController:(id _Nullable)controller maxInterval:(NSNumber *)maxInterval params:(NSDictionary * _Nullable)params shouldCache:(BOOL)shouldCache - completion:(void (^)(NSError * _Nullable error))completion + completion:(StatusCompletion)completion { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleSubscribeAll); - self.handleSubscribeAll(controller, nodeId, minInterval, maxInterval, [MTRDeviceController decodeXPCSubscribeParams:params], - shouldCache, completion); + self.handleSubscribeAll(controller, @(nodeId), minInterval, maxInterval, + [MTRDeviceController decodeXPCSubscribeParams:params], shouldCache, completion); }); } @@ -305,11 +306,11 @@ - (void)readAttributeCacheWithController:(id _Nullable)controller endpointId:(NSNumber * _Nullable)endpointId clusterId:(NSNumber * _Nullable)clusterId attributeId:(NSNumber * _Nullable)attributeId - completion:(void (^)(id _Nullable values, NSError * _Nullable error))completion + completion:(MTRValuesHandler)completion { dispatch_async(dispatch_get_main_queue(), ^{ XCTAssertNotNil(self.handleReadAttributeCache); - self.handleReadAttributeCache(controller, nodeId, endpointId, clusterId, attributeId, completion); + self.handleReadAttributeCache(controller, @(nodeId), endpointId, clusterId, attributeId, completion); }); } @@ -355,11 +356,11 @@ - (void)testReadAttributeSuccess XCTestExpectation * responseExpectation = [self expectationWithDescription:@"XPC response received"]; __auto_type uuid = self.controllerUUID; - _handleReadAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleReadAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, MTRReadParams * _Nullable params, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -416,11 +417,11 @@ - (void)testReadAttributeWithParamsSuccess XCTestExpectation * responseExpectation = [self expectationWithDescription:@"XPC response received"]; __auto_type uuid = self.controllerUUID; - _handleReadAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleReadAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, MTRReadParams * _Nullable params, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -470,11 +471,11 @@ - (void)testReadAttributeFailure XCTestExpectation * responseExpectation = [self expectationWithDescription:@"XPC response received"]; __auto_type uuid = self.controllerUUID; - _handleReadAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleReadAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, MTRReadParams * _Nullable params, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -529,10 +530,10 @@ - (void)testWriteAttributeSuccess XCTestExpectation * responseExpectation = [self expectationWithDescription:@"XPC response received"]; __auto_type uuid = self.controllerUUID; - _handleWriteAttribute = ^(id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, + _handleWriteAttribute = ^(id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, id value, NSNumber * _Nullable timedWriteTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -591,10 +592,10 @@ - (void)testTimedWriteAttributeSuccess XCTestExpectation * responseExpectation = [self expectationWithDescription:@"XPC response received"]; __auto_type uuid = self.controllerUUID; - _handleWriteAttribute = ^(id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, + _handleWriteAttribute = ^(id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, id value, NSNumber * _Nullable timedWriteTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -648,10 +649,10 @@ - (void)testWriteAttributeFailure XCTestExpectation * responseExpectation = [self expectationWithDescription:@"XPC response received"]; __auto_type uuid = self.controllerUUID; - _handleWriteAttribute = ^(id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, + _handleWriteAttribute = ^(id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * attributeId, id value, NSNumber * _Nullable timedWriteTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -708,10 +709,10 @@ - (void)testInvokeCommandSuccess __auto_type uuid = self.controllerUUID; _handleInvokeCommand - = ^(id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id commandFields, + = ^(id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id commandFields, NSNumber * _Nullable timedInvokeTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([commandId unsignedLongValue], [myCommandId unsignedLongValue]); @@ -770,10 +771,10 @@ - (void)testTimedInvokeCommandSuccess __auto_type uuid = self.controllerUUID; _handleInvokeCommand - = ^(id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id commandFields, + = ^(id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id commandFields, NSNumber * _Nullable timedInvokeTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([commandId unsignedLongValue], [myCommandId unsignedLongValue]); @@ -830,10 +831,10 @@ - (void)testInvokeCommandFailure __auto_type uuid = self.controllerUUID; _handleInvokeCommand - = ^(id controller, uint64_t nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id commandFields, + = ^(id controller, NSNumber * nodeId, NSNumber * endpointId, NSNumber * clusterId, NSNumber * commandId, id commandFields, NSNumber * _Nullable timedInvokeTimeout, void (^completion)(id _Nullable values, NSError * _Nullable error)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([commandId unsignedLongValue], [myCommandId unsignedLongValue]); @@ -891,11 +892,11 @@ - (void)testSubscribeAttributeSuccess __block XCTestExpectation * reportExpectation = [self expectationWithDescription:@"Report sent"]; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -964,9 +965,9 @@ - (void)testSubscribeAttributeSuccess // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1009,11 +1010,11 @@ - (void)testSubscribeAttributeWithParamsSuccess __block XCTestExpectation * reportExpectation = [self expectationWithDescription:@"Report sent"]; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1084,9 +1085,9 @@ - (void)testSubscribeAttributeWithParamsSuccess // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1126,11 +1127,11 @@ - (void)testBadlyFormattedReport reportExpectation.inverted = YES; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1196,9 +1197,9 @@ - (void)testBadlyFormattedReport // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1240,11 +1241,11 @@ - (void)testReportWithUnrelatedEndpointId reportExpectation.inverted = YES; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1313,9 +1314,9 @@ - (void)testReportWithUnrelatedEndpointId // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1356,11 +1357,11 @@ - (void)testReportWithUnrelatedClusterId reportExpectation.inverted = YES; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1429,9 +1430,9 @@ - (void)testReportWithUnrelatedClusterId // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1472,11 +1473,11 @@ - (void)testReportWithUnrelatedAttributeId reportExpectation.inverted = YES; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1545,9 +1546,9 @@ - (void)testReportWithUnrelatedAttributeId // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1588,11 +1589,11 @@ - (void)testReportWithUnrelatedNode reportExpectation.inverted = YES; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1661,9 +1662,9 @@ - (void)testReportWithUnrelatedNode // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1703,11 +1704,11 @@ - (void)testSubscribeMultiEndpoints __block XCTestExpectation * reportExpectation = [self expectationWithDescription:@"Report sent"]; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertNil(endpointId); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1776,9 +1777,9 @@ - (void)testSubscribeMultiEndpoints // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1818,11 +1819,11 @@ - (void)testSubscribeMultiClusters __block XCTestExpectation * reportExpectation = [self expectationWithDescription:@"Report sent"]; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertNil(clusterId); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -1891,9 +1892,9 @@ - (void)testSubscribeMultiClusters // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -1933,11 +1934,11 @@ - (void)testSubscribeMultiAttributes __block XCTestExpectation * reportExpectation = [self expectationWithDescription:@"Report sent"]; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertNil(attributeId); @@ -2006,9 +2007,9 @@ - (void)testSubscribeMultiAttributes // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); completion(); [stopExpectation fulfill]; }; @@ -2049,11 +2050,11 @@ - (void)testMutiSubscriptions __block NSArray * reportExpectations; __auto_type uuid = self.controllerUUID; - _handleSubscribeAttribute = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleSubscribeAttribute = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, void (^establishedHandler)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -2142,9 +2143,9 @@ - (void)testMutiSubscriptions // Setup stop report handler XCTestExpectation * stopExpectation = [self expectationWithDescription:@"Reports stopped"]; __auto_type nodeToStop = nodeIds[0]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, nodeToStop); + XCTAssertEqual([nodeId unsignedLongLongValue], nodeToStop); completion(); [stopExpectation fulfill]; }; @@ -2200,9 +2201,9 @@ - (void)testMutiSubscriptions // Setup stop report handler stopExpectation = [self expectationWithDescription:@"Reports stopped"]; nodeToStop = nodeIds[1]; - _handleStopReports = ^(id _Nullable controller, uint64_t nodeId, void (^completion)(void)) { + _handleStopReports = ^(id _Nullable controller, NSNumber * nodeId, void (^completion)(void)) { XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, nodeToStop); + XCTAssertEqual([nodeId unsignedLongLongValue], nodeToStop); completion(); [stopExpectation fulfill]; }; @@ -2299,11 +2300,11 @@ - (void)testSubscribeAttributeCacheSuccess __auto_type uuid = self.controllerUUID; __auto_type attributeCacheContainer = [[MTRAttributeCacheContainer alloc] init]; - _handleSubscribeAll = ^(id controller, uint64_t nodeId, NSNumber * minInterval, NSNumber * maxInterval, + _handleSubscribeAll = ^(id controller, NSNumber * nodeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, BOOL shouldCache, void (^completion)(NSError * _Nullable error)) { NSLog(@"Subscribe called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertNil(params); [callExpectation fulfill]; completion(nil); @@ -2311,7 +2312,7 @@ - (void)testSubscribeAttributeCacheSuccess _xpcDisconnectExpectation = [self expectationWithDescription:@"XPC Disconnected"]; [attributeCacheContainer subscribeWithDeviceController:_remoteDeviceController - deviceId:myNodeId + deviceId:@(myNodeId) params:nil clientQueue:dispatch_get_main_queue() completion:^(NSError * _Nullable error) { @@ -2335,11 +2336,11 @@ - (void)testSubscribeAttributeCacheWithParamsSuccess __auto_type uuid = self.controllerUUID; __auto_type attributeCacheContainer = [[MTRAttributeCacheContainer alloc] init]; - _handleSubscribeAll = ^(id controller, uint64_t nodeId, NSNumber * minInterval, NSNumber * maxInterval, + _handleSubscribeAll = ^(id controller, NSNumber * nodeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, BOOL shouldCache, void (^completion)(NSError * _Nullable error)) { NSLog(@"Subscribe attribute cache called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertNotNil(params); XCTAssertEqual([params.fabricFiltered boolValue], [myParams.fabricFiltered boolValue]); XCTAssertEqual([params.keepPreviousSubscriptions boolValue], [myParams.keepPreviousSubscriptions boolValue]); @@ -2349,7 +2350,7 @@ - (void)testSubscribeAttributeCacheWithParamsSuccess _xpcDisconnectExpectation = [self expectationWithDescription:@"XPC Disconnected"]; [attributeCacheContainer subscribeWithDeviceController:_remoteDeviceController - deviceId:myNodeId + deviceId:@(myNodeId) params:myParams clientQueue:dispatch_get_main_queue() completion:^(NSError * _Nullable error) { @@ -2371,11 +2372,11 @@ - (void)testSubscribeAttributeCacheFailure __auto_type uuid = self.controllerUUID; __auto_type attributeCacheContainer = [[MTRAttributeCacheContainer alloc] init]; - _handleSubscribeAll = ^(id controller, uint64_t nodeId, NSNumber * minInterval, NSNumber * maxInterval, + _handleSubscribeAll = ^(id controller, NSNumber * nodeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, BOOL shouldCache, void (^completion)(NSError * _Nullable error)) { NSLog(@"Subscribe attribute cache called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertNil(params); [callExpectation fulfill]; completion(myError); @@ -2383,7 +2384,7 @@ - (void)testSubscribeAttributeCacheFailure _xpcDisconnectExpectation = [self expectationWithDescription:@"XPC Disconnected"]; [attributeCacheContainer subscribeWithDeviceController:_remoteDeviceController - deviceId:myNodeId + deviceId:@(myNodeId) params:nil clientQueue:dispatch_get_main_queue() completion:^(NSError * _Nullable error) { @@ -2415,20 +2416,20 @@ - (void)testReadAttributeCacheSuccess __auto_type uuid = self.controllerUUID; __auto_type attributeCacheContainer = [[MTRAttributeCacheContainer alloc] init]; - _handleSubscribeAll = ^(id controller, uint64_t nodeId, NSNumber * minInterval, NSNumber * maxInterval, + _handleSubscribeAll = ^(id controller, NSNumber * nodeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, BOOL shouldCache, void (^completion)(NSError * _Nullable error)) { NSLog(@"Subscribe attribute cache called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertNil(params); completion(nil); }; - _handleReadAttributeCache = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleReadAttributeCache = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, void (^completion)(id _Nullable values, NSError * _Nullable error)) { NSLog(@"Read attribute cache called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -2439,7 +2440,7 @@ - (void)testReadAttributeCacheSuccess _xpcDisconnectExpectation = [self expectationWithDescription:@"XPC Disconnected"]; [attributeCacheContainer subscribeWithDeviceController:_remoteDeviceController - deviceId:myNodeId + deviceId:@(myNodeId) params:nil clientQueue:dispatch_get_main_queue() completion:^(NSError * _Nullable error) { @@ -2479,20 +2480,20 @@ - (void)testReadAttributeCacheFailure __auto_type uuid = self.controllerUUID; __auto_type attributeCacheContainer = [[MTRAttributeCacheContainer alloc] init]; - _handleSubscribeAll = ^(id controller, uint64_t nodeId, NSNumber * minInterval, NSNumber * maxInterval, + _handleSubscribeAll = ^(id controller, NSNumber * nodeId, NSNumber * minInterval, NSNumber * maxInterval, MTRSubscribeParams * _Nullable params, BOOL shouldCache, void (^completion)(NSError * _Nullable error)) { NSLog(@"Subscribe attribute cache called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertNil(params); completion(nil); }; - _handleReadAttributeCache = ^(id controller, uint64_t nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, + _handleReadAttributeCache = ^(id controller, NSNumber * nodeId, NSNumber * _Nullable endpointId, NSNumber * _Nullable clusterId, NSNumber * _Nullable attributeId, void (^completion)(id _Nullable values, NSError * _Nullable error)) { NSLog(@"Read attribute cache called"); XCTAssertTrue([controller isEqualToString:uuid]); - XCTAssertEqual(nodeId, myNodeId); + XCTAssertEqual([nodeId unsignedLongLongValue], myNodeId); XCTAssertEqual([endpointId unsignedShortValue], [myEndpointId unsignedShortValue]); XCTAssertEqual([clusterId unsignedLongValue], [myClusterId unsignedLongValue]); XCTAssertEqual([attributeId unsignedLongValue], [myAttributeId unsignedLongValue]); @@ -2501,7 +2502,7 @@ - (void)testReadAttributeCacheFailure }; [attributeCacheContainer subscribeWithDeviceController:_remoteDeviceController - deviceId:myNodeId + deviceId:@(myNodeId) params:nil clientQueue:dispatch_get_main_queue() completion:^(NSError * _Nullable error) { diff --git a/src/darwin/Framework/Matter.xcodeproj/project.pbxproj b/src/darwin/Framework/Matter.xcodeproj/project.pbxproj index a987b1f8508745..0a60446632427c 100644 --- a/src/darwin/Framework/Matter.xcodeproj/project.pbxproj +++ b/src/darwin/Framework/Matter.xcodeproj/project.pbxproj @@ -97,7 +97,6 @@ 7596A84F2877E6A9004DAE0E /* MTRCluster_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 7596A84E2877E6A9004DAE0E /* MTRCluster_internal.h */; }; 7596A8512878709F004DAE0E /* MTRAsyncCallbackQueueTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 7596A8502878709F004DAE0E /* MTRAsyncCallbackQueueTests.m */; }; 7596A85528788557004DAE0E /* MTRClusters.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7596A85228788557004DAE0E /* MTRClusters.mm */; }; - 7596A85628788557004DAE0E /* MTRClustersObjc_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 7596A85328788557004DAE0E /* MTRClustersObjc_internal.h */; }; 7596A85728788557004DAE0E /* MTRClusters.h in Headers */ = {isa = PBXBuildFile; fileRef = 7596A85428788557004DAE0E /* MTRClusters.h */; settings = {ATTRIBUTES = (Public, ); }; }; 88EBF8CE27FABDD500686BC1 /* MTRDeviceAttestationDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 88EBF8CB27FABDD500686BC1 /* MTRDeviceAttestationDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; }; 88EBF8CF27FABDD500686BC1 /* MTRDeviceAttestationDelegateBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 88EBF8CC27FABDD500686BC1 /* MTRDeviceAttestationDelegateBridge.mm */; }; @@ -237,7 +236,6 @@ 7596A84E2877E6A9004DAE0E /* MTRCluster_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MTRCluster_internal.h; sourceTree = ""; }; 7596A8502878709F004DAE0E /* MTRAsyncCallbackQueueTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MTRAsyncCallbackQueueTests.m; sourceTree = ""; }; 7596A85228788557004DAE0E /* MTRClusters.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MTRClusters.mm; path = "zap-generated/MTRClusters.mm"; sourceTree = ""; }; - 7596A85328788557004DAE0E /* MTRClustersObjc_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MTRClustersObjc_internal.h; path = "zap-generated/MTRClustersObjc_internal.h"; sourceTree = ""; }; 7596A85428788557004DAE0E /* MTRClusters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MTRClusters.h; path = "zap-generated/MTRClusters.h"; sourceTree = ""; }; 88EBF8CB27FABDD500686BC1 /* MTRDeviceAttestationDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MTRDeviceAttestationDelegate.h; sourceTree = ""; }; 88EBF8CC27FABDD500686BC1 /* MTRDeviceAttestationDelegateBridge.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MTRDeviceAttestationDelegateBridge.mm; sourceTree = ""; }; @@ -329,7 +327,6 @@ 7596A83D28751220004DAE0E /* MTRBaseClusters_internal.h */, 7596A85428788557004DAE0E /* MTRClusters.h */, 7596A85228788557004DAE0E /* MTRClusters.mm */, - 7596A85328788557004DAE0E /* MTRClustersObjc_internal.h */, D4772A45285AE98300383630 /* MTRClusterConstants.h */, ); name = CHIPGeneratedFiles; @@ -555,7 +552,6 @@ 2C222ADF255C811800E446B9 /* MTRBaseDevice_Internal.h in Headers */, 511913FC28C100EF009235E9 /* MTRBaseSubscriptionCallback.h in Headers */, 51E0310027EA20D20083DC9C /* MTRControllerAccessControl.h in Headers */, - 7596A85628788557004DAE0E /* MTRClustersObjc_internal.h in Headers */, 991DC08B247704DC00C13860 /* MTRLogging.h in Headers */, 7596A84828762783004DAE0E /* MTRAsyncCallbackWorkQueue.h in Headers */, 5A7947E527C0129F00434CF2 /* MTRDeviceController+XPC.h in Headers */, @@ -846,6 +842,8 @@ CHIP_HAVE_CONFIG_H, "CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=", "$(inherited)", + "MTR_NEWLY_AVAILABLE=", + "MTR_NEWLY_DEPRECATED(message)=", ); HEADER_SEARCH_PATHS = ( "$(CHIP_ROOT)/src", @@ -994,6 +992,8 @@ CHIP_HAVE_CONFIG_H, "CHIP_ADDRESS_RESOLVE_IMPL_INCLUDE_HEADER=", "$(inherited)", + "MTR_NEWLY_AVAILABLE=", + "MTR_NEWLY_DEPRECATED(message)=", ); HEADER_SEARCH_PATHS = ( "$(CHIP_ROOT)/src", diff --git a/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h index 8d464b8df99142..262242fded36f8 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h @@ -145,7 +145,7 @@ class IdentifyIdentify : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRIdentifyClusterIdentifyParams alloc] init]; params.timedInvokeTimeoutMs @@ -192,7 +192,7 @@ class IdentifyTriggerEffect : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; params.timedInvokeTimeoutMs @@ -239,7 +239,7 @@ class ReadIdentifyIdentifyTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeIdentifyTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.IdentifyTime response %@", [value description]); @@ -269,7 +269,7 @@ class WriteIdentifyIdentifyTime : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000003) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -306,7 +306,7 @@ class SubscribeAttributeIdentifyIdentifyTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -345,7 +345,7 @@ class ReadIdentifyIdentifyType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeIdentifyTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.IdentifyType response %@", [value description]); @@ -372,7 +372,7 @@ class SubscribeAttributeIdentifyIdentifyType : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -411,7 +411,7 @@ class ReadIdentifyGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.GeneratedCommandList response %@", [value description]); @@ -438,7 +438,7 @@ class SubscribeAttributeIdentifyGeneratedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -477,7 +477,7 @@ class ReadIdentifyAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.AcceptedCommandList response %@", [value description]); @@ -504,7 +504,7 @@ class SubscribeAttributeIdentifyAcceptedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -543,7 +543,7 @@ class ReadIdentifyAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.AttributeList response %@", [value description]); @@ -570,7 +570,7 @@ class SubscribeAttributeIdentifyAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -609,7 +609,7 @@ class ReadIdentifyFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.FeatureMap response %@", [value description]); @@ -636,7 +636,7 @@ class SubscribeAttributeIdentifyFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -675,7 +675,7 @@ class ReadIdentifyClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Identify.ClusterRevision response %@", [value description]); @@ -702,7 +702,7 @@ class SubscribeAttributeIdentifyClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000003) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -764,7 +764,7 @@ class GroupsAddGroup : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupsClusterAddGroupParams alloc] init]; params.timedInvokeTimeoutMs @@ -814,7 +814,7 @@ class GroupsViewGroup : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; params.timedInvokeTimeoutMs @@ -862,7 +862,7 @@ class GroupsGetGroupMembership : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupsClusterGetGroupMembershipParams alloc] init]; params.timedInvokeTimeoutMs @@ -919,7 +919,7 @@ class GroupsRemoveGroup : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupsClusterRemoveGroupParams alloc] init]; params.timedInvokeTimeoutMs @@ -966,7 +966,7 @@ class GroupsRemoveAllGroups : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupsClusterRemoveAllGroupsParams alloc] init]; params.timedInvokeTimeoutMs @@ -1011,7 +1011,7 @@ class GroupsAddGroupIfIdentifying : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupsClusterAddGroupIfIdentifyingParams alloc] init]; params.timedInvokeTimeoutMs @@ -1060,7 +1060,7 @@ class ReadGroupsNameSupport : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNameSupportWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.NameSupport response %@", [value description]); @@ -1087,7 +1087,7 @@ class SubscribeAttributeGroupsNameSupport : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000004) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -1126,7 +1126,7 @@ class ReadGroupsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.GeneratedCommandList response %@", [value description]); @@ -1153,7 +1153,7 @@ class SubscribeAttributeGroupsGeneratedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000004) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -1192,7 +1192,7 @@ class ReadGroupsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.AcceptedCommandList response %@", [value description]); @@ -1219,7 +1219,7 @@ class SubscribeAttributeGroupsAcceptedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000004) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -1258,7 +1258,7 @@ class ReadGroupsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.AttributeList response %@", [value description]); @@ -1285,7 +1285,7 @@ class SubscribeAttributeGroupsAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000004) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -1324,7 +1324,7 @@ class ReadGroupsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.FeatureMap response %@", [value description]); @@ -1351,7 +1351,7 @@ class SubscribeAttributeGroupsFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000004) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -1390,7 +1390,7 @@ class ReadGroupsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Groups.ClusterRevision response %@", [value description]); @@ -1417,7 +1417,7 @@ class SubscribeAttributeGroupsClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000004) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -1492,7 +1492,7 @@ class ScenesAddScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterAddSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -1580,7 +1580,7 @@ class ScenesViewScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterViewSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -1629,7 +1629,7 @@ class ScenesRemoveScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterRemoveSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -1678,7 +1678,7 @@ class ScenesRemoveAllScenes : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterRemoveAllScenesParams alloc] init]; params.timedInvokeTimeoutMs @@ -1727,7 +1727,7 @@ class ScenesStoreScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterStoreSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -1778,7 +1778,7 @@ class ScenesRecallScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterRecallSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -1834,7 +1834,7 @@ class ScenesGetSceneMembership : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterGetSceneMembershipParams alloc] init]; params.timedInvokeTimeoutMs @@ -1887,7 +1887,7 @@ class ScenesEnhancedAddScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterEnhancedAddSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -1976,7 +1976,7 @@ class ScenesEnhancedViewScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterEnhancedViewSceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -2029,7 +2029,7 @@ class ScenesCopyScene : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRScenesClusterCopySceneParams alloc] init]; params.timedInvokeTimeoutMs @@ -2080,7 +2080,7 @@ class ReadScenesSceneCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSceneCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.SceneCount response %@", [value description]); @@ -2107,7 +2107,7 @@ class SubscribeAttributeScenesSceneCount : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2146,7 +2146,7 @@ class ReadScenesCurrentScene : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentSceneWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.CurrentScene response %@", [value description]); @@ -2173,7 +2173,7 @@ class SubscribeAttributeScenesCurrentScene : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2212,7 +2212,7 @@ class ReadScenesCurrentGroup : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentGroupWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.CurrentGroup response %@", [value description]); @@ -2239,7 +2239,7 @@ class SubscribeAttributeScenesCurrentGroup : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2278,7 +2278,7 @@ class ReadScenesSceneValid : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSceneValidWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.SceneValid response %@", [value description]); @@ -2305,7 +2305,7 @@ class SubscribeAttributeScenesSceneValid : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2344,7 +2344,7 @@ class ReadScenesNameSupport : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNameSupportWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.NameSupport response %@", [value description]); @@ -2371,7 +2371,7 @@ class SubscribeAttributeScenesNameSupport : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2410,7 +2410,7 @@ class ReadScenesLastConfiguredBy : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLastConfiguredByWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.LastConfiguredBy response %@", [value description]); @@ -2437,7 +2437,7 @@ class SubscribeAttributeScenesLastConfiguredBy : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2476,7 +2476,7 @@ class ReadScenesGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.GeneratedCommandList response %@", [value description]); @@ -2503,7 +2503,7 @@ class SubscribeAttributeScenesGeneratedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2542,7 +2542,7 @@ class ReadScenesAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.AcceptedCommandList response %@", [value description]); @@ -2569,7 +2569,7 @@ class SubscribeAttributeScenesAcceptedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2608,7 +2608,7 @@ class ReadScenesAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.AttributeList response %@", [value description]); @@ -2635,7 +2635,7 @@ class SubscribeAttributeScenesAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2674,7 +2674,7 @@ class ReadScenesFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.FeatureMap response %@", [value description]); @@ -2701,7 +2701,7 @@ class SubscribeAttributeScenesFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2740,7 +2740,7 @@ class ReadScenesClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Scenes.ClusterRevision response %@", [value description]); @@ -2767,7 +2767,7 @@ class SubscribeAttributeScenesClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000005) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterScenes * cluster = [[MTRBaseClusterScenes alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -2830,7 +2830,9 @@ class OnOffOff : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTROnOffClusterOffParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -2871,7 +2873,9 @@ class OnOffOn : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTROnOffClusterOnParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -2912,7 +2916,9 @@ class OnOffToggle : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTROnOffClusterToggleParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -2955,7 +2961,9 @@ class OnOffOffWithEffect : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000040) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTROnOffClusterOffWithEffectParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -2999,7 +3007,9 @@ class OnOffOnWithRecallGlobalScene : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000041) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTROnOffClusterOnWithRecallGlobalSceneParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -3043,7 +3053,9 @@ class OnOffOnWithTimedOff : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000006) command (0x00000042) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTROnOffClusterOnWithTimedOffParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -3089,7 +3101,9 @@ class ReadOnOffOnOff : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.OnOff response %@", [value description]); if (error != nil) { @@ -3114,7 +3128,9 @@ class SubscribeAttributeOnOffOnOff : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3151,7 +3167,9 @@ class ReadOnOffGlobalSceneControl : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeGlobalSceneControlWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.GlobalSceneControl response %@", [value description]); if (error != nil) { @@ -3176,7 +3194,9 @@ class SubscribeAttributeOnOffGlobalSceneControl : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3213,7 +3233,9 @@ class ReadOnOffOnTime : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x00004001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeOnTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.OnTime response %@", [value description]); if (error != nil) { @@ -3241,7 +3263,9 @@ class WriteOnOffOnTime : public WriteAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) WriteAttribute (0x00004001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -3276,7 +3300,9 @@ class SubscribeAttributeOnOffOnTime : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x00004001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3313,7 +3339,9 @@ class ReadOnOffOffWaitTime : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x00004002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeOffWaitTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.OffWaitTime response %@", [value description]); if (error != nil) { @@ -3341,7 +3369,9 @@ class WriteOnOffOffWaitTime : public WriteAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) WriteAttribute (0x00004002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -3376,7 +3406,9 @@ class SubscribeAttributeOnOffOffWaitTime : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x00004002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3413,7 +3445,9 @@ class ReadOnOffStartUpOnOff : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x00004003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeStartUpOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.StartUpOnOff response %@", [value description]); if (error != nil) { @@ -3441,7 +3475,9 @@ class WriteOnOffStartUpOnOff : public WriteAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) WriteAttribute (0x00004003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -3476,7 +3512,9 @@ class SubscribeAttributeOnOffStartUpOnOff : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x00004003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3513,7 +3551,9 @@ class ReadOnOffGeneratedCommandList : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -3538,7 +3578,9 @@ class SubscribeAttributeOnOffGeneratedCommandList : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3575,7 +3617,9 @@ class ReadOnOffAcceptedCommandList : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -3600,7 +3644,9 @@ class SubscribeAttributeOnOffAcceptedCommandList : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3637,7 +3683,9 @@ class ReadOnOffAttributeList : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.AttributeList response %@", [value description]); if (error != nil) { @@ -3662,7 +3710,9 @@ class SubscribeAttributeOnOffAttributeList : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3699,7 +3749,9 @@ class ReadOnOffFeatureMap : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.FeatureMap response %@", [value description]); if (error != nil) { @@ -3724,7 +3776,9 @@ class SubscribeAttributeOnOffFeatureMap : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3761,7 +3815,9 @@ class ReadOnOffClusterRevision : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReadAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOff.ClusterRevision response %@", [value description]); if (error != nil) { @@ -3786,7 +3842,9 @@ class SubscribeAttributeOnOffClusterRevision : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000006) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3841,7 +3899,7 @@ class ReadOnOffSwitchConfigurationSwitchType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSwitchTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.SwitchType response %@", [value description]); if (error != nil) { @@ -3867,7 +3925,7 @@ class SubscribeAttributeOnOffSwitchConfigurationSwitchType : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -3905,7 +3963,7 @@ class ReadOnOffSwitchConfigurationSwitchActions : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSwitchActionsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.SwitchActions response %@", [value description]); if (error != nil) { @@ -3934,7 +3992,7 @@ class WriteOnOffSwitchConfigurationSwitchActions : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000007) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -3970,7 +4028,7 @@ class SubscribeAttributeOnOffSwitchConfigurationSwitchActions : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -4008,7 +4066,7 @@ class ReadOnOffSwitchConfigurationGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -4034,7 +4092,7 @@ class SubscribeAttributeOnOffSwitchConfigurationGeneratedCommandList : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -4072,7 +4130,7 @@ class ReadOnOffSwitchConfigurationAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -4098,7 +4156,7 @@ class SubscribeAttributeOnOffSwitchConfigurationAcceptedCommandList : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -4136,7 +4194,7 @@ class ReadOnOffSwitchConfigurationAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.AttributeList response %@", [value description]); if (error != nil) { @@ -4162,7 +4220,7 @@ class SubscribeAttributeOnOffSwitchConfigurationAttributeList : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -4200,7 +4258,7 @@ class ReadOnOffSwitchConfigurationFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.FeatureMap response %@", [value description]); if (error != nil) { @@ -4226,7 +4284,7 @@ class SubscribeAttributeOnOffSwitchConfigurationFeatureMap : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -4264,7 +4322,7 @@ class ReadOnOffSwitchConfigurationClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OnOffSwitchConfiguration.ClusterRevision response %@", [value description]); if (error != nil) { @@ -4290,7 +4348,7 @@ class SubscribeAttributeOnOffSwitchConfigurationClusterRevision : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000007) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOnOffSwitchConfiguration * cluster = - [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOnOffSwitchConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -4369,7 +4427,7 @@ class LevelControlMoveToLevel : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterMoveToLevelParams alloc] init]; params.timedInvokeTimeoutMs @@ -4425,7 +4483,7 @@ class LevelControlMove : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterMoveParams alloc] init]; params.timedInvokeTimeoutMs @@ -4482,7 +4540,7 @@ class LevelControlStep : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterStepParams alloc] init]; params.timedInvokeTimeoutMs @@ -4537,7 +4595,7 @@ class LevelControlStop : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterStopParams alloc] init]; params.timedInvokeTimeoutMs @@ -4587,7 +4645,7 @@ class LevelControlMoveToLevelWithOnOff : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterMoveToLevelWithOnOffParams alloc] init]; params.timedInvokeTimeoutMs @@ -4643,7 +4701,7 @@ class LevelControlMoveWithOnOff : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterMoveWithOnOffParams alloc] init]; params.timedInvokeTimeoutMs @@ -4700,7 +4758,7 @@ class LevelControlStepWithOnOff : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterStepWithOnOffParams alloc] init]; params.timedInvokeTimeoutMs @@ -4755,7 +4813,7 @@ class LevelControlStopWithOnOff : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterStopWithOnOffParams alloc] init]; params.timedInvokeTimeoutMs @@ -4802,7 +4860,7 @@ class LevelControlMoveToClosestFrequency : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLevelControlClusterMoveToClosestFrequencyParams alloc] init]; params.timedInvokeTimeoutMs @@ -4848,7 +4906,7 @@ class ReadLevelControlCurrentLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.CurrentLevel response %@", [value description]); @@ -4875,7 +4933,7 @@ class SubscribeAttributeLevelControlCurrentLevel : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -4914,7 +4972,7 @@ class ReadLevelControlRemainingTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRemainingTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.RemainingTime response %@", [value description]); @@ -4941,7 +4999,7 @@ class SubscribeAttributeLevelControlRemainingTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -4980,7 +5038,7 @@ class ReadLevelControlMinLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MinLevel response %@", [value description]); @@ -5007,7 +5065,7 @@ class SubscribeAttributeLevelControlMinLevel : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5046,7 +5104,7 @@ class ReadLevelControlMaxLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MaxLevel response %@", [value description]); @@ -5073,7 +5131,7 @@ class SubscribeAttributeLevelControlMaxLevel : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5112,7 +5170,7 @@ class ReadLevelControlCurrentFrequency : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentFrequencyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.CurrentFrequency response %@", [value description]); @@ -5139,7 +5197,7 @@ class SubscribeAttributeLevelControlCurrentFrequency : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5178,7 +5236,7 @@ class ReadLevelControlMinFrequency : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinFrequencyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MinFrequency response %@", [value description]); @@ -5205,7 +5263,7 @@ class SubscribeAttributeLevelControlMinFrequency : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5244,7 +5302,7 @@ class ReadLevelControlMaxFrequency : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxFrequencyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.MaxFrequency response %@", [value description]); @@ -5271,7 +5329,7 @@ class SubscribeAttributeLevelControlMaxFrequency : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5310,7 +5368,7 @@ class ReadLevelControlOptions : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOptionsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.Options response %@", [value description]); @@ -5340,7 +5398,7 @@ class WriteLevelControlOptions : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -5377,7 +5435,7 @@ class SubscribeAttributeLevelControlOptions : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5416,7 +5474,7 @@ class ReadLevelControlOnOffTransitionTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOnOffTransitionTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OnOffTransitionTime response %@", [value description]); @@ -5446,7 +5504,7 @@ class WriteLevelControlOnOffTransitionTime : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -5483,7 +5541,7 @@ class SubscribeAttributeLevelControlOnOffTransitionTime : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5522,7 +5580,7 @@ class ReadLevelControlOnLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOnLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OnLevel response %@", [value description]); @@ -5552,7 +5610,7 @@ class WriteLevelControlOnLevel : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -5589,7 +5647,7 @@ class SubscribeAttributeLevelControlOnLevel : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5628,7 +5686,7 @@ class ReadLevelControlOnTransitionTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOnTransitionTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OnTransitionTime response %@", [value description]); @@ -5658,7 +5716,7 @@ class WriteLevelControlOnTransitionTime : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -5695,7 +5753,7 @@ class SubscribeAttributeLevelControlOnTransitionTime : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5734,7 +5792,7 @@ class ReadLevelControlOffTransitionTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOffTransitionTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.OffTransitionTime response %@", [value description]); @@ -5764,7 +5822,7 @@ class WriteLevelControlOffTransitionTime : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -5801,7 +5859,7 @@ class SubscribeAttributeLevelControlOffTransitionTime : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5840,7 +5898,7 @@ class ReadLevelControlDefaultMoveRate : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDefaultMoveRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.DefaultMoveRate response %@", [value description]); @@ -5870,7 +5928,7 @@ class WriteLevelControlDefaultMoveRate : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -5907,7 +5965,7 @@ class SubscribeAttributeLevelControlDefaultMoveRate : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -5946,7 +6004,7 @@ class ReadLevelControlStartUpCurrentLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStartUpCurrentLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.StartUpCurrentLevel response %@", [value description]); @@ -5976,7 +6034,7 @@ class WriteLevelControlStartUpCurrentLevel : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) WriteAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -6013,7 +6071,7 @@ class SubscribeAttributeLevelControlStartUpCurrentLevel : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6052,7 +6110,7 @@ class ReadLevelControlGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.GeneratedCommandList response %@", [value description]); @@ -6079,7 +6137,7 @@ class SubscribeAttributeLevelControlGeneratedCommandList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6118,7 +6176,7 @@ class ReadLevelControlAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.AcceptedCommandList response %@", [value description]); @@ -6145,7 +6203,7 @@ class SubscribeAttributeLevelControlAcceptedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6184,7 +6242,7 @@ class ReadLevelControlAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.AttributeList response %@", [value description]); @@ -6211,7 +6269,7 @@ class SubscribeAttributeLevelControlAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6250,7 +6308,7 @@ class ReadLevelControlFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.FeatureMap response %@", [value description]); @@ -6277,7 +6335,7 @@ class SubscribeAttributeLevelControlFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6316,7 +6374,7 @@ class ReadLevelControlClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LevelControl.ClusterRevision response %@", [value description]); @@ -6343,7 +6401,7 @@ class SubscribeAttributeLevelControlClusterRevision : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000008) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6406,7 +6464,7 @@ class ReadBinaryInputBasicActiveText : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveTextWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.ActiveText response %@", [value description]); @@ -6436,7 +6494,7 @@ class WriteBinaryInputBasicActiveText : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) WriteAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -6475,7 +6533,7 @@ class SubscribeAttributeBinaryInputBasicActiveText : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6514,7 +6572,7 @@ class ReadBinaryInputBasicDescription : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDescriptionWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.Description response %@", [value description]); @@ -6544,7 +6602,7 @@ class WriteBinaryInputBasicDescription : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) WriteAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -6583,7 +6641,7 @@ class SubscribeAttributeBinaryInputBasicDescription : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6622,7 +6680,7 @@ class ReadBinaryInputBasicInactiveText : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInactiveTextWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.InactiveText response %@", [value description]); @@ -6652,7 +6710,7 @@ class WriteBinaryInputBasicInactiveText : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) WriteAttribute (0x0000002E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -6691,7 +6749,7 @@ class SubscribeAttributeBinaryInputBasicInactiveText : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000002E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6730,7 +6788,7 @@ class ReadBinaryInputBasicOutOfService : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOutOfServiceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.OutOfService response %@", [value description]); @@ -6760,7 +6818,7 @@ class WriteBinaryInputBasicOutOfService : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) WriteAttribute (0x00000051) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -6797,7 +6855,7 @@ class SubscribeAttributeBinaryInputBasicOutOfService : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x00000051) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6836,7 +6894,7 @@ class ReadBinaryInputBasicPolarity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePolarityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.Polarity response %@", [value description]); @@ -6863,7 +6921,7 @@ class SubscribeAttributeBinaryInputBasicPolarity : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x00000054) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -6902,7 +6960,7 @@ class ReadBinaryInputBasicPresentValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePresentValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.PresentValue response %@", [value description]); @@ -6932,7 +6990,7 @@ class WriteBinaryInputBasicPresentValue : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) WriteAttribute (0x00000055) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -6969,7 +7027,7 @@ class SubscribeAttributeBinaryInputBasicPresentValue : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x00000055) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7008,7 +7066,7 @@ class ReadBinaryInputBasicReliability : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReliabilityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.Reliability response %@", [value description]); @@ -7038,7 +7096,7 @@ class WriteBinaryInputBasicReliability : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) WriteAttribute (0x00000067) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -7075,7 +7133,7 @@ class SubscribeAttributeBinaryInputBasicReliability : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x00000067) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7114,7 +7172,7 @@ class ReadBinaryInputBasicStatusFlags : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStatusFlagsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.StatusFlags response %@", [value description]); @@ -7141,7 +7199,7 @@ class SubscribeAttributeBinaryInputBasicStatusFlags : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000006F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7180,7 +7238,7 @@ class ReadBinaryInputBasicApplicationType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApplicationTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.ApplicationType response %@", [value description]); @@ -7207,7 +7265,7 @@ class SubscribeAttributeBinaryInputBasicApplicationType : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x00000100) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7246,7 +7304,7 @@ class ReadBinaryInputBasicGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.GeneratedCommandList response %@", [value description]); @@ -7273,7 +7331,7 @@ class SubscribeAttributeBinaryInputBasicGeneratedCommandList : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7312,7 +7370,7 @@ class ReadBinaryInputBasicAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.AcceptedCommandList response %@", [value description]); @@ -7339,7 +7397,7 @@ class SubscribeAttributeBinaryInputBasicAcceptedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7378,7 +7436,7 @@ class ReadBinaryInputBasicAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.AttributeList response %@", [value description]); @@ -7405,7 +7463,7 @@ class SubscribeAttributeBinaryInputBasicAttributeList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7444,7 +7502,7 @@ class ReadBinaryInputBasicFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.FeatureMap response %@", [value description]); @@ -7471,7 +7529,7 @@ class SubscribeAttributeBinaryInputBasicFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7510,7 +7568,7 @@ class ReadBinaryInputBasicClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BinaryInputBasic.ClusterRevision response %@", [value description]); @@ -7537,7 +7595,7 @@ class SubscribeAttributeBinaryInputBasicClusterRevision : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000000F) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinaryInputBasic * cluster = [[MTRBaseClusterBinaryInputBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7595,7 +7653,7 @@ class ReadDescriptorDeviceTypeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDeviceListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.DeviceTypeList response %@", [value description]); @@ -7622,7 +7680,7 @@ class SubscribeAttributeDescriptorDeviceTypeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7661,7 +7719,7 @@ class ReadDescriptorServerList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeServerListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.ServerList response %@", [value description]); @@ -7688,7 +7746,7 @@ class SubscribeAttributeDescriptorServerList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7727,7 +7785,7 @@ class ReadDescriptorClientList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClientListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.ClientList response %@", [value description]); @@ -7754,7 +7812,7 @@ class SubscribeAttributeDescriptorClientList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7793,7 +7851,7 @@ class ReadDescriptorPartsList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePartsListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.PartsList response %@", [value description]); @@ -7820,7 +7878,7 @@ class SubscribeAttributeDescriptorPartsList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7859,7 +7917,7 @@ class ReadDescriptorGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.GeneratedCommandList response %@", [value description]); @@ -7886,7 +7944,7 @@ class SubscribeAttributeDescriptorGeneratedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7925,7 +7983,7 @@ class ReadDescriptorAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.AcceptedCommandList response %@", [value description]); @@ -7952,7 +8010,7 @@ class SubscribeAttributeDescriptorAcceptedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -7991,7 +8049,7 @@ class ReadDescriptorAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.AttributeList response %@", [value description]); @@ -8018,7 +8076,7 @@ class SubscribeAttributeDescriptorAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8057,7 +8115,7 @@ class ReadDescriptorFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.FeatureMap response %@", [value description]); @@ -8084,7 +8142,7 @@ class SubscribeAttributeDescriptorFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8123,7 +8181,7 @@ class ReadDescriptorClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Descriptor.ClusterRevision response %@", [value description]); @@ -8150,7 +8208,7 @@ class SubscribeAttributeDescriptorClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001D) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8205,7 +8263,7 @@ class ReadBindingBinding : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -8239,7 +8297,7 @@ class WriteBindingBinding : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001E) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -8307,7 +8365,7 @@ class SubscribeAttributeBindingBinding : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001E) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8346,7 +8404,7 @@ class ReadBindingGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.GeneratedCommandList response %@", [value description]); @@ -8373,7 +8431,7 @@ class SubscribeAttributeBindingGeneratedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000001E) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8412,7 +8470,7 @@ class ReadBindingAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.AcceptedCommandList response %@", [value description]); @@ -8439,7 +8497,7 @@ class SubscribeAttributeBindingAcceptedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001E) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8478,7 +8536,7 @@ class ReadBindingAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.AttributeList response %@", [value description]); @@ -8505,7 +8563,7 @@ class SubscribeAttributeBindingAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001E) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8544,7 +8602,7 @@ class ReadBindingFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.FeatureMap response %@", [value description]); @@ -8571,7 +8629,7 @@ class SubscribeAttributeBindingFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001E) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8610,7 +8668,7 @@ class ReadBindingClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Binding.ClusterRevision response %@", [value description]); @@ -8637,7 +8695,7 @@ class SubscribeAttributeBindingClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001E) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8698,7 +8756,7 @@ class ReadAccessControlAcl : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -8732,7 +8790,7 @@ class WriteAccessControlAcl : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001F) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -8824,7 +8882,7 @@ class SubscribeAttributeAccessControlAcl : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8863,7 +8921,7 @@ class ReadAccessControlExtension : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -8897,7 +8955,7 @@ class WriteAccessControlExtension : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001F) WriteAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -8947,7 +9005,7 @@ class SubscribeAttributeAccessControlExtension : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -8986,7 +9044,7 @@ class ReadAccessControlSubjectsPerAccessControlEntry : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSubjectsPerAccessControlEntryWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -9014,7 +9072,7 @@ class SubscribeAttributeAccessControlSubjectsPerAccessControlEntry : public Subs ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9053,7 +9111,7 @@ class ReadAccessControlTargetsPerAccessControlEntry : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTargetsPerAccessControlEntryWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -9081,7 +9139,7 @@ class SubscribeAttributeAccessControlTargetsPerAccessControlEntry : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9120,7 +9178,7 @@ class ReadAccessControlAccessControlEntriesPerFabric : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAccessControlEntriesPerFabricWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -9148,7 +9206,7 @@ class SubscribeAttributeAccessControlAccessControlEntriesPerFabric : public Subs ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9187,7 +9245,7 @@ class ReadAccessControlGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.GeneratedCommandList response %@", [value description]); @@ -9214,7 +9272,7 @@ class SubscribeAttributeAccessControlGeneratedCommandList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9253,7 +9311,7 @@ class ReadAccessControlAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.AcceptedCommandList response %@", [value description]); @@ -9280,7 +9338,7 @@ class SubscribeAttributeAccessControlAcceptedCommandList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9319,7 +9377,7 @@ class ReadAccessControlAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.AttributeList response %@", [value description]); @@ -9346,7 +9404,7 @@ class SubscribeAttributeAccessControlAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9385,7 +9443,7 @@ class ReadAccessControlFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.FeatureMap response %@", [value description]); @@ -9412,7 +9470,7 @@ class SubscribeAttributeAccessControlFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9451,7 +9509,7 @@ class ReadAccessControlClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AccessControl.ClusterRevision response %@", [value description]); @@ -9478,7 +9536,7 @@ class SubscribeAttributeAccessControlClusterRevision : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000001F) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -9550,7 +9608,7 @@ class ActionsInstantAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterInstantActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -9603,7 +9661,7 @@ class ActionsInstantActionWithTransition : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterInstantActionWithTransitionParams alloc] init]; params.timedInvokeTimeoutMs @@ -9656,7 +9714,7 @@ class ActionsStartAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterStartActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -9709,7 +9767,7 @@ class ActionsStartActionWithDuration : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterStartActionWithDurationParams alloc] init]; params.timedInvokeTimeoutMs @@ -9762,7 +9820,7 @@ class ActionsStopAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterStopActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -9814,7 +9872,7 @@ class ActionsPauseAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterPauseActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -9867,7 +9925,7 @@ class ActionsPauseActionWithDuration : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterPauseActionWithDurationParams alloc] init]; params.timedInvokeTimeoutMs @@ -9920,7 +9978,7 @@ class ActionsResumeAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterResumeActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -9972,7 +10030,7 @@ class ActionsEnableAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterEnableActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -10025,7 +10083,7 @@ class ActionsEnableActionWithDuration : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterEnableActionWithDurationParams alloc] init]; params.timedInvokeTimeoutMs @@ -10078,7 +10136,7 @@ class ActionsDisableAction : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterDisableActionParams alloc] init]; params.timedInvokeTimeoutMs @@ -10131,7 +10189,7 @@ class ActionsDisableActionWithDuration : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRActionsClusterDisableActionWithDurationParams alloc] init]; params.timedInvokeTimeoutMs @@ -10183,7 +10241,7 @@ class ReadActionsActionList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActionListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.ActionList response %@", [value description]); @@ -10210,7 +10268,7 @@ class SubscribeAttributeActionsActionList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10249,7 +10307,7 @@ class ReadActionsEndpointLists : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEndpointListsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.EndpointLists response %@", [value description]); @@ -10276,7 +10334,7 @@ class SubscribeAttributeActionsEndpointLists : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10315,7 +10373,7 @@ class ReadActionsSetupURL : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSetupURLWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.SetupURL response %@", [value description]); @@ -10342,7 +10400,7 @@ class SubscribeAttributeActionsSetupURL : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10381,7 +10439,7 @@ class ReadActionsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.GeneratedCommandList response %@", [value description]); @@ -10408,7 +10466,7 @@ class SubscribeAttributeActionsGeneratedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10447,7 +10505,7 @@ class ReadActionsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.AcceptedCommandList response %@", [value description]); @@ -10474,7 +10532,7 @@ class SubscribeAttributeActionsAcceptedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10513,7 +10571,7 @@ class ReadActionsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.AttributeList response %@", [value description]); @@ -10540,7 +10598,7 @@ class SubscribeAttributeActionsAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10579,7 +10637,7 @@ class ReadActionsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.FeatureMap response %@", [value description]); @@ -10606,7 +10664,7 @@ class SubscribeAttributeActionsFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10645,7 +10703,7 @@ class ReadActionsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Actions.ClusterRevision response %@", [value description]); @@ -10672,7 +10730,7 @@ class SubscribeAttributeActionsClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000025) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -10749,7 +10807,9 @@ class BasicMfgSpecificPing : public ClusterCommand { ChipLogProgress(chipTool, "Sending cluster (0x00000028) command (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; __auto_type * params = [[MTRBasicClusterMfgSpecificPingParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -10791,7 +10851,9 @@ class ReadBasicDataModelRevision : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeDataModelRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.DataModelRevision response %@", [value description]); if (error != nil) { @@ -10816,7 +10878,9 @@ class SubscribeAttributeBasicDataModelRevision : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -10853,7 +10917,9 @@ class ReadBasicVendorName : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeVendorNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.VendorName response %@", [value description]); if (error != nil) { @@ -10878,7 +10944,9 @@ class SubscribeAttributeBasicVendorName : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -10915,7 +10983,9 @@ class ReadBasicVendorID : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeVendorIDWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.VendorID response %@", [value description]); if (error != nil) { @@ -10940,7 +11010,9 @@ class SubscribeAttributeBasicVendorID : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -10977,7 +11049,9 @@ class ReadBasicProductName : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeProductNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductName response %@", [value description]); if (error != nil) { @@ -11002,7 +11076,9 @@ class SubscribeAttributeBasicProductName : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11039,7 +11115,9 @@ class ReadBasicProductID : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeProductIDWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductID response %@", [value description]); if (error != nil) { @@ -11064,7 +11142,9 @@ class SubscribeAttributeBasicProductID : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11101,7 +11181,9 @@ class ReadBasicNodeLabel : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.NodeLabel response %@", [value description]); if (error != nil) { @@ -11129,7 +11211,9 @@ class WriteBasicNodeLabel : public WriteAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -11166,7 +11250,9 @@ class SubscribeAttributeBasicNodeLabel : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11203,7 +11289,9 @@ class ReadBasicLocation : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeLocationWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.Location response %@", [value description]); if (error != nil) { @@ -11231,7 +11319,9 @@ class WriteBasicLocation : public WriteAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) WriteAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -11268,7 +11358,9 @@ class SubscribeAttributeBasicLocation : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11305,7 +11397,9 @@ class ReadBasicHardwareVersion : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeHardwareVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.HardwareVersion response %@", [value description]); if (error != nil) { @@ -11330,7 +11424,9 @@ class SubscribeAttributeBasicHardwareVersion : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11367,7 +11463,9 @@ class ReadBasicHardwareVersionString : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeHardwareVersionStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.HardwareVersionString response %@", [value description]); if (error != nil) { @@ -11392,7 +11490,9 @@ class SubscribeAttributeBasicHardwareVersionString : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11429,7 +11529,9 @@ class ReadBasicSoftwareVersion : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeSoftwareVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.SoftwareVersion response %@", [value description]); if (error != nil) { @@ -11454,7 +11556,9 @@ class SubscribeAttributeBasicSoftwareVersion : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11491,7 +11595,9 @@ class ReadBasicSoftwareVersionString : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeSoftwareVersionStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.SoftwareVersionString response %@", [value description]); if (error != nil) { @@ -11516,7 +11622,9 @@ class SubscribeAttributeBasicSoftwareVersionString : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11553,7 +11661,9 @@ class ReadBasicManufacturingDate : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeManufacturingDateWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ManufacturingDate response %@", [value description]); if (error != nil) { @@ -11578,7 +11688,9 @@ class SubscribeAttributeBasicManufacturingDate : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11615,7 +11727,9 @@ class ReadBasicPartNumber : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributePartNumberWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.PartNumber response %@", [value description]); if (error != nil) { @@ -11640,7 +11754,9 @@ class SubscribeAttributeBasicPartNumber : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11677,7 +11793,9 @@ class ReadBasicProductURL : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeProductURLWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductURL response %@", [value description]); if (error != nil) { @@ -11702,7 +11820,9 @@ class SubscribeAttributeBasicProductURL : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11739,7 +11859,9 @@ class ReadBasicProductLabel : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeProductLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ProductLabel response %@", [value description]); if (error != nil) { @@ -11764,7 +11886,9 @@ class SubscribeAttributeBasicProductLabel : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11801,7 +11925,9 @@ class ReadBasicSerialNumber : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeSerialNumberWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.SerialNumber response %@", [value description]); if (error != nil) { @@ -11826,7 +11952,9 @@ class SubscribeAttributeBasicSerialNumber : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11863,7 +11991,9 @@ class ReadBasicLocalConfigDisabled : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeLocalConfigDisabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.LocalConfigDisabled response %@", [value description]); if (error != nil) { @@ -11891,7 +12021,9 @@ class WriteBasicLocalConfigDisabled : public WriteAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -11926,7 +12058,9 @@ class SubscribeAttributeBasicLocalConfigDisabled : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -11963,7 +12097,9 @@ class ReadBasicReachable : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeReachableWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.Reachable response %@", [value description]); if (error != nil) { @@ -11988,7 +12124,9 @@ class SubscribeAttributeBasicReachable : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12025,7 +12163,9 @@ class ReadBasicUniqueID : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeUniqueIDWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.UniqueID response %@", [value description]); if (error != nil) { @@ -12050,7 +12190,9 @@ class SubscribeAttributeBasicUniqueID : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12087,7 +12229,9 @@ class ReadBasicCapabilityMinima : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeCapabilityMinimaWithCompletionHandler:^( MTRBasicClusterCapabilityMinimaStruct * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.CapabilityMinima response %@", [value description]); @@ -12113,7 +12257,9 @@ class SubscribeAttributeBasicCapabilityMinima : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12150,7 +12296,9 @@ class ReadBasicGeneratedCommandList : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -12175,7 +12323,9 @@ class SubscribeAttributeBasicGeneratedCommandList : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12212,7 +12362,9 @@ class ReadBasicAcceptedCommandList : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -12237,7 +12389,9 @@ class SubscribeAttributeBasicAcceptedCommandList : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12274,7 +12428,9 @@ class ReadBasicAttributeList : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.AttributeList response %@", [value description]); if (error != nil) { @@ -12299,7 +12455,9 @@ class SubscribeAttributeBasicAttributeList : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12336,7 +12494,9 @@ class ReadBasicFeatureMap : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.FeatureMap response %@", [value description]); if (error != nil) { @@ -12361,7 +12521,9 @@ class SubscribeAttributeBasicFeatureMap : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12398,7 +12560,9 @@ class ReadBasicClusterRevision : public ReadAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReadAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Basic.ClusterRevision response %@", [value description]); if (error != nil) { @@ -12423,7 +12587,9 @@ class SubscribeAttributeBasicClusterRevision : public SubscribeAttribute { { ChipLogProgress(chipTool, "Sending cluster (0x00000028) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device + endpointID:@(endpointId) + queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12487,7 +12653,7 @@ class OtaSoftwareUpdateProviderQueryImage : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROtaSoftwareUpdateProviderClusterQueryImageParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -12571,7 +12737,7 @@ class OtaSoftwareUpdateProviderApplyUpdateRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -12620,7 +12786,7 @@ class OtaSoftwareUpdateProviderNotifyUpdateApplied : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROtaSoftwareUpdateProviderClusterNotifyUpdateAppliedParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -12666,7 +12832,7 @@ class ReadOtaSoftwareUpdateProviderGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -12692,7 +12858,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderGeneratedCommandList : public S ChipLogProgress(chipTool, "Sending cluster (0x00000029) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12730,7 +12896,7 @@ class ReadOtaSoftwareUpdateProviderAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -12756,7 +12922,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderAcceptedCommandList : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000029) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12794,7 +12960,7 @@ class ReadOtaSoftwareUpdateProviderAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.AttributeList response %@", [value description]); if (error != nil) { @@ -12820,7 +12986,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderAttributeList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000029) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12858,7 +13024,7 @@ class ReadOtaSoftwareUpdateProviderFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.FeatureMap response %@", [value description]); if (error != nil) { @@ -12884,7 +13050,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderFeatureMap : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000029) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -12922,7 +13088,7 @@ class ReadOtaSoftwareUpdateProviderClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateProvider.ClusterRevision response %@", [value description]); if (error != nil) { @@ -12948,7 +13114,7 @@ class SubscribeAttributeOtaSoftwareUpdateProviderClusterRevision : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000029) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateProvider * cluster = - [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateProvider alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13013,7 +13179,7 @@ class OtaSoftwareUpdateRequestorAnnounceOtaProvider : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -13067,7 +13233,7 @@ class ReadOtaSoftwareUpdateRequestorDefaultOtaProviders : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; [cluster @@ -13101,7 +13267,7 @@ class WriteOtaSoftwareUpdateRequestorDefaultOtaProviders : public WriteAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000002A) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -13152,7 +13318,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorDefaultOtaProviders : public S ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13190,7 +13356,7 @@ class ReadOtaSoftwareUpdateRequestorUpdatePossible : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUpdatePossibleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.UpdatePossible response %@", [value description]); if (error != nil) { @@ -13216,7 +13382,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorUpdatePossible : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13254,7 +13420,7 @@ class ReadOtaSoftwareUpdateRequestorUpdateState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUpdateStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.UpdateState response %@", [value description]); if (error != nil) { @@ -13280,7 +13446,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorUpdateState : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13318,7 +13484,7 @@ class ReadOtaSoftwareUpdateRequestorUpdateStateProgress : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUpdateStateProgressWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.UpdateStateProgress response %@", [value description]); if (error != nil) { @@ -13344,7 +13510,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorUpdateStateProgress : public S ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13382,7 +13548,7 @@ class ReadOtaSoftwareUpdateRequestorGeneratedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -13408,7 +13574,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorGeneratedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13446,7 +13612,7 @@ class ReadOtaSoftwareUpdateRequestorAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -13472,7 +13638,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorAcceptedCommandList : public S ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13510,7 +13676,7 @@ class ReadOtaSoftwareUpdateRequestorAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.AttributeList response %@", [value description]); if (error != nil) { @@ -13536,7 +13702,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorAttributeList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13574,7 +13740,7 @@ class ReadOtaSoftwareUpdateRequestorFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.FeatureMap response %@", [value description]); if (error != nil) { @@ -13600,7 +13766,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorFeatureMap : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13638,7 +13804,7 @@ class ReadOtaSoftwareUpdateRequestorClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OtaSoftwareUpdateRequestor.ClusterRevision response %@", [value description]); if (error != nil) { @@ -13664,7 +13830,7 @@ class SubscribeAttributeOtaSoftwareUpdateRequestorClusterRevision : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000002A) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13719,7 +13885,7 @@ class ReadLocalizationConfigurationActiveLocale : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveLocaleWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.ActiveLocale response %@", [value description]); if (error != nil) { @@ -13748,7 +13914,7 @@ class WriteLocalizationConfigurationActiveLocale : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002B) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -13786,7 +13952,7 @@ class SubscribeAttributeLocalizationConfigurationActiveLocale : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13824,7 +13990,7 @@ class ReadLocalizationConfigurationSupportedLocales : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportedLocalesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.SupportedLocales response %@", [value description]); if (error != nil) { @@ -13850,7 +14016,7 @@ class SubscribeAttributeLocalizationConfigurationSupportedLocales : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13888,7 +14054,7 @@ class ReadLocalizationConfigurationGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -13914,7 +14080,7 @@ class SubscribeAttributeLocalizationConfigurationGeneratedCommandList : public S ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -13952,7 +14118,7 @@ class ReadLocalizationConfigurationAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -13978,7 +14144,7 @@ class SubscribeAttributeLocalizationConfigurationAcceptedCommandList : public Su ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14016,7 +14182,7 @@ class ReadLocalizationConfigurationAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.AttributeList response %@", [value description]); if (error != nil) { @@ -14042,7 +14208,7 @@ class SubscribeAttributeLocalizationConfigurationAttributeList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14080,7 +14246,7 @@ class ReadLocalizationConfigurationFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.FeatureMap response %@", [value description]); if (error != nil) { @@ -14106,7 +14272,7 @@ class SubscribeAttributeLocalizationConfigurationFeatureMap : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14144,7 +14310,7 @@ class ReadLocalizationConfigurationClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LocalizationConfiguration.ClusterRevision response %@", [value description]); if (error != nil) { @@ -14170,7 +14336,7 @@ class SubscribeAttributeLocalizationConfigurationClusterRevision : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x0000002B) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14226,7 +14392,7 @@ class ReadTimeFormatLocalizationHourFormat : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeHourFormatWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.HourFormat response %@", [value description]); if (error != nil) { @@ -14255,7 +14421,7 @@ class WriteTimeFormatLocalizationHourFormat : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002C) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -14291,7 +14457,7 @@ class SubscribeAttributeTimeFormatLocalizationHourFormat : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14329,7 +14495,7 @@ class ReadTimeFormatLocalizationActiveCalendarType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveCalendarTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.ActiveCalendarType response %@", [value description]); if (error != nil) { @@ -14358,7 +14524,7 @@ class WriteTimeFormatLocalizationActiveCalendarType : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002C) WriteAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -14394,7 +14560,7 @@ class SubscribeAttributeTimeFormatLocalizationActiveCalendarType : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14432,7 +14598,7 @@ class ReadTimeFormatLocalizationSupportedCalendarTypes : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportedCalendarTypesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.SupportedCalendarTypes response %@", [value description]); if (error != nil) { @@ -14458,7 +14624,7 @@ class SubscribeAttributeTimeFormatLocalizationSupportedCalendarTypes : public Su ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14496,7 +14662,7 @@ class ReadTimeFormatLocalizationGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -14522,7 +14688,7 @@ class SubscribeAttributeTimeFormatLocalizationGeneratedCommandList : public Subs ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14560,7 +14726,7 @@ class ReadTimeFormatLocalizationAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -14586,7 +14752,7 @@ class SubscribeAttributeTimeFormatLocalizationAcceptedCommandList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14624,7 +14790,7 @@ class ReadTimeFormatLocalizationAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.AttributeList response %@", [value description]); if (error != nil) { @@ -14650,7 +14816,7 @@ class SubscribeAttributeTimeFormatLocalizationAttributeList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14688,7 +14854,7 @@ class ReadTimeFormatLocalizationFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.FeatureMap response %@", [value description]); if (error != nil) { @@ -14714,7 +14880,7 @@ class SubscribeAttributeTimeFormatLocalizationFeatureMap : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14752,7 +14918,7 @@ class ReadTimeFormatLocalizationClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TimeFormatLocalization.ClusterRevision response %@", [value description]); if (error != nil) { @@ -14778,7 +14944,7 @@ class SubscribeAttributeTimeFormatLocalizationClusterRevision : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000002C) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -14832,7 +14998,7 @@ class ReadUnitLocalizationTemperatureUnit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTemperatureUnitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.TemperatureUnit response %@", [value description]); @@ -14862,7 +15028,7 @@ class WriteUnitLocalizationTemperatureUnit : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002D) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -14899,7 +15065,7 @@ class SubscribeAttributeUnitLocalizationTemperatureUnit : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002D) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -14938,7 +15104,7 @@ class ReadUnitLocalizationGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.GeneratedCommandList response %@", [value description]); @@ -14965,7 +15131,7 @@ class SubscribeAttributeUnitLocalizationGeneratedCommandList : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000002D) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15004,7 +15170,7 @@ class ReadUnitLocalizationAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.AcceptedCommandList response %@", [value description]); @@ -15031,7 +15197,7 @@ class SubscribeAttributeUnitLocalizationAcceptedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000002D) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15070,7 +15236,7 @@ class ReadUnitLocalizationAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.AttributeList response %@", [value description]); @@ -15097,7 +15263,7 @@ class SubscribeAttributeUnitLocalizationAttributeList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000002D) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15136,7 +15302,7 @@ class ReadUnitLocalizationFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.FeatureMap response %@", [value description]); @@ -15163,7 +15329,7 @@ class SubscribeAttributeUnitLocalizationFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002D) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15202,7 +15368,7 @@ class ReadUnitLocalizationClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UnitLocalization.ClusterRevision response %@", [value description]); @@ -15229,7 +15395,7 @@ class SubscribeAttributeUnitLocalizationClusterRevision : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002D) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15284,7 +15450,7 @@ class ReadPowerSourceConfigurationSources : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSourcesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.Sources response %@", [value description]); if (error != nil) { @@ -15310,7 +15476,7 @@ class SubscribeAttributePowerSourceConfigurationSources : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002E) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -15348,7 +15514,7 @@ class ReadPowerSourceConfigurationGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -15374,7 +15540,7 @@ class SubscribeAttributePowerSourceConfigurationGeneratedCommandList : public Su ChipLogProgress(chipTool, "Sending cluster (0x0000002E) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -15412,7 +15578,7 @@ class ReadPowerSourceConfigurationAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -15438,7 +15604,7 @@ class SubscribeAttributePowerSourceConfigurationAcceptedCommandList : public Sub ChipLogProgress(chipTool, "Sending cluster (0x0000002E) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -15476,7 +15642,7 @@ class ReadPowerSourceConfigurationAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.AttributeList response %@", [value description]); if (error != nil) { @@ -15502,7 +15668,7 @@ class SubscribeAttributePowerSourceConfigurationAttributeList : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000002E) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -15540,7 +15706,7 @@ class ReadPowerSourceConfigurationFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.FeatureMap response %@", [value description]); if (error != nil) { @@ -15566,7 +15732,7 @@ class SubscribeAttributePowerSourceConfigurationFeatureMap : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x0000002E) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -15604,7 +15770,7 @@ class ReadPowerSourceConfigurationClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSourceConfiguration.ClusterRevision response %@", [value description]); if (error != nil) { @@ -15630,7 +15796,7 @@ class SubscribeAttributePowerSourceConfigurationClusterRevision : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x0000002E) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -15714,7 +15880,7 @@ class ReadPowerSourceStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.Status response %@", [value description]); @@ -15741,7 +15907,7 @@ class SubscribeAttributePowerSourceStatus : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15780,7 +15946,7 @@ class ReadPowerSourceOrder : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOrderWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.Order response %@", [value description]); @@ -15807,7 +15973,7 @@ class SubscribeAttributePowerSourceOrder : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15846,7 +16012,7 @@ class ReadPowerSourceDescription : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDescriptionWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.Description response %@", [value description]); @@ -15873,7 +16039,7 @@ class SubscribeAttributePowerSourceDescription : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15912,7 +16078,7 @@ class ReadPowerSourceWiredAssessedInputVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredAssessedInputVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -15940,7 +16106,7 @@ class SubscribeAttributePowerSourceWiredAssessedInputVoltage : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -15979,7 +16145,7 @@ class ReadPowerSourceWiredAssessedInputFrequency : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredAssessedInputFrequencyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -16007,7 +16173,7 @@ class SubscribeAttributePowerSourceWiredAssessedInputFrequency : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16046,7 +16212,7 @@ class ReadPowerSourceWiredCurrentType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredCurrentTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.WiredCurrentType response %@", [value description]); @@ -16073,7 +16239,7 @@ class SubscribeAttributePowerSourceWiredCurrentType : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16112,7 +16278,7 @@ class ReadPowerSourceWiredAssessedCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredAssessedCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.WiredAssessedCurrent response %@", [value description]); @@ -16139,7 +16305,7 @@ class SubscribeAttributePowerSourceWiredAssessedCurrent : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16178,7 +16344,7 @@ class ReadPowerSourceWiredNominalVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredNominalVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.WiredNominalVoltage response %@", [value description]); @@ -16205,7 +16371,7 @@ class SubscribeAttributePowerSourceWiredNominalVoltage : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16244,7 +16410,7 @@ class ReadPowerSourceWiredMaximumCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredMaximumCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.WiredMaximumCurrent response %@", [value description]); @@ -16271,7 +16437,7 @@ class SubscribeAttributePowerSourceWiredMaximumCurrent : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16310,7 +16476,7 @@ class ReadPowerSourceWiredPresent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiredPresentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.WiredPresent response %@", [value description]); @@ -16337,7 +16503,7 @@ class SubscribeAttributePowerSourceWiredPresent : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16376,7 +16542,7 @@ class ReadPowerSourceActiveWiredFaults : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveWiredFaultsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.ActiveWiredFaults response %@", [value description]); @@ -16403,7 +16569,7 @@ class SubscribeAttributePowerSourceActiveWiredFaults : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16442,7 +16608,7 @@ class ReadPowerSourceBatVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatVoltage response %@", [value description]); @@ -16469,7 +16635,7 @@ class SubscribeAttributePowerSourceBatVoltage : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16508,7 +16674,7 @@ class ReadPowerSourceBatPercentRemaining : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatPercentRemainingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatPercentRemaining response %@", [value description]); @@ -16535,7 +16701,7 @@ class SubscribeAttributePowerSourceBatPercentRemaining : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16574,7 +16740,7 @@ class ReadPowerSourceBatTimeRemaining : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatTimeRemainingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatTimeRemaining response %@", [value description]); @@ -16601,7 +16767,7 @@ class SubscribeAttributePowerSourceBatTimeRemaining : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16640,7 +16806,7 @@ class ReadPowerSourceBatChargeLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatChargeLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatChargeLevel response %@", [value description]); @@ -16667,7 +16833,7 @@ class SubscribeAttributePowerSourceBatChargeLevel : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16706,7 +16872,7 @@ class ReadPowerSourceBatReplacementNeeded : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatReplacementNeededWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatReplacementNeeded response %@", [value description]); @@ -16733,7 +16899,7 @@ class SubscribeAttributePowerSourceBatReplacementNeeded : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16772,7 +16938,7 @@ class ReadPowerSourceBatReplaceability : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatReplaceabilityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatReplaceability response %@", [value description]); @@ -16799,7 +16965,7 @@ class SubscribeAttributePowerSourceBatReplaceability : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16838,7 +17004,7 @@ class ReadPowerSourceBatPresent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatPresentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatPresent response %@", [value description]); @@ -16865,7 +17031,7 @@ class SubscribeAttributePowerSourceBatPresent : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16904,7 +17070,7 @@ class ReadPowerSourceActiveBatFaults : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveBatFaultsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.ActiveBatFaults response %@", [value description]); @@ -16931,7 +17097,7 @@ class SubscribeAttributePowerSourceActiveBatFaults : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -16970,7 +17136,7 @@ class ReadPowerSourceBatReplacementDescription : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatReplacementDescriptionWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { @@ -16998,7 +17164,7 @@ class SubscribeAttributePowerSourceBatReplacementDescription : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17037,7 +17203,7 @@ class ReadPowerSourceBatCommonDesignation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatCommonDesignationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatCommonDesignation response %@", [value description]); @@ -17064,7 +17230,7 @@ class SubscribeAttributePowerSourceBatCommonDesignation : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17103,7 +17269,7 @@ class ReadPowerSourceBatANSIDesignation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatANSIDesignationWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatANSIDesignation response %@", [value description]); @@ -17130,7 +17296,7 @@ class SubscribeAttributePowerSourceBatANSIDesignation : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17169,7 +17335,7 @@ class ReadPowerSourceBatIECDesignation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatIECDesignationWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatIECDesignation response %@", [value description]); @@ -17196,7 +17362,7 @@ class SubscribeAttributePowerSourceBatIECDesignation : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17235,7 +17401,7 @@ class ReadPowerSourceBatApprovedChemistry : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatApprovedChemistryWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatApprovedChemistry response %@", [value description]); @@ -17262,7 +17428,7 @@ class SubscribeAttributePowerSourceBatApprovedChemistry : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17301,7 +17467,7 @@ class ReadPowerSourceBatCapacity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatCapacityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatCapacity response %@", [value description]); @@ -17328,7 +17494,7 @@ class SubscribeAttributePowerSourceBatCapacity : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17367,7 +17533,7 @@ class ReadPowerSourceBatQuantity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatQuantityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatQuantity response %@", [value description]); @@ -17394,7 +17560,7 @@ class SubscribeAttributePowerSourceBatQuantity : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17433,7 +17599,7 @@ class ReadPowerSourceBatChargeState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatChargeStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatChargeState response %@", [value description]); @@ -17460,7 +17626,7 @@ class SubscribeAttributePowerSourceBatChargeState : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17499,7 +17665,7 @@ class ReadPowerSourceBatTimeToFullCharge : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatTimeToFullChargeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatTimeToFullCharge response %@", [value description]); @@ -17526,7 +17692,7 @@ class SubscribeAttributePowerSourceBatTimeToFullCharge : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17565,7 +17731,7 @@ class ReadPowerSourceBatFunctionalWhileCharging : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatFunctionalWhileChargingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -17593,7 +17759,7 @@ class SubscribeAttributePowerSourceBatFunctionalWhileCharging : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17632,7 +17798,7 @@ class ReadPowerSourceBatChargingCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBatChargingCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.BatChargingCurrent response %@", [value description]); @@ -17659,7 +17825,7 @@ class SubscribeAttributePowerSourceBatChargingCurrent : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000001D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17698,7 +17864,7 @@ class ReadPowerSourceActiveBatChargeFaults : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveBatChargeFaultsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.ActiveBatChargeFaults response %@", [value description]); @@ -17725,7 +17891,7 @@ class SubscribeAttributePowerSourceActiveBatChargeFaults : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000001E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17764,7 +17930,7 @@ class ReadPowerSourceGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.GeneratedCommandList response %@", [value description]); @@ -17791,7 +17957,7 @@ class SubscribeAttributePowerSourceGeneratedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17830,7 +17996,7 @@ class ReadPowerSourceAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.AcceptedCommandList response %@", [value description]); @@ -17857,7 +18023,7 @@ class SubscribeAttributePowerSourceAcceptedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17896,7 +18062,7 @@ class ReadPowerSourceAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.AttributeList response %@", [value description]); @@ -17923,7 +18089,7 @@ class SubscribeAttributePowerSourceAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -17962,7 +18128,7 @@ class ReadPowerSourceFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.FeatureMap response %@", [value description]); @@ -17989,7 +18155,7 @@ class SubscribeAttributePowerSourceFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18028,7 +18194,7 @@ class ReadPowerSourceClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PowerSource.ClusterRevision response %@", [value description]); @@ -18055,7 +18221,7 @@ class SubscribeAttributePowerSourceClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000002F) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18118,7 +18284,7 @@ class GeneralCommissioningArmFailSafe : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGeneralCommissioningClusterArmFailSafeParams alloc] init]; params.timedInvokeTimeoutMs @@ -18169,7 +18335,7 @@ class GeneralCommissioningSetRegulatoryConfig : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGeneralCommissioningClusterSetRegulatoryConfigParams alloc] init]; params.timedInvokeTimeoutMs @@ -18221,7 +18387,7 @@ class GeneralCommissioningCommissioningComplete : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGeneralCommissioningClusterCommissioningCompleteParams alloc] init]; params.timedInvokeTimeoutMs @@ -18268,7 +18434,7 @@ class ReadGeneralCommissioningBreadcrumb : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBreadcrumbWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.Breadcrumb response %@", [value description]); @@ -18298,7 +18464,7 @@ class WriteGeneralCommissioningBreadcrumb : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000030) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -18335,7 +18501,7 @@ class SubscribeAttributeGeneralCommissioningBreadcrumb : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18374,7 +18540,7 @@ class ReadGeneralCommissioningBasicCommissioningInfo : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBasicCommissioningInfoWithCompletionHandler:^( MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error) { @@ -18402,7 +18568,7 @@ class SubscribeAttributeGeneralCommissioningBasicCommissioningInfo : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18441,7 +18607,7 @@ class ReadGeneralCommissioningRegulatoryConfig : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRegulatoryConfigWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.RegulatoryConfig response %@", [value description]); @@ -18468,7 +18634,7 @@ class SubscribeAttributeGeneralCommissioningRegulatoryConfig : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18507,7 +18673,7 @@ class ReadGeneralCommissioningLocationCapability : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLocationCapabilityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.LocationCapability response %@", [value description]); @@ -18534,7 +18700,7 @@ class SubscribeAttributeGeneralCommissioningLocationCapability : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18573,7 +18739,7 @@ class ReadGeneralCommissioningSupportsConcurrentConnection : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportsConcurrentConnectionWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -18601,7 +18767,7 @@ class SubscribeAttributeGeneralCommissioningSupportsConcurrentConnection : publi ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18640,7 +18806,7 @@ class ReadGeneralCommissioningGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.GeneratedCommandList response %@", [value description]); @@ -18667,7 +18833,7 @@ class SubscribeAttributeGeneralCommissioningGeneratedCommandList : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18706,7 +18872,7 @@ class ReadGeneralCommissioningAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.AcceptedCommandList response %@", [value description]); @@ -18733,7 +18899,7 @@ class SubscribeAttributeGeneralCommissioningAcceptedCommandList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18772,7 +18938,7 @@ class ReadGeneralCommissioningAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.AttributeList response %@", [value description]); @@ -18799,7 +18965,7 @@ class SubscribeAttributeGeneralCommissioningAttributeList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18838,7 +19004,7 @@ class ReadGeneralCommissioningFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.FeatureMap response %@", [value description]); @@ -18865,7 +19031,7 @@ class SubscribeAttributeGeneralCommissioningFeatureMap : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -18904,7 +19070,7 @@ class ReadGeneralCommissioningClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralCommissioning.ClusterRevision response %@", [value description]); @@ -18931,7 +19097,7 @@ class SubscribeAttributeGeneralCommissioningClusterRevision : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000030) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19000,7 +19166,7 @@ class NetworkCommissioningScanNetworks : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRNetworkCommissioningClusterScanNetworksParams alloc] init]; params.timedInvokeTimeoutMs @@ -19064,7 +19230,7 @@ class NetworkCommissioningAddOrUpdateWiFiNetwork : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams alloc] init]; params.timedInvokeTimeoutMs @@ -19120,7 +19286,7 @@ class NetworkCommissioningAddOrUpdateThreadNetwork : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams alloc] init]; params.timedInvokeTimeoutMs @@ -19176,7 +19342,7 @@ class NetworkCommissioningRemoveNetwork : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRNetworkCommissioningClusterRemoveNetworkParams alloc] init]; params.timedInvokeTimeoutMs @@ -19230,7 +19396,7 @@ class NetworkCommissioningConnectNetwork : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRNetworkCommissioningClusterConnectNetworkParams alloc] init]; params.timedInvokeTimeoutMs @@ -19285,7 +19451,7 @@ class NetworkCommissioningReorderNetwork : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRNetworkCommissioningClusterReorderNetworkParams alloc] init]; params.timedInvokeTimeoutMs @@ -19339,7 +19505,7 @@ class ReadNetworkCommissioningMaxNetworks : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxNetworksWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.MaxNetworks response %@", [value description]); @@ -19366,7 +19532,7 @@ class SubscribeAttributeNetworkCommissioningMaxNetworks : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19405,7 +19571,7 @@ class ReadNetworkCommissioningNetworks : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNetworksWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.Networks response %@", [value description]); @@ -19432,7 +19598,7 @@ class SubscribeAttributeNetworkCommissioningNetworks : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19471,7 +19637,7 @@ class ReadNetworkCommissioningScanMaxTimeSeconds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeScanMaxTimeSecondsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.ScanMaxTimeSeconds response %@", [value description]); @@ -19498,7 +19664,7 @@ class SubscribeAttributeNetworkCommissioningScanMaxTimeSeconds : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19537,7 +19703,7 @@ class ReadNetworkCommissioningConnectMaxTimeSeconds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeConnectMaxTimeSecondsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.ConnectMaxTimeSeconds response %@", [value description]); @@ -19564,7 +19730,7 @@ class SubscribeAttributeNetworkCommissioningConnectMaxTimeSeconds : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19603,7 +19769,7 @@ class ReadNetworkCommissioningInterfaceEnabled : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInterfaceEnabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.InterfaceEnabled response %@", [value description]); @@ -19633,7 +19799,7 @@ class WriteNetworkCommissioningInterfaceEnabled : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000031) WriteAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -19670,7 +19836,7 @@ class SubscribeAttributeNetworkCommissioningInterfaceEnabled : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19709,7 +19875,7 @@ class ReadNetworkCommissioningLastNetworkingStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLastNetworkingStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.LastNetworkingStatus response %@", [value description]); @@ -19736,7 +19902,7 @@ class SubscribeAttributeNetworkCommissioningLastNetworkingStatus : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19775,7 +19941,7 @@ class ReadNetworkCommissioningLastNetworkID : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLastNetworkIDWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.LastNetworkID response %@", [value description]); @@ -19802,7 +19968,7 @@ class SubscribeAttributeNetworkCommissioningLastNetworkID : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19841,7 +20007,7 @@ class ReadNetworkCommissioningLastConnectErrorValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLastConnectErrorValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.LastConnectErrorValue response %@", [value description]); @@ -19868,7 +20034,7 @@ class SubscribeAttributeNetworkCommissioningLastConnectErrorValue : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19907,7 +20073,7 @@ class ReadNetworkCommissioningGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.GeneratedCommandList response %@", [value description]); @@ -19934,7 +20100,7 @@ class SubscribeAttributeNetworkCommissioningGeneratedCommandList : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -19973,7 +20139,7 @@ class ReadNetworkCommissioningAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.AcceptedCommandList response %@", [value description]); @@ -20000,7 +20166,7 @@ class SubscribeAttributeNetworkCommissioningAcceptedCommandList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20039,7 +20205,7 @@ class ReadNetworkCommissioningAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.AttributeList response %@", [value description]); @@ -20066,7 +20232,7 @@ class SubscribeAttributeNetworkCommissioningAttributeList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20105,7 +20271,7 @@ class ReadNetworkCommissioningFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.FeatureMap response %@", [value description]); @@ -20132,7 +20298,7 @@ class SubscribeAttributeNetworkCommissioningFeatureMap : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20171,7 +20337,7 @@ class ReadNetworkCommissioningClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"NetworkCommissioning.ClusterRevision response %@", [value description]); @@ -20198,7 +20364,7 @@ class SubscribeAttributeNetworkCommissioningClusterRevision : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000031) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterNetworkCommissioning * cluster = [[MTRBaseClusterNetworkCommissioning alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20255,7 +20421,7 @@ class DiagnosticLogsRetrieveLogsRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDiagnosticLogsClusterRetrieveLogsRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -20306,7 +20472,7 @@ class ReadDiagnosticLogsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.GeneratedCommandList response %@", [value description]); @@ -20333,7 +20499,7 @@ class SubscribeAttributeDiagnosticLogsGeneratedCommandList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000032) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20372,7 +20538,7 @@ class ReadDiagnosticLogsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.AcceptedCommandList response %@", [value description]); @@ -20399,7 +20565,7 @@ class SubscribeAttributeDiagnosticLogsAcceptedCommandList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000032) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20438,7 +20604,7 @@ class ReadDiagnosticLogsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.AttributeList response %@", [value description]); @@ -20465,7 +20631,7 @@ class SubscribeAttributeDiagnosticLogsAttributeList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000032) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20504,7 +20670,7 @@ class ReadDiagnosticLogsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.FeatureMap response %@", [value description]); @@ -20531,7 +20697,7 @@ class SubscribeAttributeDiagnosticLogsFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000032) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20570,7 +20736,7 @@ class ReadDiagnosticLogsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DiagnosticLogs.ClusterRevision response %@", [value description]); @@ -20597,7 +20763,7 @@ class SubscribeAttributeDiagnosticLogsClusterRevision : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000032) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20666,7 +20832,7 @@ class GeneralDiagnosticsTestEventTrigger : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGeneralDiagnosticsClusterTestEventTriggerParams alloc] init]; params.timedInvokeTimeoutMs @@ -20713,7 +20879,7 @@ class ReadGeneralDiagnosticsNetworkInterfaces : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNetworkInterfacesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.NetworkInterfaces response %@", [value description]); @@ -20740,7 +20906,7 @@ class SubscribeAttributeGeneralDiagnosticsNetworkInterfaces : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20779,7 +20945,7 @@ class ReadGeneralDiagnosticsRebootCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRebootCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.RebootCount response %@", [value description]); @@ -20806,7 +20972,7 @@ class SubscribeAttributeGeneralDiagnosticsRebootCount : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20845,7 +21011,7 @@ class ReadGeneralDiagnosticsUpTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUpTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.UpTime response %@", [value description]); @@ -20872,7 +21038,7 @@ class SubscribeAttributeGeneralDiagnosticsUpTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20911,7 +21077,7 @@ class ReadGeneralDiagnosticsTotalOperationalHours : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTotalOperationalHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.TotalOperationalHours response %@", [value description]); @@ -20938,7 +21104,7 @@ class SubscribeAttributeGeneralDiagnosticsTotalOperationalHours : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -20977,7 +21143,7 @@ class ReadGeneralDiagnosticsBootReasons : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBootReasonsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.BootReasons response %@", [value description]); @@ -21004,7 +21170,7 @@ class SubscribeAttributeGeneralDiagnosticsBootReasons : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21043,7 +21209,7 @@ class ReadGeneralDiagnosticsActiveHardwareFaults : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveHardwareFaultsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ActiveHardwareFaults response %@", [value description]); @@ -21070,7 +21236,7 @@ class SubscribeAttributeGeneralDiagnosticsActiveHardwareFaults : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21109,7 +21275,7 @@ class ReadGeneralDiagnosticsActiveRadioFaults : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveRadioFaultsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ActiveRadioFaults response %@", [value description]); @@ -21136,7 +21302,7 @@ class SubscribeAttributeGeneralDiagnosticsActiveRadioFaults : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21175,7 +21341,7 @@ class ReadGeneralDiagnosticsActiveNetworkFaults : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveNetworkFaultsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ActiveNetworkFaults response %@", [value description]); @@ -21202,7 +21368,7 @@ class SubscribeAttributeGeneralDiagnosticsActiveNetworkFaults : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21241,7 +21407,7 @@ class ReadGeneralDiagnosticsTestEventTriggersEnabled : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTestEventTriggersEnabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -21269,7 +21435,7 @@ class SubscribeAttributeGeneralDiagnosticsTestEventTriggersEnabled : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21308,7 +21474,7 @@ class ReadGeneralDiagnosticsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.GeneratedCommandList response %@", [value description]); @@ -21335,7 +21501,7 @@ class SubscribeAttributeGeneralDiagnosticsGeneratedCommandList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21374,7 +21540,7 @@ class ReadGeneralDiagnosticsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.AcceptedCommandList response %@", [value description]); @@ -21401,7 +21567,7 @@ class SubscribeAttributeGeneralDiagnosticsAcceptedCommandList : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21440,7 +21606,7 @@ class ReadGeneralDiagnosticsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.AttributeList response %@", [value description]); @@ -21467,7 +21633,7 @@ class SubscribeAttributeGeneralDiagnosticsAttributeList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21506,7 +21672,7 @@ class ReadGeneralDiagnosticsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.FeatureMap response %@", [value description]); @@ -21533,7 +21699,7 @@ class SubscribeAttributeGeneralDiagnosticsFeatureMap : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21572,7 +21738,7 @@ class ReadGeneralDiagnosticsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GeneralDiagnostics.ClusterRevision response %@", [value description]); @@ -21599,7 +21765,7 @@ class SubscribeAttributeGeneralDiagnosticsClusterRevision : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000033) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21658,7 +21824,7 @@ class SoftwareDiagnosticsResetWatermarks : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRSoftwareDiagnosticsClusterResetWatermarksParams alloc] init]; params.timedInvokeTimeoutMs @@ -21702,7 +21868,7 @@ class ReadSoftwareDiagnosticsThreadMetrics : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeThreadMetricsWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.ThreadMetrics response %@", [value description]); @@ -21729,7 +21895,7 @@ class SubscribeAttributeSoftwareDiagnosticsThreadMetrics : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21768,7 +21934,7 @@ class ReadSoftwareDiagnosticsCurrentHeapFree : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentHeapFreeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.CurrentHeapFree response %@", [value description]); @@ -21795,7 +21961,7 @@ class SubscribeAttributeSoftwareDiagnosticsCurrentHeapFree : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21834,7 +22000,7 @@ class ReadSoftwareDiagnosticsCurrentHeapUsed : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentHeapUsedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.CurrentHeapUsed response %@", [value description]); @@ -21861,7 +22027,7 @@ class SubscribeAttributeSoftwareDiagnosticsCurrentHeapUsed : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21900,7 +22066,7 @@ class ReadSoftwareDiagnosticsCurrentHeapHighWatermark : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentHeapHighWatermarkWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -21928,7 +22094,7 @@ class SubscribeAttributeSoftwareDiagnosticsCurrentHeapHighWatermark : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -21967,7 +22133,7 @@ class ReadSoftwareDiagnosticsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.GeneratedCommandList response %@", [value description]); @@ -21994,7 +22160,7 @@ class SubscribeAttributeSoftwareDiagnosticsGeneratedCommandList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -22033,7 +22199,7 @@ class ReadSoftwareDiagnosticsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.AcceptedCommandList response %@", [value description]); @@ -22060,7 +22226,7 @@ class SubscribeAttributeSoftwareDiagnosticsAcceptedCommandList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -22099,7 +22265,7 @@ class ReadSoftwareDiagnosticsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.AttributeList response %@", [value description]); @@ -22126,7 +22292,7 @@ class SubscribeAttributeSoftwareDiagnosticsAttributeList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -22165,7 +22331,7 @@ class ReadSoftwareDiagnosticsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.FeatureMap response %@", [value description]); @@ -22192,7 +22358,7 @@ class SubscribeAttributeSoftwareDiagnosticsFeatureMap : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -22231,7 +22397,7 @@ class ReadSoftwareDiagnosticsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"SoftwareDiagnostics.ClusterRevision response %@", [value description]); @@ -22258,7 +22424,7 @@ class SubscribeAttributeSoftwareDiagnosticsClusterRevision : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000034) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -22377,7 +22543,7 @@ class ThreadNetworkDiagnosticsResetCounts : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRThreadNetworkDiagnosticsClusterResetCountsParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -22420,7 +22586,7 @@ class ReadThreadNetworkDiagnosticsChannel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeChannelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.Channel response %@", [value description]); if (error != nil) { @@ -22446,7 +22612,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsChannel : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22484,7 +22650,7 @@ class ReadThreadNetworkDiagnosticsRoutingRole : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRoutingRoleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RoutingRole response %@", [value description]); if (error != nil) { @@ -22510,7 +22676,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRoutingRole : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22548,7 +22714,7 @@ class ReadThreadNetworkDiagnosticsNetworkName : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNetworkNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.NetworkName response %@", [value description]); if (error != nil) { @@ -22574,7 +22740,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsNetworkName : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22612,7 +22778,7 @@ class ReadThreadNetworkDiagnosticsPanId : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePanIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PanId response %@", [value description]); if (error != nil) { @@ -22638,7 +22804,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPanId : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22676,7 +22842,7 @@ class ReadThreadNetworkDiagnosticsExtendedPanId : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeExtendedPanIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ExtendedPanId response %@", [value description]); if (error != nil) { @@ -22702,7 +22868,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsExtendedPanId : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22740,7 +22906,7 @@ class ReadThreadNetworkDiagnosticsMeshLocalPrefix : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeshLocalPrefixWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.MeshLocalPrefix response %@", [value description]); if (error != nil) { @@ -22766,7 +22932,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsMeshLocalPrefix : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22804,7 +22970,7 @@ class ReadThreadNetworkDiagnosticsOverrunCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.OverrunCount response %@", [value description]); if (error != nil) { @@ -22830,7 +22996,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsOverrunCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22868,7 +23034,7 @@ class ReadThreadNetworkDiagnosticsNeighborTableList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNeighborTableListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.NeighborTableList response %@", [value description]); if (error != nil) { @@ -22894,7 +23060,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsNeighborTableList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22932,7 +23098,7 @@ class ReadThreadNetworkDiagnosticsRouteTableList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRouteTableListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RouteTableList response %@", [value description]); if (error != nil) { @@ -22958,7 +23124,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRouteTableList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -22996,7 +23162,7 @@ class ReadThreadNetworkDiagnosticsPartitionId : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePartitionIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PartitionId response %@", [value description]); if (error != nil) { @@ -23022,7 +23188,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPartitionId : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23060,7 +23226,7 @@ class ReadThreadNetworkDiagnosticsWeighting : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWeightingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.Weighting response %@", [value description]); if (error != nil) { @@ -23086,7 +23252,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsWeighting : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23124,7 +23290,7 @@ class ReadThreadNetworkDiagnosticsDataVersion : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDataVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.DataVersion response %@", [value description]); if (error != nil) { @@ -23150,7 +23316,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsDataVersion : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23188,7 +23354,7 @@ class ReadThreadNetworkDiagnosticsStableDataVersion : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStableDataVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.StableDataVersion response %@", [value description]); if (error != nil) { @@ -23214,7 +23380,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsStableDataVersion : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23252,7 +23418,7 @@ class ReadThreadNetworkDiagnosticsLeaderRouterId : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLeaderRouterIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.LeaderRouterId response %@", [value description]); if (error != nil) { @@ -23278,7 +23444,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsLeaderRouterId : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23316,7 +23482,7 @@ class ReadThreadNetworkDiagnosticsDetachedRoleCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDetachedRoleCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.DetachedRoleCount response %@", [value description]); if (error != nil) { @@ -23342,7 +23508,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsDetachedRoleCount : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23380,7 +23546,7 @@ class ReadThreadNetworkDiagnosticsChildRoleCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeChildRoleCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ChildRoleCount response %@", [value description]); if (error != nil) { @@ -23406,7 +23572,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsChildRoleCount : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23444,7 +23610,7 @@ class ReadThreadNetworkDiagnosticsRouterRoleCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRouterRoleCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RouterRoleCount response %@", [value description]); if (error != nil) { @@ -23470,7 +23636,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRouterRoleCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23508,7 +23674,7 @@ class ReadThreadNetworkDiagnosticsLeaderRoleCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLeaderRoleCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.LeaderRoleCount response %@", [value description]); if (error != nil) { @@ -23534,7 +23700,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsLeaderRoleCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23572,7 +23738,7 @@ class ReadThreadNetworkDiagnosticsAttachAttemptCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttachAttemptCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.AttachAttemptCount response %@", [value description]); if (error != nil) { @@ -23598,7 +23764,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsAttachAttemptCount : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23636,7 +23802,7 @@ class ReadThreadNetworkDiagnosticsPartitionIdChangeCount : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePartitionIdChangeCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PartitionIdChangeCount response %@", [value description]); if (error != nil) { @@ -23662,7 +23828,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPartitionIdChangeCount : public ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23700,7 +23866,7 @@ class ReadThreadNetworkDiagnosticsBetterPartitionAttachAttemptCount : public Rea dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBetterPartitionAttachAttemptCountWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.BetterPartitionAttachAttemptCount response %@", [value description]); @@ -23727,7 +23893,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsBetterPartitionAttachAttemptCoun ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23765,7 +23931,7 @@ class ReadThreadNetworkDiagnosticsParentChangeCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeParentChangeCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ParentChangeCount response %@", [value description]); if (error != nil) { @@ -23791,7 +23957,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsParentChangeCount : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23829,7 +23995,7 @@ class ReadThreadNetworkDiagnosticsTxTotalCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxTotalCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxTotalCount response %@", [value description]); if (error != nil) { @@ -23855,7 +24021,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxTotalCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23893,7 +24059,7 @@ class ReadThreadNetworkDiagnosticsTxUnicastCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxUnicastCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxUnicastCount response %@", [value description]); if (error != nil) { @@ -23919,7 +24085,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxUnicastCount : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -23957,7 +24123,7 @@ class ReadThreadNetworkDiagnosticsTxBroadcastCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxBroadcastCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxBroadcastCount response %@", [value description]); if (error != nil) { @@ -23983,7 +24149,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxBroadcastCount : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24021,7 +24187,7 @@ class ReadThreadNetworkDiagnosticsTxAckRequestedCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxAckRequestedCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxAckRequestedCount response %@", [value description]); if (error != nil) { @@ -24047,7 +24213,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxAckRequestedCount : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24085,7 +24251,7 @@ class ReadThreadNetworkDiagnosticsTxAckedCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxAckedCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxAckedCount response %@", [value description]); if (error != nil) { @@ -24111,7 +24277,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxAckedCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24149,7 +24315,7 @@ class ReadThreadNetworkDiagnosticsTxNoAckRequestedCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxNoAckRequestedCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxNoAckRequestedCount response %@", [value description]); if (error != nil) { @@ -24175,7 +24341,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxNoAckRequestedCount : public S ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24213,7 +24379,7 @@ class ReadThreadNetworkDiagnosticsTxDataCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxDataCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxDataCount response %@", [value description]); if (error != nil) { @@ -24239,7 +24405,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxDataCount : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24277,7 +24443,7 @@ class ReadThreadNetworkDiagnosticsTxDataPollCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxDataPollCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxDataPollCount response %@", [value description]); if (error != nil) { @@ -24303,7 +24469,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxDataPollCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000001D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24341,7 +24507,7 @@ class ReadThreadNetworkDiagnosticsTxBeaconCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxBeaconCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxBeaconCount response %@", [value description]); if (error != nil) { @@ -24367,7 +24533,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxBeaconCount : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000001E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24405,7 +24571,7 @@ class ReadThreadNetworkDiagnosticsTxBeaconRequestCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxBeaconRequestCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxBeaconRequestCount response %@", [value description]); if (error != nil) { @@ -24431,7 +24597,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxBeaconRequestCount : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000001F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24469,7 +24635,7 @@ class ReadThreadNetworkDiagnosticsTxOtherCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxOtherCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxOtherCount response %@", [value description]); if (error != nil) { @@ -24495,7 +24661,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxOtherCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24533,7 +24699,7 @@ class ReadThreadNetworkDiagnosticsTxRetryCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxRetryCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxRetryCount response %@", [value description]); if (error != nil) { @@ -24559,7 +24725,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxRetryCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24597,7 +24763,7 @@ class ReadThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCount : public ReadAttri dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxDirectMaxRetryExpiryCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxDirectMaxRetryExpiryCount response %@", [value description]); @@ -24624,7 +24790,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxDirectMaxRetryExpiryCount : pu ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24662,7 +24828,7 @@ class ReadThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCount : public ReadAtt dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxIndirectMaxRetryExpiryCountWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxIndirectMaxRetryExpiryCount response %@", [value description]); @@ -24689,7 +24855,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxIndirectMaxRetryExpiryCount : ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24727,7 +24893,7 @@ class ReadThreadNetworkDiagnosticsTxErrCcaCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxErrCcaCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxErrCcaCount response %@", [value description]); if (error != nil) { @@ -24753,7 +24919,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxErrCcaCount : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24791,7 +24957,7 @@ class ReadThreadNetworkDiagnosticsTxErrAbortCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxErrAbortCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxErrAbortCount response %@", [value description]); if (error != nil) { @@ -24817,7 +24983,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxErrAbortCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24855,7 +25021,7 @@ class ReadThreadNetworkDiagnosticsTxErrBusyChannelCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxErrBusyChannelCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.TxErrBusyChannelCount response %@", [value description]); if (error != nil) { @@ -24881,7 +25047,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsTxErrBusyChannelCount : public S ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24919,7 +25085,7 @@ class ReadThreadNetworkDiagnosticsRxTotalCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxTotalCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxTotalCount response %@", [value description]); if (error != nil) { @@ -24945,7 +25111,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxTotalCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000027) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -24983,7 +25149,7 @@ class ReadThreadNetworkDiagnosticsRxUnicastCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxUnicastCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxUnicastCount response %@", [value description]); if (error != nil) { @@ -25009,7 +25175,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxUnicastCount : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25047,7 +25213,7 @@ class ReadThreadNetworkDiagnosticsRxBroadcastCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxBroadcastCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxBroadcastCount response %@", [value description]); if (error != nil) { @@ -25073,7 +25239,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxBroadcastCount : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25111,7 +25277,7 @@ class ReadThreadNetworkDiagnosticsRxDataCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxDataCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDataCount response %@", [value description]); if (error != nil) { @@ -25137,7 +25303,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDataCount : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000002A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25175,7 +25341,7 @@ class ReadThreadNetworkDiagnosticsRxDataPollCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxDataPollCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDataPollCount response %@", [value description]); if (error != nil) { @@ -25201,7 +25367,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDataPollCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000002B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25239,7 +25405,7 @@ class ReadThreadNetworkDiagnosticsRxBeaconCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxBeaconCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxBeaconCount response %@", [value description]); if (error != nil) { @@ -25265,7 +25431,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxBeaconCount : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000002C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25303,7 +25469,7 @@ class ReadThreadNetworkDiagnosticsRxBeaconRequestCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxBeaconRequestCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxBeaconRequestCount response %@", [value description]); if (error != nil) { @@ -25329,7 +25495,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxBeaconRequestCount : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000002D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25367,7 +25533,7 @@ class ReadThreadNetworkDiagnosticsRxOtherCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxOtherCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxOtherCount response %@", [value description]); if (error != nil) { @@ -25393,7 +25559,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxOtherCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000002E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25431,7 +25597,7 @@ class ReadThreadNetworkDiagnosticsRxAddressFilteredCount : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxAddressFilteredCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxAddressFilteredCount response %@", [value description]); if (error != nil) { @@ -25457,7 +25623,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxAddressFilteredCount : public ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000002F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25495,7 +25661,7 @@ class ReadThreadNetworkDiagnosticsRxDestAddrFilteredCount : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxDestAddrFilteredCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDestAddrFilteredCount response %@", [value description]); @@ -25522,7 +25688,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDestAddrFilteredCount : public ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25560,7 +25726,7 @@ class ReadThreadNetworkDiagnosticsRxDuplicatedCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxDuplicatedCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxDuplicatedCount response %@", [value description]); if (error != nil) { @@ -25586,7 +25752,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxDuplicatedCount : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25624,7 +25790,7 @@ class ReadThreadNetworkDiagnosticsRxErrNoFrameCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxErrNoFrameCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrNoFrameCount response %@", [value description]); if (error != nil) { @@ -25650,7 +25816,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrNoFrameCount : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25688,7 +25854,7 @@ class ReadThreadNetworkDiagnosticsRxErrUnknownNeighborCount : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxErrUnknownNeighborCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrUnknownNeighborCount response %@", [value description]); @@ -25715,7 +25881,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrUnknownNeighborCount : publ ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25753,7 +25919,7 @@ class ReadThreadNetworkDiagnosticsRxErrInvalidSrcAddrCount : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxErrInvalidSrcAddrCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrInvalidSrcAddrCount response %@", [value description]); @@ -25780,7 +25946,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrInvalidSrcAddrCount : publi ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25818,7 +25984,7 @@ class ReadThreadNetworkDiagnosticsRxErrSecCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxErrSecCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrSecCount response %@", [value description]); if (error != nil) { @@ -25844,7 +26010,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrSecCount : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000035) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25882,7 +26048,7 @@ class ReadThreadNetworkDiagnosticsRxErrFcsCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxErrFcsCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrFcsCount response %@", [value description]); if (error != nil) { @@ -25908,7 +26074,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrFcsCount : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000036) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -25946,7 +26112,7 @@ class ReadThreadNetworkDiagnosticsRxErrOtherCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRxErrOtherCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.RxErrOtherCount response %@", [value description]); if (error != nil) { @@ -25972,7 +26138,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsRxErrOtherCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000037) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26010,7 +26176,7 @@ class ReadThreadNetworkDiagnosticsActiveTimestamp : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveTimestampWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ActiveTimestamp response %@", [value description]); if (error != nil) { @@ -26036,7 +26202,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsActiveTimestamp : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000038) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26074,7 +26240,7 @@ class ReadThreadNetworkDiagnosticsPendingTimestamp : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePendingTimestampWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.PendingTimestamp response %@", [value description]); if (error != nil) { @@ -26100,7 +26266,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsPendingTimestamp : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x00000039) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26138,7 +26304,7 @@ class ReadThreadNetworkDiagnosticsDelay : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDelayWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.Delay response %@", [value description]); if (error != nil) { @@ -26164,7 +26330,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsDelay : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000003A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26202,7 +26368,7 @@ class ReadThreadNetworkDiagnosticsSecurityPolicy : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSecurityPolicyWithCompletionHandler:^( MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.SecurityPolicy response %@", [value description]); @@ -26229,7 +26395,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsSecurityPolicy : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000003B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26267,7 +26433,7 @@ class ReadThreadNetworkDiagnosticsChannelPage0Mask : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeChannelPage0MaskWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ChannelPage0Mask response %@", [value description]); if (error != nil) { @@ -26293,7 +26459,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsChannelPage0Mask : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000003C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26331,7 +26497,7 @@ class ReadThreadNetworkDiagnosticsOperationalDatasetComponents : public ReadAttr dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOperationalDatasetComponentsWithCompletionHandler:^( MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.OperationalDatasetComponents response %@", [value description]); @@ -26358,7 +26524,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsOperationalDatasetComponents : p ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000003D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26397,7 +26563,7 @@ class ReadThreadNetworkDiagnosticsActiveNetworkFaultsList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveNetworkFaultsListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ActiveNetworkFaultsList response %@", [value description]); if (error != nil) { @@ -26423,7 +26589,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsActiveNetworkFaultsList : public ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000003E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26461,7 +26627,7 @@ class ReadThreadNetworkDiagnosticsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -26487,7 +26653,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsGeneratedCommandList : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26525,7 +26691,7 @@ class ReadThreadNetworkDiagnosticsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -26551,7 +26717,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsAcceptedCommandList : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26589,7 +26755,7 @@ class ReadThreadNetworkDiagnosticsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.AttributeList response %@", [value description]); if (error != nil) { @@ -26615,7 +26781,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsAttributeList : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26653,7 +26819,7 @@ class ReadThreadNetworkDiagnosticsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.FeatureMap response %@", [value description]); if (error != nil) { @@ -26679,7 +26845,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsFeatureMap : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26717,7 +26883,7 @@ class ReadThreadNetworkDiagnosticsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThreadNetworkDiagnostics.ClusterRevision response %@", [value description]); if (error != nil) { @@ -26743,7 +26909,7 @@ class SubscribeAttributeThreadNetworkDiagnosticsClusterRevision : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000035) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26812,7 +26978,7 @@ class WiFiNetworkDiagnosticsResetCounts : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWiFiNetworkDiagnosticsClusterResetCountsParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -26855,7 +27021,7 @@ class ReadWiFiNetworkDiagnosticsBssid : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBssidWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.Bssid response %@", [value description]); if (error != nil) { @@ -26881,7 +27047,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsBssid : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26919,7 +27085,7 @@ class ReadWiFiNetworkDiagnosticsSecurityType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSecurityTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.SecurityType response %@", [value description]); if (error != nil) { @@ -26945,7 +27111,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsSecurityType : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -26983,7 +27149,7 @@ class ReadWiFiNetworkDiagnosticsWiFiVersion : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWiFiVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.WiFiVersion response %@", [value description]); if (error != nil) { @@ -27009,7 +27175,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsWiFiVersion : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27047,7 +27213,7 @@ class ReadWiFiNetworkDiagnosticsChannelNumber : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeChannelNumberWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.ChannelNumber response %@", [value description]); if (error != nil) { @@ -27073,7 +27239,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsChannelNumber : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27111,7 +27277,7 @@ class ReadWiFiNetworkDiagnosticsRssi : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRssiWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.Rssi response %@", [value description]); if (error != nil) { @@ -27137,7 +27303,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsRssi : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27175,7 +27341,7 @@ class ReadWiFiNetworkDiagnosticsBeaconLostCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBeaconLostCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.BeaconLostCount response %@", [value description]); if (error != nil) { @@ -27201,7 +27367,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsBeaconLostCount : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27239,7 +27405,7 @@ class ReadWiFiNetworkDiagnosticsBeaconRxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBeaconRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.BeaconRxCount response %@", [value description]); if (error != nil) { @@ -27265,7 +27431,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsBeaconRxCount : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27303,7 +27469,7 @@ class ReadWiFiNetworkDiagnosticsPacketMulticastRxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePacketMulticastRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketMulticastRxCount response %@", [value description]); if (error != nil) { @@ -27329,7 +27495,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketMulticastRxCount : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27367,7 +27533,7 @@ class ReadWiFiNetworkDiagnosticsPacketMulticastTxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePacketMulticastTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketMulticastTxCount response %@", [value description]); if (error != nil) { @@ -27393,7 +27559,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketMulticastTxCount : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27431,7 +27597,7 @@ class ReadWiFiNetworkDiagnosticsPacketUnicastRxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePacketUnicastRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketUnicastRxCount response %@", [value description]); if (error != nil) { @@ -27457,7 +27623,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketUnicastRxCount : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27495,7 +27661,7 @@ class ReadWiFiNetworkDiagnosticsPacketUnicastTxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePacketUnicastTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.PacketUnicastTxCount response %@", [value description]); if (error != nil) { @@ -27521,7 +27687,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsPacketUnicastTxCount : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27559,7 +27725,7 @@ class ReadWiFiNetworkDiagnosticsCurrentMaxRate : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentMaxRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.CurrentMaxRate response %@", [value description]); if (error != nil) { @@ -27585,7 +27751,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsCurrentMaxRate : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27623,7 +27789,7 @@ class ReadWiFiNetworkDiagnosticsOverrunCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.OverrunCount response %@", [value description]); if (error != nil) { @@ -27649,7 +27815,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsOverrunCount : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27687,7 +27853,7 @@ class ReadWiFiNetworkDiagnosticsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -27713,7 +27879,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsGeneratedCommandList : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27751,7 +27917,7 @@ class ReadWiFiNetworkDiagnosticsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -27777,7 +27943,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsAcceptedCommandList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27815,7 +27981,7 @@ class ReadWiFiNetworkDiagnosticsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.AttributeList response %@", [value description]); if (error != nil) { @@ -27841,7 +28007,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsAttributeList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27879,7 +28045,7 @@ class ReadWiFiNetworkDiagnosticsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.FeatureMap response %@", [value description]); if (error != nil) { @@ -27905,7 +28071,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsFeatureMap : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -27943,7 +28109,7 @@ class ReadWiFiNetworkDiagnosticsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WiFiNetworkDiagnostics.ClusterRevision response %@", [value description]); if (error != nil) { @@ -27969,7 +28135,7 @@ class SubscribeAttributeWiFiNetworkDiagnosticsClusterRevision : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000036) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28031,7 +28197,7 @@ class EthernetNetworkDiagnosticsResetCounts : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTREthernetNetworkDiagnosticsClusterResetCountsParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -28074,7 +28240,7 @@ class ReadEthernetNetworkDiagnosticsPHYRate : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.PHYRate response %@", [value description]); if (error != nil) { @@ -28100,7 +28266,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsPHYRate : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28138,7 +28304,7 @@ class ReadEthernetNetworkDiagnosticsFullDuplex : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFullDuplexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.FullDuplex response %@", [value description]); if (error != nil) { @@ -28164,7 +28330,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsFullDuplex : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28202,7 +28368,7 @@ class ReadEthernetNetworkDiagnosticsPacketRxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePacketRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.PacketRxCount response %@", [value description]); if (error != nil) { @@ -28228,7 +28394,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsPacketRxCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28266,7 +28432,7 @@ class ReadEthernetNetworkDiagnosticsPacketTxCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePacketTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.PacketTxCount response %@", [value description]); if (error != nil) { @@ -28292,7 +28458,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsPacketTxCount : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28330,7 +28496,7 @@ class ReadEthernetNetworkDiagnosticsTxErrCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTxErrCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.TxErrCount response %@", [value description]); if (error != nil) { @@ -28356,7 +28522,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsTxErrCount : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28394,7 +28560,7 @@ class ReadEthernetNetworkDiagnosticsCollisionCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCollisionCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.CollisionCount response %@", [value description]); if (error != nil) { @@ -28420,7 +28586,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsCollisionCount : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28458,7 +28624,7 @@ class ReadEthernetNetworkDiagnosticsOverrunCount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.OverrunCount response %@", [value description]); if (error != nil) { @@ -28484,7 +28650,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsOverrunCount : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28522,7 +28688,7 @@ class ReadEthernetNetworkDiagnosticsCarrierDetect : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCarrierDetectWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.CarrierDetect response %@", [value description]); if (error != nil) { @@ -28548,7 +28714,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsCarrierDetect : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28586,7 +28752,7 @@ class ReadEthernetNetworkDiagnosticsTimeSinceReset : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTimeSinceResetWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.TimeSinceReset response %@", [value description]); if (error != nil) { @@ -28612,7 +28778,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsTimeSinceReset : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28650,7 +28816,7 @@ class ReadEthernetNetworkDiagnosticsGeneratedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -28676,7 +28842,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsGeneratedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28714,7 +28880,7 @@ class ReadEthernetNetworkDiagnosticsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -28740,7 +28906,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsAcceptedCommandList : public S ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28778,7 +28944,7 @@ class ReadEthernetNetworkDiagnosticsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.AttributeList response %@", [value description]); if (error != nil) { @@ -28804,7 +28970,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsAttributeList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28842,7 +29008,7 @@ class ReadEthernetNetworkDiagnosticsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.FeatureMap response %@", [value description]); if (error != nil) { @@ -28868,7 +29034,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsFeatureMap : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -28906,7 +29072,7 @@ class ReadEthernetNetworkDiagnosticsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"EthernetNetworkDiagnostics.ClusterRevision response %@", [value description]); if (error != nil) { @@ -28932,7 +29098,7 @@ class SubscribeAttributeEthernetNetworkDiagnosticsClusterRevision : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000037) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -29004,7 +29170,7 @@ class ReadBridgedDeviceBasicVendorName : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeVendorNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.VendorName response %@", [value description]); @@ -29031,7 +29197,7 @@ class SubscribeAttributeBridgedDeviceBasicVendorName : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29070,7 +29236,7 @@ class ReadBridgedDeviceBasicVendorID : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeVendorIDWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.VendorID response %@", [value description]); @@ -29097,7 +29263,7 @@ class SubscribeAttributeBridgedDeviceBasicVendorID : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29136,7 +29302,7 @@ class ReadBridgedDeviceBasicProductName : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeProductNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ProductName response %@", [value description]); @@ -29163,7 +29329,7 @@ class SubscribeAttributeBridgedDeviceBasicProductName : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29202,7 +29368,7 @@ class ReadBridgedDeviceBasicNodeLabel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.NodeLabel response %@", [value description]); @@ -29232,7 +29398,7 @@ class WriteBridgedDeviceBasicNodeLabel : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000039) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -29271,7 +29437,7 @@ class SubscribeAttributeBridgedDeviceBasicNodeLabel : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29310,7 +29476,7 @@ class ReadBridgedDeviceBasicHardwareVersion : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeHardwareVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.HardwareVersion response %@", [value description]); @@ -29337,7 +29503,7 @@ class SubscribeAttributeBridgedDeviceBasicHardwareVersion : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29376,7 +29542,7 @@ class ReadBridgedDeviceBasicHardwareVersionString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeHardwareVersionStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.HardwareVersionString response %@", [value description]); @@ -29403,7 +29569,7 @@ class SubscribeAttributeBridgedDeviceBasicHardwareVersionString : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29442,7 +29608,7 @@ class ReadBridgedDeviceBasicSoftwareVersion : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSoftwareVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.SoftwareVersion response %@", [value description]); @@ -29469,7 +29635,7 @@ class SubscribeAttributeBridgedDeviceBasicSoftwareVersion : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29508,7 +29674,7 @@ class ReadBridgedDeviceBasicSoftwareVersionString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSoftwareVersionStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.SoftwareVersionString response %@", [value description]); @@ -29535,7 +29701,7 @@ class SubscribeAttributeBridgedDeviceBasicSoftwareVersionString : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29574,7 +29740,7 @@ class ReadBridgedDeviceBasicManufacturingDate : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeManufacturingDateWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ManufacturingDate response %@", [value description]); @@ -29601,7 +29767,7 @@ class SubscribeAttributeBridgedDeviceBasicManufacturingDate : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29640,7 +29806,7 @@ class ReadBridgedDeviceBasicPartNumber : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePartNumberWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.PartNumber response %@", [value description]); @@ -29667,7 +29833,7 @@ class SubscribeAttributeBridgedDeviceBasicPartNumber : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29706,7 +29872,7 @@ class ReadBridgedDeviceBasicProductURL : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeProductURLWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ProductURL response %@", [value description]); @@ -29733,7 +29899,7 @@ class SubscribeAttributeBridgedDeviceBasicProductURL : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29772,7 +29938,7 @@ class ReadBridgedDeviceBasicProductLabel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeProductLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ProductLabel response %@", [value description]); @@ -29799,7 +29965,7 @@ class SubscribeAttributeBridgedDeviceBasicProductLabel : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29838,7 +30004,7 @@ class ReadBridgedDeviceBasicSerialNumber : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSerialNumberWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.SerialNumber response %@", [value description]); @@ -29865,7 +30031,7 @@ class SubscribeAttributeBridgedDeviceBasicSerialNumber : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29904,7 +30070,7 @@ class ReadBridgedDeviceBasicReachable : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReachableWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.Reachable response %@", [value description]); @@ -29931,7 +30097,7 @@ class SubscribeAttributeBridgedDeviceBasicReachable : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -29970,7 +30136,7 @@ class ReadBridgedDeviceBasicUniqueID : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUniqueIDWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.UniqueID response %@", [value description]); @@ -29997,7 +30163,7 @@ class SubscribeAttributeBridgedDeviceBasicUniqueID : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30036,7 +30202,7 @@ class ReadBridgedDeviceBasicGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.GeneratedCommandList response %@", [value description]); @@ -30063,7 +30229,7 @@ class SubscribeAttributeBridgedDeviceBasicGeneratedCommandList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30102,7 +30268,7 @@ class ReadBridgedDeviceBasicAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.AcceptedCommandList response %@", [value description]); @@ -30129,7 +30295,7 @@ class SubscribeAttributeBridgedDeviceBasicAcceptedCommandList : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30168,7 +30334,7 @@ class ReadBridgedDeviceBasicAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.AttributeList response %@", [value description]); @@ -30195,7 +30361,7 @@ class SubscribeAttributeBridgedDeviceBasicAttributeList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30234,7 +30400,7 @@ class ReadBridgedDeviceBasicFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.FeatureMap response %@", [value description]); @@ -30261,7 +30427,7 @@ class SubscribeAttributeBridgedDeviceBasicFeatureMap : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30300,7 +30466,7 @@ class ReadBridgedDeviceBasicClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BridgedDeviceBasic.ClusterRevision response %@", [value description]); @@ -30327,7 +30493,7 @@ class SubscribeAttributeBridgedDeviceBasicClusterRevision : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000039) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBridgedDeviceBasic * cluster = [[MTRBaseClusterBridgedDeviceBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30391,7 +30557,7 @@ class ReadSwitchNumberOfPositions : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfPositionsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.NumberOfPositions response %@", [value description]); @@ -30418,7 +30584,7 @@ class SubscribeAttributeSwitchNumberOfPositions : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30457,7 +30623,7 @@ class ReadSwitchCurrentPosition : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.CurrentPosition response %@", [value description]); @@ -30484,7 +30650,7 @@ class SubscribeAttributeSwitchCurrentPosition : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30523,7 +30689,7 @@ class ReadSwitchMultiPressMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMultiPressMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.MultiPressMax response %@", [value description]); @@ -30550,7 +30716,7 @@ class SubscribeAttributeSwitchMultiPressMax : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30589,7 +30755,7 @@ class ReadSwitchGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.GeneratedCommandList response %@", [value description]); @@ -30616,7 +30782,7 @@ class SubscribeAttributeSwitchGeneratedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30655,7 +30821,7 @@ class ReadSwitchAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.AcceptedCommandList response %@", [value description]); @@ -30682,7 +30848,7 @@ class SubscribeAttributeSwitchAcceptedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30721,7 +30887,7 @@ class ReadSwitchAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.AttributeList response %@", [value description]); @@ -30748,7 +30914,7 @@ class SubscribeAttributeSwitchAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30787,7 +30953,7 @@ class ReadSwitchFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.FeatureMap response %@", [value description]); @@ -30814,7 +30980,7 @@ class SubscribeAttributeSwitchFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30853,7 +31019,7 @@ class ReadSwitchClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Switch.ClusterRevision response %@", [value description]); @@ -30880,7 +31046,7 @@ class SubscribeAttributeSwitchClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003B) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -30944,7 +31110,7 @@ class AdministratorCommissioningOpenCommissioningWindow : public ClusterCommand dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAdministratorCommissioningClusterOpenCommissioningWindowParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -30993,7 +31159,7 @@ class AdministratorCommissioningOpenBasicCommissioningWindow : public ClusterCom dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31037,7 +31203,7 @@ class AdministratorCommissioningRevokeCommissioning : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAdministratorCommissioningClusterRevokeCommissioningParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31080,7 +31246,7 @@ class ReadAdministratorCommissioningWindowStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.WindowStatus response %@", [value description]); if (error != nil) { @@ -31106,7 +31272,7 @@ class SubscribeAttributeAdministratorCommissioningWindowStatus : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31144,7 +31310,7 @@ class ReadAdministratorCommissioningAdminFabricIndex : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AdminFabricIndex response %@", [value description]); if (error != nil) { @@ -31170,7 +31336,7 @@ class SubscribeAttributeAdministratorCommissioningAdminFabricIndex : public Subs ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31208,7 +31374,7 @@ class ReadAdministratorCommissioningAdminVendorId : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AdminVendorId response %@", [value description]); if (error != nil) { @@ -31234,7 +31400,7 @@ class SubscribeAttributeAdministratorCommissioningAdminVendorId : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31272,7 +31438,7 @@ class ReadAdministratorCommissioningGeneratedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -31298,7 +31464,7 @@ class SubscribeAttributeAdministratorCommissioningGeneratedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31336,7 +31502,7 @@ class ReadAdministratorCommissioningAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -31362,7 +31528,7 @@ class SubscribeAttributeAdministratorCommissioningAcceptedCommandList : public S ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31400,7 +31566,7 @@ class ReadAdministratorCommissioningAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.AttributeList response %@", [value description]); if (error != nil) { @@ -31426,7 +31592,7 @@ class SubscribeAttributeAdministratorCommissioningAttributeList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31464,7 +31630,7 @@ class ReadAdministratorCommissioningFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.FeatureMap response %@", [value description]); if (error != nil) { @@ -31490,7 +31656,7 @@ class SubscribeAttributeAdministratorCommissioningFeatureMap : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31528,7 +31694,7 @@ class ReadAdministratorCommissioningClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AdministratorCommissioning.ClusterRevision response %@", [value description]); if (error != nil) { @@ -31554,7 +31720,7 @@ class SubscribeAttributeAdministratorCommissioningClusterRevision : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000003C) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -31621,7 +31787,7 @@ class OperationalCredentialsAttestationRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterAttestationRequestParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31668,7 +31834,7 @@ class OperationalCredentialsCertificateChainRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterCertificateChainRequestParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31717,7 +31883,7 @@ class OperationalCredentialsCSRRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterCSRRequestParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31773,7 +31939,7 @@ class OperationalCredentialsAddNOC : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterAddNOCParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31829,7 +31995,7 @@ class OperationalCredentialsUpdateNOC : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterUpdateNOCParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31881,7 +32047,7 @@ class OperationalCredentialsUpdateFabricLabel : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterUpdateFabricLabelParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31930,7 +32096,7 @@ class OperationalCredentialsRemoveFabric : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterRemoveFabricParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -31977,7 +32143,7 @@ class OperationalCredentialsAddTrustedRootCertificate : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTROperationalCredentialsClusterAddTrustedRootCertificateParams alloc] init]; params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -32022,7 +32188,7 @@ class ReadOperationalCredentialsNOCs : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; [cluster readAttributeNOCsWithParams:params @@ -32051,7 +32217,7 @@ class SubscribeAttributeOperationalCredentialsNOCs : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32089,7 +32255,7 @@ class ReadOperationalCredentialsFabrics : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; [cluster readAttributeFabricsWithParams:params @@ -32118,7 +32284,7 @@ class SubscribeAttributeOperationalCredentialsFabrics : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32156,7 +32322,7 @@ class ReadOperationalCredentialsSupportedFabrics : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportedFabricsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.SupportedFabrics response %@", [value description]); if (error != nil) { @@ -32182,7 +32348,7 @@ class SubscribeAttributeOperationalCredentialsSupportedFabrics : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32220,7 +32386,7 @@ class ReadOperationalCredentialsCommissionedFabrics : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCommissionedFabricsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.CommissionedFabrics response %@", [value description]); if (error != nil) { @@ -32246,7 +32412,7 @@ class SubscribeAttributeOperationalCredentialsCommissionedFabrics : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32284,7 +32450,7 @@ class ReadOperationalCredentialsTrustedRootCertificates : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTrustedRootCertificatesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.TrustedRootCertificates response %@", [value description]); if (error != nil) { @@ -32310,7 +32476,7 @@ class SubscribeAttributeOperationalCredentialsTrustedRootCertificates : public S ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32348,7 +32514,7 @@ class ReadOperationalCredentialsCurrentFabricIndex : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.CurrentFabricIndex response %@", [value description]); if (error != nil) { @@ -32374,7 +32540,7 @@ class SubscribeAttributeOperationalCredentialsCurrentFabricIndex : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32412,7 +32578,7 @@ class ReadOperationalCredentialsGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -32438,7 +32604,7 @@ class SubscribeAttributeOperationalCredentialsGeneratedCommandList : public Subs ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32476,7 +32642,7 @@ class ReadOperationalCredentialsAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -32502,7 +32668,7 @@ class SubscribeAttributeOperationalCredentialsAcceptedCommandList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32540,7 +32706,7 @@ class ReadOperationalCredentialsAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.AttributeList response %@", [value description]); if (error != nil) { @@ -32566,7 +32732,7 @@ class SubscribeAttributeOperationalCredentialsAttributeList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32604,7 +32770,7 @@ class ReadOperationalCredentialsFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.FeatureMap response %@", [value description]); if (error != nil) { @@ -32630,7 +32796,7 @@ class SubscribeAttributeOperationalCredentialsFeatureMap : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32668,7 +32834,7 @@ class ReadOperationalCredentialsClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OperationalCredentials.ClusterRevision response %@", [value description]); if (error != nil) { @@ -32694,7 +32860,7 @@ class SubscribeAttributeOperationalCredentialsClusterRevision : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000003E) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -32756,7 +32922,7 @@ class GroupKeyManagementKeySetWrite : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupKeyManagementClusterKeySetWriteParams alloc] init]; params.timedInvokeTimeoutMs @@ -32839,7 +33005,7 @@ class GroupKeyManagementKeySetRead : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupKeyManagementClusterKeySetReadParams alloc] init]; params.timedInvokeTimeoutMs @@ -32887,7 +33053,7 @@ class GroupKeyManagementKeySetRemove : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupKeyManagementClusterKeySetRemoveParams alloc] init]; params.timedInvokeTimeoutMs @@ -32934,7 +33100,7 @@ class GroupKeyManagementKeySetReadAllIndices : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRGroupKeyManagementClusterKeySetReadAllIndicesParams alloc] init]; params.timedInvokeTimeoutMs @@ -32992,7 +33158,7 @@ class ReadGroupKeyManagementGroupKeyMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -33026,7 +33192,7 @@ class WriteGroupKeyManagementGroupKeyMap : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000003F) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -33078,7 +33244,7 @@ class SubscribeAttributeGroupKeyManagementGroupKeyMap : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33117,7 +33283,7 @@ class ReadGroupKeyManagementGroupTable : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -33147,7 +33313,7 @@ class SubscribeAttributeGroupKeyManagementGroupTable : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33186,7 +33352,7 @@ class ReadGroupKeyManagementMaxGroupsPerFabric : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxGroupsPerFabricWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.MaxGroupsPerFabric response %@", [value description]); @@ -33213,7 +33379,7 @@ class SubscribeAttributeGroupKeyManagementMaxGroupsPerFabric : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33252,7 +33418,7 @@ class ReadGroupKeyManagementMaxGroupKeysPerFabric : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxGroupKeysPerFabricWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.MaxGroupKeysPerFabric response %@", [value description]); @@ -33279,7 +33445,7 @@ class SubscribeAttributeGroupKeyManagementMaxGroupKeysPerFabric : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33318,7 +33484,7 @@ class ReadGroupKeyManagementGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.GeneratedCommandList response %@", [value description]); @@ -33345,7 +33511,7 @@ class SubscribeAttributeGroupKeyManagementGeneratedCommandList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33384,7 +33550,7 @@ class ReadGroupKeyManagementAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.AcceptedCommandList response %@", [value description]); @@ -33411,7 +33577,7 @@ class SubscribeAttributeGroupKeyManagementAcceptedCommandList : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33450,7 +33616,7 @@ class ReadGroupKeyManagementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.AttributeList response %@", [value description]); @@ -33477,7 +33643,7 @@ class SubscribeAttributeGroupKeyManagementAttributeList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33516,7 +33682,7 @@ class ReadGroupKeyManagementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.FeatureMap response %@", [value description]); @@ -33543,7 +33709,7 @@ class SubscribeAttributeGroupKeyManagementFeatureMap : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33582,7 +33748,7 @@ class ReadGroupKeyManagementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"GroupKeyManagement.ClusterRevision response %@", [value description]); @@ -33609,7 +33775,7 @@ class SubscribeAttributeGroupKeyManagementClusterRevision : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x0000003F) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33664,7 +33830,7 @@ class ReadFixedLabelLabelList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.LabelList response %@", [value description]); @@ -33691,7 +33857,7 @@ class SubscribeAttributeFixedLabelLabelList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000040) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33730,7 +33896,7 @@ class ReadFixedLabelGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.GeneratedCommandList response %@", [value description]); @@ -33757,7 +33923,7 @@ class SubscribeAttributeFixedLabelGeneratedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000040) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33796,7 +33962,7 @@ class ReadFixedLabelAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.AcceptedCommandList response %@", [value description]); @@ -33823,7 +33989,7 @@ class SubscribeAttributeFixedLabelAcceptedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000040) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33862,7 +34028,7 @@ class ReadFixedLabelAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.AttributeList response %@", [value description]); @@ -33889,7 +34055,7 @@ class SubscribeAttributeFixedLabelAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000040) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33928,7 +34094,7 @@ class ReadFixedLabelFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.FeatureMap response %@", [value description]); @@ -33955,7 +34121,7 @@ class SubscribeAttributeFixedLabelFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000040) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -33994,7 +34160,7 @@ class ReadFixedLabelClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FixedLabel.ClusterRevision response %@", [value description]); @@ -34021,7 +34187,7 @@ class SubscribeAttributeFixedLabelClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000040) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34076,7 +34242,7 @@ class ReadUserLabelLabelList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.LabelList response %@", [value description]); @@ -34107,7 +34273,7 @@ class WriteUserLabelLabelList : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000041) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -34160,7 +34326,7 @@ class SubscribeAttributeUserLabelLabelList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000041) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34199,7 +34365,7 @@ class ReadUserLabelGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.GeneratedCommandList response %@", [value description]); @@ -34226,7 +34392,7 @@ class SubscribeAttributeUserLabelGeneratedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000041) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34265,7 +34431,7 @@ class ReadUserLabelAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.AcceptedCommandList response %@", [value description]); @@ -34292,7 +34458,7 @@ class SubscribeAttributeUserLabelAcceptedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000041) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34331,7 +34497,7 @@ class ReadUserLabelAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.AttributeList response %@", [value description]); @@ -34358,7 +34524,7 @@ class SubscribeAttributeUserLabelAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000041) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34397,7 +34563,7 @@ class ReadUserLabelFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.FeatureMap response %@", [value description]); @@ -34424,7 +34590,7 @@ class SubscribeAttributeUserLabelFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000041) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34463,7 +34629,7 @@ class ReadUserLabelClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"UserLabel.ClusterRevision response %@", [value description]); @@ -34490,7 +34656,7 @@ class SubscribeAttributeUserLabelClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000041) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34546,7 +34712,7 @@ class ReadBooleanStateStateValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStateValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.StateValue response %@", [value description]); @@ -34573,7 +34739,7 @@ class SubscribeAttributeBooleanStateStateValue : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000045) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34612,7 +34778,7 @@ class ReadBooleanStateGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.GeneratedCommandList response %@", [value description]); @@ -34639,7 +34805,7 @@ class SubscribeAttributeBooleanStateGeneratedCommandList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000045) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34678,7 +34844,7 @@ class ReadBooleanStateAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.AcceptedCommandList response %@", [value description]); @@ -34705,7 +34871,7 @@ class SubscribeAttributeBooleanStateAcceptedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000045) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34744,7 +34910,7 @@ class ReadBooleanStateAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.AttributeList response %@", [value description]); @@ -34771,7 +34937,7 @@ class SubscribeAttributeBooleanStateAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000045) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34810,7 +34976,7 @@ class ReadBooleanStateFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.FeatureMap response %@", [value description]); @@ -34837,7 +35003,7 @@ class SubscribeAttributeBooleanStateFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000045) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34876,7 +35042,7 @@ class ReadBooleanStateClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BooleanState.ClusterRevision response %@", [value description]); @@ -34903,7 +35069,7 @@ class SubscribeAttributeBooleanStateClusterRevision : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000045) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -34964,7 +35130,7 @@ class ModeSelectChangeToMode : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRModeSelectClusterChangeToModeParams alloc] init]; params.timedInvokeTimeoutMs @@ -35010,7 +35176,7 @@ class ReadModeSelectDescription : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDescriptionWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.Description response %@", [value description]); @@ -35037,7 +35203,7 @@ class SubscribeAttributeModeSelectDescription : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35076,7 +35242,7 @@ class ReadModeSelectStandardNamespace : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStandardNamespaceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.StandardNamespace response %@", [value description]); @@ -35103,7 +35269,7 @@ class SubscribeAttributeModeSelectStandardNamespace : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35142,7 +35308,7 @@ class ReadModeSelectSupportedModes : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportedModesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.SupportedModes response %@", [value description]); @@ -35169,7 +35335,7 @@ class SubscribeAttributeModeSelectSupportedModes : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35208,7 +35374,7 @@ class ReadModeSelectCurrentMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.CurrentMode response %@", [value description]); @@ -35235,7 +35401,7 @@ class SubscribeAttributeModeSelectCurrentMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35274,7 +35440,7 @@ class ReadModeSelectStartUpMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStartUpModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.StartUpMode response %@", [value description]); @@ -35304,7 +35470,7 @@ class WriteModeSelectStartUpMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) WriteAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -35341,7 +35507,7 @@ class SubscribeAttributeModeSelectStartUpMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35380,7 +35546,7 @@ class ReadModeSelectOnMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOnModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.OnMode response %@", [value description]); @@ -35410,7 +35576,7 @@ class WriteModeSelectOnMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -35447,7 +35613,7 @@ class SubscribeAttributeModeSelectOnMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35486,7 +35652,7 @@ class ReadModeSelectGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.GeneratedCommandList response %@", [value description]); @@ -35513,7 +35679,7 @@ class SubscribeAttributeModeSelectGeneratedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35552,7 +35718,7 @@ class ReadModeSelectAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.AcceptedCommandList response %@", [value description]); @@ -35579,7 +35745,7 @@ class SubscribeAttributeModeSelectAcceptedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35618,7 +35784,7 @@ class ReadModeSelectAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.AttributeList response %@", [value description]); @@ -35645,7 +35811,7 @@ class SubscribeAttributeModeSelectAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35684,7 +35850,7 @@ class ReadModeSelectFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.FeatureMap response %@", [value description]); @@ -35711,7 +35877,7 @@ class SubscribeAttributeModeSelectFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35750,7 +35916,7 @@ class ReadModeSelectClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ModeSelect.ClusterRevision response %@", [value description]); @@ -35777,7 +35943,7 @@ class SubscribeAttributeModeSelectClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000050) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -35890,7 +36056,7 @@ class DoorLockLockDoor : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; params.timedInvokeTimeoutMs @@ -35940,7 +36106,7 @@ class DoorLockUnlockDoor : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; params.timedInvokeTimeoutMs @@ -35991,7 +36157,7 @@ class DoorLockUnlockWithTimeout : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterUnlockWithTimeoutParams alloc] init]; params.timedInvokeTimeoutMs @@ -36048,7 +36214,7 @@ class DoorLockSetWeekDaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36101,7 +36267,7 @@ class DoorLockGetWeekDaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36151,7 +36317,7 @@ class DoorLockClearWeekDaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36201,7 +36367,7 @@ class DoorLockSetYearDaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36251,7 +36417,7 @@ class DoorLockGetYearDaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36301,7 +36467,7 @@ class DoorLockClearYearDaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36351,7 +36517,7 @@ class DoorLockSetHolidaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36400,7 +36566,7 @@ class DoorLockGetHolidaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36448,7 +36614,7 @@ class DoorLockClearHolidaySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterClearHolidayScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -36500,7 +36666,7 @@ class DoorLockSetUser : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; params.timedInvokeTimeoutMs @@ -36574,7 +36740,7 @@ class DoorLockGetUser : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; params.timedInvokeTimeoutMs @@ -36621,7 +36787,7 @@ class DoorLockClearUser : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; params.timedInvokeTimeoutMs @@ -36673,7 +36839,7 @@ class DoorLockSetCredential : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; params.timedInvokeTimeoutMs @@ -36743,7 +36909,7 @@ class DoorLockGetCredentialStatus : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; params.timedInvokeTimeoutMs @@ -36796,7 +36962,7 @@ class DoorLockClearCredential : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; params.timedInvokeTimeoutMs @@ -36851,7 +37017,7 @@ class ReadDoorLockLockState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.LockState response %@", [value description]); @@ -36878,7 +37044,7 @@ class SubscribeAttributeDoorLockLockState : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -36917,7 +37083,7 @@ class ReadDoorLockLockType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLockTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.LockType response %@", [value description]); @@ -36944,7 +37110,7 @@ class SubscribeAttributeDoorLockLockType : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -36983,7 +37149,7 @@ class ReadDoorLockActuatorEnabled : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActuatorEnabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.ActuatorEnabled response %@", [value description]); @@ -37010,7 +37176,7 @@ class SubscribeAttributeDoorLockActuatorEnabled : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37049,7 +37215,7 @@ class ReadDoorLockDoorState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDoorStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.DoorState response %@", [value description]); @@ -37076,7 +37242,7 @@ class SubscribeAttributeDoorLockDoorState : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37115,7 +37281,7 @@ class ReadDoorLockDoorOpenEvents : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDoorOpenEventsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.DoorOpenEvents response %@", [value description]); @@ -37145,7 +37311,7 @@ class WriteDoorLockDoorOpenEvents : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -37182,7 +37348,7 @@ class SubscribeAttributeDoorLockDoorOpenEvents : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37221,7 +37387,7 @@ class ReadDoorLockDoorClosedEvents : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDoorClosedEventsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.DoorClosedEvents response %@", [value description]); @@ -37251,7 +37417,7 @@ class WriteDoorLockDoorClosedEvents : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -37288,7 +37454,7 @@ class SubscribeAttributeDoorLockDoorClosedEvents : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37327,7 +37493,7 @@ class ReadDoorLockOpenPeriod : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOpenPeriodWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.OpenPeriod response %@", [value description]); @@ -37357,7 +37523,7 @@ class WriteDoorLockOpenPeriod : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -37394,7 +37560,7 @@ class SubscribeAttributeDoorLockOpenPeriod : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37433,7 +37599,7 @@ class ReadDoorLockNumberOfTotalUsersSupported : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -37461,7 +37627,7 @@ class SubscribeAttributeDoorLockNumberOfTotalUsersSupported : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37500,7 +37666,7 @@ class ReadDoorLockNumberOfPINUsersSupported : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfPINUsersSupportedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -37528,7 +37694,7 @@ class SubscribeAttributeDoorLockNumberOfPINUsersSupported : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37567,7 +37733,7 @@ class ReadDoorLockNumberOfRFIDUsersSupported : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfRFIDUsersSupportedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -37595,7 +37761,7 @@ class SubscribeAttributeDoorLockNumberOfRFIDUsersSupported : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37634,7 +37800,7 @@ class ReadDoorLockNumberOfWeekDaySchedulesSupportedPerUser : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -37662,7 +37828,7 @@ class SubscribeAttributeDoorLockNumberOfWeekDaySchedulesSupportedPerUser : publi ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37702,7 +37868,7 @@ class ReadDoorLockNumberOfYearDaySchedulesSupportedPerUser : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -37730,7 +37896,7 @@ class SubscribeAttributeDoorLockNumberOfYearDaySchedulesSupportedPerUser : publi ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37770,7 +37936,7 @@ class ReadDoorLockNumberOfHolidaySchedulesSupported : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfHolidaySchedulesSupportedWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -37798,7 +37964,7 @@ class SubscribeAttributeDoorLockNumberOfHolidaySchedulesSupported : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37837,7 +38003,7 @@ class ReadDoorLockMaxPINCodeLength : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxPINCodeLengthWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MaxPINCodeLength response %@", [value description]); @@ -37864,7 +38030,7 @@ class SubscribeAttributeDoorLockMaxPINCodeLength : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37903,7 +38069,7 @@ class ReadDoorLockMinPINCodeLength : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinPINCodeLengthWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MinPINCodeLength response %@", [value description]); @@ -37930,7 +38096,7 @@ class SubscribeAttributeDoorLockMinPINCodeLength : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -37969,7 +38135,7 @@ class ReadDoorLockMaxRFIDCodeLength : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxRFIDCodeLengthWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MaxRFIDCodeLength response %@", [value description]); @@ -37996,7 +38162,7 @@ class SubscribeAttributeDoorLockMaxRFIDCodeLength : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38035,7 +38201,7 @@ class ReadDoorLockMinRFIDCodeLength : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinRFIDCodeLengthWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.MinRFIDCodeLength response %@", [value description]); @@ -38062,7 +38228,7 @@ class SubscribeAttributeDoorLockMinRFIDCodeLength : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38101,7 +38267,7 @@ class ReadDoorLockCredentialRulesSupport : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCredentialRulesSupportWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.CredentialRulesSupport response %@", [value description]); @@ -38128,7 +38294,7 @@ class SubscribeAttributeDoorLockCredentialRulesSupport : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38167,7 +38333,7 @@ class ReadDoorLockNumberOfCredentialsSupportedPerUser : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfCredentialsSupportedPerUserWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -38195,7 +38361,7 @@ class SubscribeAttributeDoorLockNumberOfCredentialsSupportedPerUser : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38234,7 +38400,7 @@ class ReadDoorLockLanguage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLanguageWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.Language response %@", [value description]); @@ -38264,7 +38430,7 @@ class WriteDoorLockLanguage : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -38303,7 +38469,7 @@ class SubscribeAttributeDoorLockLanguage : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38342,7 +38508,7 @@ class ReadDoorLockLEDSettings : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLEDSettingsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.LEDSettings response %@", [value description]); @@ -38372,7 +38538,7 @@ class WriteDoorLockLEDSettings : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -38409,7 +38575,7 @@ class SubscribeAttributeDoorLockLEDSettings : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38448,7 +38614,7 @@ class ReadDoorLockAutoRelockTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAutoRelockTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.AutoRelockTime response %@", [value description]); @@ -38478,7 +38644,7 @@ class WriteDoorLockAutoRelockTime : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -38515,7 +38681,7 @@ class SubscribeAttributeDoorLockAutoRelockTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38554,7 +38720,7 @@ class ReadDoorLockSoundVolume : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSoundVolumeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.SoundVolume response %@", [value description]); @@ -38584,7 +38750,7 @@ class WriteDoorLockSoundVolume : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -38621,7 +38787,7 @@ class SubscribeAttributeDoorLockSoundVolume : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38660,7 +38826,7 @@ class ReadDoorLockOperatingMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOperatingModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.OperatingMode response %@", [value description]); @@ -38690,7 +38856,7 @@ class WriteDoorLockOperatingMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -38727,7 +38893,7 @@ class SubscribeAttributeDoorLockOperatingMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38766,7 +38932,7 @@ class ReadDoorLockSupportedOperatingModes : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportedOperatingModesWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -38794,7 +38960,7 @@ class SubscribeAttributeDoorLockSupportedOperatingModes : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38833,7 +38999,7 @@ class ReadDoorLockDefaultConfigurationRegister : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDefaultConfigurationRegisterWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -38861,7 +39027,7 @@ class SubscribeAttributeDoorLockDefaultConfigurationRegister : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000027) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -38900,7 +39066,7 @@ class ReadDoorLockEnableLocalProgramming : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnableLocalProgrammingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.EnableLocalProgramming response %@", [value description]); @@ -38930,7 +39096,7 @@ class WriteDoorLockEnableLocalProgramming : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -38967,7 +39133,7 @@ class SubscribeAttributeDoorLockEnableLocalProgramming : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39006,7 +39172,7 @@ class ReadDoorLockEnableOneTouchLocking : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnableOneTouchLockingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.EnableOneTouchLocking response %@", [value description]); @@ -39036,7 +39202,7 @@ class WriteDoorLockEnableOneTouchLocking : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39073,7 +39239,7 @@ class SubscribeAttributeDoorLockEnableOneTouchLocking : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39112,7 +39278,7 @@ class ReadDoorLockEnableInsideStatusLED : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnableInsideStatusLEDWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.EnableInsideStatusLED response %@", [value description]); @@ -39142,7 +39308,7 @@ class WriteDoorLockEnableInsideStatusLED : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x0000002A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39179,7 +39345,7 @@ class SubscribeAttributeDoorLockEnableInsideStatusLED : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000002A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39218,7 +39384,7 @@ class ReadDoorLockEnablePrivacyModeButton : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnablePrivacyModeButtonWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -39249,7 +39415,7 @@ class WriteDoorLockEnablePrivacyModeButton : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x0000002B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39286,7 +39452,7 @@ class SubscribeAttributeDoorLockEnablePrivacyModeButton : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000002B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39325,7 +39491,7 @@ class ReadDoorLockLocalProgrammingFeatures : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLocalProgrammingFeaturesWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -39356,7 +39522,7 @@ class WriteDoorLockLocalProgrammingFeatures : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x0000002C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39393,7 +39559,7 @@ class SubscribeAttributeDoorLockLocalProgrammingFeatures : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000002C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39432,7 +39598,7 @@ class ReadDoorLockWrongCodeEntryLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWrongCodeEntryLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.WrongCodeEntryLimit response %@", [value description]); @@ -39462,7 +39628,7 @@ class WriteDoorLockWrongCodeEntryLimit : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39499,7 +39665,7 @@ class SubscribeAttributeDoorLockWrongCodeEntryLimit : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39538,7 +39704,7 @@ class ReadDoorLockUserCodeTemporaryDisableTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUserCodeTemporaryDisableTimeWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -39569,7 +39735,7 @@ class WriteDoorLockUserCodeTemporaryDisableTime : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39606,7 +39772,7 @@ class SubscribeAttributeDoorLockUserCodeTemporaryDisableTime : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39645,7 +39811,7 @@ class ReadDoorLockSendPINOverTheAir : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSendPINOverTheAirWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.SendPINOverTheAir response %@", [value description]); @@ -39675,7 +39841,7 @@ class WriteDoorLockSendPINOverTheAir : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39712,7 +39878,7 @@ class SubscribeAttributeDoorLockSendPINOverTheAir : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39751,7 +39917,7 @@ class ReadDoorLockRequirePINforRemoteOperation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRequirePINforRemoteOperationWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -39782,7 +39948,7 @@ class WriteDoorLockRequirePINforRemoteOperation : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39819,7 +39985,7 @@ class SubscribeAttributeDoorLockRequirePINforRemoteOperation : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39858,7 +40024,7 @@ class ReadDoorLockExpiringUserTimeout : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeExpiringUserTimeoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.ExpiringUserTimeout response %@", [value description]); @@ -39888,7 +40054,7 @@ class WriteDoorLockExpiringUserTimeout : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) WriteAttribute (0x00000035) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -39925,7 +40091,7 @@ class SubscribeAttributeDoorLockExpiringUserTimeout : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x00000035) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -39964,7 +40130,7 @@ class ReadDoorLockGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.GeneratedCommandList response %@", [value description]); @@ -39991,7 +40157,7 @@ class SubscribeAttributeDoorLockGeneratedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40030,7 +40196,7 @@ class ReadDoorLockAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.AcceptedCommandList response %@", [value description]); @@ -40057,7 +40223,7 @@ class SubscribeAttributeDoorLockAcceptedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40096,7 +40262,7 @@ class ReadDoorLockAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.AttributeList response %@", [value description]); @@ -40123,7 +40289,7 @@ class SubscribeAttributeDoorLockAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40162,7 +40328,7 @@ class ReadDoorLockFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.FeatureMap response %@", [value description]); @@ -40189,7 +40355,7 @@ class SubscribeAttributeDoorLockFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40228,7 +40394,7 @@ class ReadDoorLockClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"DoorLock.ClusterRevision response %@", [value description]); @@ -40255,7 +40421,7 @@ class SubscribeAttributeDoorLockClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000101) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40337,7 +40503,7 @@ class WindowCoveringUpOrOpen : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterUpOrOpenParams alloc] init]; params.timedInvokeTimeoutMs @@ -40380,7 +40546,7 @@ class WindowCoveringDownOrClose : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterDownOrCloseParams alloc] init]; params.timedInvokeTimeoutMs @@ -40423,7 +40589,7 @@ class WindowCoveringStopMotion : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterStopMotionParams alloc] init]; params.timedInvokeTimeoutMs @@ -40467,7 +40633,7 @@ class WindowCoveringGoToLiftValue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterGoToLiftValueParams alloc] init]; params.timedInvokeTimeoutMs @@ -40513,7 +40679,7 @@ class WindowCoveringGoToLiftPercentage : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterGoToLiftPercentageParams alloc] init]; params.timedInvokeTimeoutMs @@ -40559,7 +40725,7 @@ class WindowCoveringGoToTiltValue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterGoToTiltValueParams alloc] init]; params.timedInvokeTimeoutMs @@ -40605,7 +40771,7 @@ class WindowCoveringGoToTiltPercentage : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRWindowCoveringClusterGoToTiltPercentageParams alloc] init]; params.timedInvokeTimeoutMs @@ -40651,7 +40817,7 @@ class ReadWindowCoveringType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.Type response %@", [value description]); @@ -40678,7 +40844,7 @@ class SubscribeAttributeWindowCoveringType : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40717,7 +40883,7 @@ class ReadWindowCoveringPhysicalClosedLimitLift : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalClosedLimitLiftWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -40745,7 +40911,7 @@ class SubscribeAttributeWindowCoveringPhysicalClosedLimitLift : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40784,7 +40950,7 @@ class ReadWindowCoveringPhysicalClosedLimitTilt : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalClosedLimitTiltWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -40812,7 +40978,7 @@ class SubscribeAttributeWindowCoveringPhysicalClosedLimitTilt : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40851,7 +41017,7 @@ class ReadWindowCoveringCurrentPositionLift : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionLiftWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionLift response %@", [value description]); @@ -40878,7 +41044,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionLift : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40917,7 +41083,7 @@ class ReadWindowCoveringCurrentPositionTilt : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionTiltWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.CurrentPositionTilt response %@", [value description]); @@ -40944,7 +41110,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionTilt : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -40983,7 +41149,7 @@ class ReadWindowCoveringNumberOfActuationsLift : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfActuationsLiftWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.NumberOfActuationsLift response %@", [value description]); @@ -41010,7 +41176,7 @@ class SubscribeAttributeWindowCoveringNumberOfActuationsLift : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41049,7 +41215,7 @@ class ReadWindowCoveringNumberOfActuationsTilt : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfActuationsTiltWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.NumberOfActuationsTilt response %@", [value description]); @@ -41076,7 +41242,7 @@ class SubscribeAttributeWindowCoveringNumberOfActuationsTilt : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41115,7 +41281,7 @@ class ReadWindowCoveringConfigStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeConfigStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.ConfigStatus response %@", [value description]); @@ -41142,7 +41308,7 @@ class SubscribeAttributeWindowCoveringConfigStatus : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41181,7 +41347,7 @@ class ReadWindowCoveringCurrentPositionLiftPercentage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionLiftPercentageWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41209,7 +41375,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionLiftPercentage : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41248,7 +41414,7 @@ class ReadWindowCoveringCurrentPositionTiltPercentage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionTiltPercentageWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41276,7 +41442,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionTiltPercentage : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41315,7 +41481,7 @@ class ReadWindowCoveringOperationalStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOperationalStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.OperationalStatus response %@", [value description]); @@ -41342,7 +41508,7 @@ class SubscribeAttributeWindowCoveringOperationalStatus : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41381,7 +41547,7 @@ class ReadWindowCoveringTargetPositionLiftPercent100ths : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTargetPositionLiftPercent100thsWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41409,7 +41575,7 @@ class SubscribeAttributeWindowCoveringTargetPositionLiftPercent100ths : public S ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41448,7 +41614,7 @@ class ReadWindowCoveringTargetPositionTiltPercent100ths : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTargetPositionTiltPercent100thsWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41476,7 +41642,7 @@ class SubscribeAttributeWindowCoveringTargetPositionTiltPercent100ths : public S ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41515,7 +41681,7 @@ class ReadWindowCoveringEndProductType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEndProductTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.EndProductType response %@", [value description]); @@ -41542,7 +41708,7 @@ class SubscribeAttributeWindowCoveringEndProductType : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41581,7 +41747,7 @@ class ReadWindowCoveringCurrentPositionLiftPercent100ths : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionLiftPercent100thsWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41609,7 +41775,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionLiftPercent100ths : public ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41648,7 +41814,7 @@ class ReadWindowCoveringCurrentPositionTiltPercent100ths : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentPositionTiltPercent100thsWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41676,7 +41842,7 @@ class SubscribeAttributeWindowCoveringCurrentPositionTiltPercent100ths : public ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41715,7 +41881,7 @@ class ReadWindowCoveringInstalledOpenLimitLift : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstalledOpenLimitLiftWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.InstalledOpenLimitLift response %@", [value description]); @@ -41742,7 +41908,7 @@ class SubscribeAttributeWindowCoveringInstalledOpenLimitLift : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41781,7 +41947,7 @@ class ReadWindowCoveringInstalledClosedLimitLift : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstalledClosedLimitLiftWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41809,7 +41975,7 @@ class SubscribeAttributeWindowCoveringInstalledClosedLimitLift : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41848,7 +42014,7 @@ class ReadWindowCoveringInstalledOpenLimitTilt : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstalledOpenLimitTiltWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.InstalledOpenLimitTilt response %@", [value description]); @@ -41875,7 +42041,7 @@ class SubscribeAttributeWindowCoveringInstalledOpenLimitTilt : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41914,7 +42080,7 @@ class ReadWindowCoveringInstalledClosedLimitTilt : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstalledClosedLimitTiltWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -41942,7 +42108,7 @@ class SubscribeAttributeWindowCoveringInstalledClosedLimitTilt : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -41981,7 +42147,7 @@ class ReadWindowCoveringMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.Mode response %@", [value description]); @@ -42011,7 +42177,7 @@ class WriteWindowCoveringMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000102) WriteAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -42048,7 +42214,7 @@ class SubscribeAttributeWindowCoveringMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42087,7 +42253,7 @@ class ReadWindowCoveringSafetyStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSafetyStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.SafetyStatus response %@", [value description]); @@ -42114,7 +42280,7 @@ class SubscribeAttributeWindowCoveringSafetyStatus : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42153,7 +42319,7 @@ class ReadWindowCoveringGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.GeneratedCommandList response %@", [value description]); @@ -42180,7 +42346,7 @@ class SubscribeAttributeWindowCoveringGeneratedCommandList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42219,7 +42385,7 @@ class ReadWindowCoveringAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.AcceptedCommandList response %@", [value description]); @@ -42246,7 +42412,7 @@ class SubscribeAttributeWindowCoveringAcceptedCommandList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42285,7 +42451,7 @@ class ReadWindowCoveringAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.AttributeList response %@", [value description]); @@ -42312,7 +42478,7 @@ class SubscribeAttributeWindowCoveringAttributeList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42351,7 +42517,7 @@ class ReadWindowCoveringFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.FeatureMap response %@", [value description]); @@ -42378,7 +42544,7 @@ class SubscribeAttributeWindowCoveringFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42417,7 +42583,7 @@ class ReadWindowCoveringClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WindowCovering.ClusterRevision response %@", [value description]); @@ -42444,7 +42610,7 @@ class SubscribeAttributeWindowCoveringClusterRevision : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000102) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42510,7 +42676,7 @@ class BarrierControlBarrierControlGoToPercent : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRBarrierControlClusterBarrierControlGoToPercentParams alloc] init]; params.timedInvokeTimeoutMs @@ -42555,7 +42721,7 @@ class BarrierControlBarrierControlStop : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRBarrierControlClusterBarrierControlStopParams alloc] init]; params.timedInvokeTimeoutMs @@ -42599,7 +42765,7 @@ class ReadBarrierControlBarrierMovingState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierMovingStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierMovingState response %@", [value description]); @@ -42626,7 +42792,7 @@ class SubscribeAttributeBarrierControlBarrierMovingState : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42665,7 +42831,7 @@ class ReadBarrierControlBarrierSafetyStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierSafetyStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierSafetyStatus response %@", [value description]); @@ -42692,7 +42858,7 @@ class SubscribeAttributeBarrierControlBarrierSafetyStatus : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42731,7 +42897,7 @@ class ReadBarrierControlBarrierCapabilities : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierCapabilitiesWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierCapabilities response %@", [value description]); @@ -42758,7 +42924,7 @@ class SubscribeAttributeBarrierControlBarrierCapabilities : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42797,7 +42963,7 @@ class ReadBarrierControlBarrierOpenEvents : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierOpenEventsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierOpenEvents response %@", [value description]); @@ -42827,7 +42993,7 @@ class WriteBarrierControlBarrierOpenEvents : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) WriteAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -42864,7 +43030,7 @@ class SubscribeAttributeBarrierControlBarrierOpenEvents : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -42903,7 +43069,7 @@ class ReadBarrierControlBarrierCloseEvents : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierCloseEventsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierCloseEvents response %@", [value description]); @@ -42933,7 +43099,7 @@ class WriteBarrierControlBarrierCloseEvents : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -42970,7 +43136,7 @@ class SubscribeAttributeBarrierControlBarrierCloseEvents : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43009,7 +43175,7 @@ class ReadBarrierControlBarrierCommandOpenEvents : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierCommandOpenEventsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -43040,7 +43206,7 @@ class WriteBarrierControlBarrierCommandOpenEvents : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) WriteAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -43077,7 +43243,7 @@ class SubscribeAttributeBarrierControlBarrierCommandOpenEvents : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43116,7 +43282,7 @@ class ReadBarrierControlBarrierCommandCloseEvents : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierCommandCloseEventsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -43147,7 +43313,7 @@ class WriteBarrierControlBarrierCommandCloseEvents : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) WriteAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -43184,7 +43350,7 @@ class SubscribeAttributeBarrierControlBarrierCommandCloseEvents : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43223,7 +43389,7 @@ class ReadBarrierControlBarrierOpenPeriod : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierOpenPeriodWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierOpenPeriod response %@", [value description]); @@ -43253,7 +43419,7 @@ class WriteBarrierControlBarrierOpenPeriod : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) WriteAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -43290,7 +43456,7 @@ class SubscribeAttributeBarrierControlBarrierOpenPeriod : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43329,7 +43495,7 @@ class ReadBarrierControlBarrierClosePeriod : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierClosePeriodWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierClosePeriod response %@", [value description]); @@ -43359,7 +43525,7 @@ class WriteBarrierControlBarrierClosePeriod : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) WriteAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -43396,7 +43562,7 @@ class SubscribeAttributeBarrierControlBarrierClosePeriod : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43435,7 +43601,7 @@ class ReadBarrierControlBarrierPosition : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBarrierPositionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.BarrierPosition response %@", [value description]); @@ -43462,7 +43628,7 @@ class SubscribeAttributeBarrierControlBarrierPosition : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43501,7 +43667,7 @@ class ReadBarrierControlGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.GeneratedCommandList response %@", [value description]); @@ -43528,7 +43694,7 @@ class SubscribeAttributeBarrierControlGeneratedCommandList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43567,7 +43733,7 @@ class ReadBarrierControlAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.AcceptedCommandList response %@", [value description]); @@ -43594,7 +43760,7 @@ class SubscribeAttributeBarrierControlAcceptedCommandList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43633,7 +43799,7 @@ class ReadBarrierControlAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.AttributeList response %@", [value description]); @@ -43660,7 +43826,7 @@ class SubscribeAttributeBarrierControlAttributeList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43699,7 +43865,7 @@ class ReadBarrierControlFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.FeatureMap response %@", [value description]); @@ -43726,7 +43892,7 @@ class SubscribeAttributeBarrierControlFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43765,7 +43931,7 @@ class ReadBarrierControlClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BarrierControl.ClusterRevision response %@", [value description]); @@ -43792,7 +43958,7 @@ class SubscribeAttributeBarrierControlClusterRevision : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000103) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBarrierControl * cluster = [[MTRBaseClusterBarrierControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -43886,7 +44052,7 @@ class ReadPumpConfigurationAndControlMaxPressure : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxPressure response %@", [value description]); if (error != nil) { @@ -43912,7 +44078,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxPressure : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -43950,7 +44116,7 @@ class ReadPumpConfigurationAndControlMaxSpeed : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxSpeed response %@", [value description]); if (error != nil) { @@ -43976,7 +44142,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxSpeed : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44014,7 +44180,7 @@ class ReadPumpConfigurationAndControlMaxFlow : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxFlowWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxFlow response %@", [value description]); if (error != nil) { @@ -44040,7 +44206,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxFlow : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44078,7 +44244,7 @@ class ReadPumpConfigurationAndControlMinConstPressure : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinConstPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstPressure response %@", [value description]); if (error != nil) { @@ -44104,7 +44270,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstPressure : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44142,7 +44308,7 @@ class ReadPumpConfigurationAndControlMaxConstPressure : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxConstPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstPressure response %@", [value description]); if (error != nil) { @@ -44168,7 +44334,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstPressure : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44206,7 +44372,7 @@ class ReadPumpConfigurationAndControlMinCompPressure : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinCompPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinCompPressure response %@", [value description]); if (error != nil) { @@ -44232,7 +44398,7 @@ class SubscribeAttributePumpConfigurationAndControlMinCompPressure : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44270,7 +44436,7 @@ class ReadPumpConfigurationAndControlMaxCompPressure : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxCompPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxCompPressure response %@", [value description]); if (error != nil) { @@ -44296,7 +44462,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxCompPressure : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44334,7 +44500,7 @@ class ReadPumpConfigurationAndControlMinConstSpeed : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinConstSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstSpeed response %@", [value description]); if (error != nil) { @@ -44360,7 +44526,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstSpeed : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44398,7 +44564,7 @@ class ReadPumpConfigurationAndControlMaxConstSpeed : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxConstSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstSpeed response %@", [value description]); if (error != nil) { @@ -44424,7 +44590,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstSpeed : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44462,7 +44628,7 @@ class ReadPumpConfigurationAndControlMinConstFlow : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinConstFlowWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstFlow response %@", [value description]); if (error != nil) { @@ -44488,7 +44654,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstFlow : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44526,7 +44692,7 @@ class ReadPumpConfigurationAndControlMaxConstFlow : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxConstFlowWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstFlow response %@", [value description]); if (error != nil) { @@ -44552,7 +44718,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstFlow : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44590,7 +44756,7 @@ class ReadPumpConfigurationAndControlMinConstTemp : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinConstTempWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MinConstTemp response %@", [value description]); if (error != nil) { @@ -44616,7 +44782,7 @@ class SubscribeAttributePumpConfigurationAndControlMinConstTemp : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44654,7 +44820,7 @@ class ReadPumpConfigurationAndControlMaxConstTemp : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxConstTempWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.MaxConstTemp response %@", [value description]); if (error != nil) { @@ -44680,7 +44846,7 @@ class SubscribeAttributePumpConfigurationAndControlMaxConstTemp : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44718,7 +44884,7 @@ class ReadPumpConfigurationAndControlPumpStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePumpStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.PumpStatus response %@", [value description]); if (error != nil) { @@ -44744,7 +44910,7 @@ class SubscribeAttributePumpConfigurationAndControlPumpStatus : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44782,7 +44948,7 @@ class ReadPumpConfigurationAndControlEffectiveOperationMode : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.EffectiveOperationMode response %@", [value description]); if (error != nil) { @@ -44808,7 +44974,7 @@ class SubscribeAttributePumpConfigurationAndControlEffectiveOperationMode : publ ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44846,7 +45012,7 @@ class ReadPumpConfigurationAndControlEffectiveControlMode : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.EffectiveControlMode response %@", [value description]); if (error != nil) { @@ -44872,7 +45038,7 @@ class SubscribeAttributePumpConfigurationAndControlEffectiveControlMode : public ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44910,7 +45076,7 @@ class ReadPumpConfigurationAndControlCapacity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCapacityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.Capacity response %@", [value description]); if (error != nil) { @@ -44936,7 +45102,7 @@ class SubscribeAttributePumpConfigurationAndControlCapacity : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -44974,7 +45140,7 @@ class ReadPumpConfigurationAndControlSpeed : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.Speed response %@", [value description]); if (error != nil) { @@ -45000,7 +45166,7 @@ class SubscribeAttributePumpConfigurationAndControlSpeed : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45038,7 +45204,7 @@ class ReadPumpConfigurationAndControlLifetimeRunningHours : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLifetimeRunningHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.LifetimeRunningHours response %@", [value description]); if (error != nil) { @@ -45067,7 +45233,7 @@ class WritePumpConfigurationAndControlLifetimeRunningHours : public WriteAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000200) WriteAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -45104,7 +45270,7 @@ class SubscribeAttributePumpConfigurationAndControlLifetimeRunningHours : public ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45142,7 +45308,7 @@ class ReadPumpConfigurationAndControlPower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.Power response %@", [value description]); if (error != nil) { @@ -45168,7 +45334,7 @@ class SubscribeAttributePumpConfigurationAndControlPower : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45206,7 +45372,7 @@ class ReadPumpConfigurationAndControlLifetimeEnergyConsumed : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLifetimeEnergyConsumedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.LifetimeEnergyConsumed response %@", [value description]); if (error != nil) { @@ -45235,7 +45401,7 @@ class WritePumpConfigurationAndControlLifetimeEnergyConsumed : public WriteAttri ChipLogProgress(chipTool, "Sending cluster (0x00000200) WriteAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -45272,7 +45438,7 @@ class SubscribeAttributePumpConfigurationAndControlLifetimeEnergyConsumed : publ ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45310,7 +45476,7 @@ class ReadPumpConfigurationAndControlOperationMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.OperationMode response %@", [value description]); if (error != nil) { @@ -45339,7 +45505,7 @@ class WritePumpConfigurationAndControlOperationMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000200) WriteAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -45375,7 +45541,7 @@ class SubscribeAttributePumpConfigurationAndControlOperationMode : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45413,7 +45579,7 @@ class ReadPumpConfigurationAndControlControlMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.ControlMode response %@", [value description]); if (error != nil) { @@ -45442,7 +45608,7 @@ class WritePumpConfigurationAndControlControlMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000200) WriteAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; @@ -45478,7 +45644,7 @@ class SubscribeAttributePumpConfigurationAndControlControlMode : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45516,7 +45682,7 @@ class ReadPumpConfigurationAndControlGeneratedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -45542,7 +45708,7 @@ class SubscribeAttributePumpConfigurationAndControlGeneratedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45580,7 +45746,7 @@ class ReadPumpConfigurationAndControlAcceptedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -45606,7 +45772,7 @@ class SubscribeAttributePumpConfigurationAndControlAcceptedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45644,7 +45810,7 @@ class ReadPumpConfigurationAndControlAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.AttributeList response %@", [value description]); if (error != nil) { @@ -45670,7 +45836,7 @@ class SubscribeAttributePumpConfigurationAndControlAttributeList : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45708,7 +45874,7 @@ class ReadPumpConfigurationAndControlFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.FeatureMap response %@", [value description]); if (error != nil) { @@ -45734,7 +45900,7 @@ class SubscribeAttributePumpConfigurationAndControlFeatureMap : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45772,7 +45938,7 @@ class ReadPumpConfigurationAndControlClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PumpConfigurationAndControl.ClusterRevision response %@", [value description]); if (error != nil) { @@ -45798,7 +45964,7 @@ class SubscribeAttributePumpConfigurationAndControlClusterRevision : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000200) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -45905,7 +46071,7 @@ class ThermostatSetpointRaiseLower : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRThermostatClusterSetpointRaiseLowerParams alloc] init]; params.timedInvokeTimeoutMs @@ -45956,7 +46122,7 @@ class ThermostatSetWeeklySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRThermostatClusterSetWeeklyScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -46028,7 +46194,7 @@ class ThermostatGetWeeklySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRThermostatClusterGetWeeklyScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -46076,7 +46242,7 @@ class ThermostatClearWeeklySchedule : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRThermostatClusterClearWeeklyScheduleParams alloc] init]; params.timedInvokeTimeoutMs @@ -46120,7 +46286,7 @@ class ReadThermostatLocalTemperature : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLocalTemperatureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.LocalTemperature response %@", [value description]); @@ -46147,7 +46313,7 @@ class SubscribeAttributeThermostatLocalTemperature : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46186,7 +46352,7 @@ class ReadThermostatOutdoorTemperature : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOutdoorTemperatureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.OutdoorTemperature response %@", [value description]); @@ -46213,7 +46379,7 @@ class SubscribeAttributeThermostatOutdoorTemperature : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46252,7 +46418,7 @@ class ReadThermostatOccupancy : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupancyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.Occupancy response %@", [value description]); @@ -46279,7 +46445,7 @@ class SubscribeAttributeThermostatOccupancy : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46318,7 +46484,7 @@ class ReadThermostatAbsMinHeatSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAbsMinHeatSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46346,7 +46512,7 @@ class SubscribeAttributeThermostatAbsMinHeatSetpointLimit : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46385,7 +46551,7 @@ class ReadThermostatAbsMaxHeatSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAbsMaxHeatSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46413,7 +46579,7 @@ class SubscribeAttributeThermostatAbsMaxHeatSetpointLimit : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46452,7 +46618,7 @@ class ReadThermostatAbsMinCoolSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAbsMinCoolSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46480,7 +46646,7 @@ class SubscribeAttributeThermostatAbsMinCoolSetpointLimit : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46519,7 +46685,7 @@ class ReadThermostatAbsMaxCoolSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAbsMaxCoolSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46547,7 +46713,7 @@ class SubscribeAttributeThermostatAbsMaxCoolSetpointLimit : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46586,7 +46752,7 @@ class ReadThermostatPICoolingDemand : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePICoolingDemandWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.PICoolingDemand response %@", [value description]); @@ -46613,7 +46779,7 @@ class SubscribeAttributeThermostatPICoolingDemand : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46652,7 +46818,7 @@ class ReadThermostatPIHeatingDemand : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePIHeatingDemandWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.PIHeatingDemand response %@", [value description]); @@ -46679,7 +46845,7 @@ class SubscribeAttributeThermostatPIHeatingDemand : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46718,7 +46884,7 @@ class ReadThermostatHVACSystemTypeConfiguration : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeHVACSystemTypeConfigurationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46749,7 +46915,7 @@ class WriteThermostatHVACSystemTypeConfiguration : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -46786,7 +46952,7 @@ class SubscribeAttributeThermostatHVACSystemTypeConfiguration : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46825,7 +46991,7 @@ class ReadThermostatLocalTemperatureCalibration : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLocalTemperatureCalibrationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46856,7 +47022,7 @@ class WriteThermostatLocalTemperatureCalibration : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -46893,7 +47059,7 @@ class SubscribeAttributeThermostatLocalTemperatureCalibration : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -46932,7 +47098,7 @@ class ReadThermostatOccupiedCoolingSetpoint : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupiedCoolingSetpointWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -46963,7 +47129,7 @@ class WriteThermostatOccupiedCoolingSetpoint : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47000,7 +47166,7 @@ class SubscribeAttributeThermostatOccupiedCoolingSetpoint : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47039,7 +47205,7 @@ class ReadThermostatOccupiedHeatingSetpoint : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupiedHeatingSetpointWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -47070,7 +47236,7 @@ class WriteThermostatOccupiedHeatingSetpoint : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47107,7 +47273,7 @@ class SubscribeAttributeThermostatOccupiedHeatingSetpoint : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47146,7 +47312,7 @@ class ReadThermostatUnoccupiedCoolingSetpoint : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUnoccupiedCoolingSetpointWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -47177,7 +47343,7 @@ class WriteThermostatUnoccupiedCoolingSetpoint : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47214,7 +47380,7 @@ class SubscribeAttributeThermostatUnoccupiedCoolingSetpoint : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47253,7 +47419,7 @@ class ReadThermostatUnoccupiedHeatingSetpoint : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUnoccupiedHeatingSetpointWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -47284,7 +47450,7 @@ class WriteThermostatUnoccupiedHeatingSetpoint : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47321,7 +47487,7 @@ class SubscribeAttributeThermostatUnoccupiedHeatingSetpoint : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47360,7 +47526,7 @@ class ReadThermostatMinHeatSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinHeatSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MinHeatSetpointLimit response %@", [value description]); @@ -47390,7 +47556,7 @@ class WriteThermostatMinHeatSetpointLimit : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47427,7 +47593,7 @@ class SubscribeAttributeThermostatMinHeatSetpointLimit : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47466,7 +47632,7 @@ class ReadThermostatMaxHeatSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxHeatSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MaxHeatSetpointLimit response %@", [value description]); @@ -47496,7 +47662,7 @@ class WriteThermostatMaxHeatSetpointLimit : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47533,7 +47699,7 @@ class SubscribeAttributeThermostatMaxHeatSetpointLimit : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47572,7 +47738,7 @@ class ReadThermostatMinCoolSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinCoolSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MinCoolSetpointLimit response %@", [value description]); @@ -47602,7 +47768,7 @@ class WriteThermostatMinCoolSetpointLimit : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47639,7 +47805,7 @@ class SubscribeAttributeThermostatMinCoolSetpointLimit : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47678,7 +47844,7 @@ class ReadThermostatMaxCoolSetpointLimit : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxCoolSetpointLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MaxCoolSetpointLimit response %@", [value description]); @@ -47708,7 +47874,7 @@ class WriteThermostatMaxCoolSetpointLimit : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47745,7 +47911,7 @@ class SubscribeAttributeThermostatMaxCoolSetpointLimit : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47784,7 +47950,7 @@ class ReadThermostatMinSetpointDeadBand : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinSetpointDeadBandWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.MinSetpointDeadBand response %@", [value description]); @@ -47814,7 +47980,7 @@ class WriteThermostatMinSetpointDeadBand : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47851,7 +48017,7 @@ class SubscribeAttributeThermostatMinSetpointDeadBand : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47890,7 +48056,7 @@ class ReadThermostatRemoteSensing : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRemoteSensingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.RemoteSensing response %@", [value description]); @@ -47920,7 +48086,7 @@ class WriteThermostatRemoteSensing : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -47957,7 +48123,7 @@ class SubscribeAttributeThermostatRemoteSensing : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -47996,7 +48162,7 @@ class ReadThermostatControlSequenceOfOperation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeControlSequenceOfOperationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -48027,7 +48193,7 @@ class WriteThermostatControlSequenceOfOperation : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -48064,7 +48230,7 @@ class SubscribeAttributeThermostatControlSequenceOfOperation : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48103,7 +48269,7 @@ class ReadThermostatSystemMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSystemModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.SystemMode response %@", [value description]); @@ -48133,7 +48299,7 @@ class WriteThermostatSystemMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -48170,7 +48336,7 @@ class SubscribeAttributeThermostatSystemMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48209,7 +48375,7 @@ class ReadThermostatThermostatRunningMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeThermostatRunningModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ThermostatRunningMode response %@", [value description]); @@ -48236,7 +48402,7 @@ class SubscribeAttributeThermostatThermostatRunningMode : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000001E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48275,7 +48441,7 @@ class ReadThermostatStartOfWeek : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStartOfWeekWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.StartOfWeek response %@", [value description]); @@ -48302,7 +48468,7 @@ class SubscribeAttributeThermostatStartOfWeek : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48341,7 +48507,7 @@ class ReadThermostatNumberOfWeeklyTransitions : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfWeeklyTransitionsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -48369,7 +48535,7 @@ class SubscribeAttributeThermostatNumberOfWeeklyTransitions : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48408,7 +48574,7 @@ class ReadThermostatNumberOfDailyTransitions : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfDailyTransitionsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -48436,7 +48602,7 @@ class SubscribeAttributeThermostatNumberOfDailyTransitions : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48475,7 +48641,7 @@ class ReadThermostatTemperatureSetpointHold : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTemperatureSetpointHoldWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -48506,7 +48672,7 @@ class WriteThermostatTemperatureSetpointHold : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -48543,7 +48709,7 @@ class SubscribeAttributeThermostatTemperatureSetpointHold : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48582,7 +48748,7 @@ class ReadThermostatTemperatureSetpointHoldDuration : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTemperatureSetpointHoldDurationWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -48613,7 +48779,7 @@ class WriteThermostatTemperatureSetpointHoldDuration : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -48651,7 +48817,7 @@ class SubscribeAttributeThermostatTemperatureSetpointHoldDuration : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48690,7 +48856,7 @@ class ReadThermostatThermostatProgrammingOperationMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeThermostatProgrammingOperationModeWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -48721,7 +48887,7 @@ class WriteThermostatThermostatProgrammingOperationMode : public WriteAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -48760,7 +48926,7 @@ class SubscribeAttributeThermostatThermostatProgrammingOperationMode : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48799,7 +48965,7 @@ class ReadThermostatThermostatRunningState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeThermostatRunningStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ThermostatRunningState response %@", [value description]); @@ -48826,7 +48992,7 @@ class SubscribeAttributeThermostatThermostatRunningState : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48865,7 +49031,7 @@ class ReadThermostatSetpointChangeSource : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSetpointChangeSourceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.SetpointChangeSource response %@", [value description]); @@ -48892,7 +49058,7 @@ class SubscribeAttributeThermostatSetpointChangeSource : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48931,7 +49097,7 @@ class ReadThermostatSetpointChangeAmount : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSetpointChangeAmountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.SetpointChangeAmount response %@", [value description]); @@ -48958,7 +49124,7 @@ class SubscribeAttributeThermostatSetpointChangeAmount : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -48997,7 +49163,7 @@ class ReadThermostatSetpointChangeSourceTimestamp : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSetpointChangeSourceTimestampWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -49025,7 +49191,7 @@ class SubscribeAttributeThermostatSetpointChangeSourceTimestamp : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49064,7 +49230,7 @@ class ReadThermostatOccupiedSetback : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupiedSetbackWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.OccupiedSetback response %@", [value description]); @@ -49094,7 +49260,7 @@ class WriteThermostatOccupiedSetback : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -49131,7 +49297,7 @@ class SubscribeAttributeThermostatOccupiedSetback : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49170,7 +49336,7 @@ class ReadThermostatOccupiedSetbackMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupiedSetbackMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.OccupiedSetbackMin response %@", [value description]); @@ -49197,7 +49363,7 @@ class SubscribeAttributeThermostatOccupiedSetbackMin : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000035) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49236,7 +49402,7 @@ class ReadThermostatOccupiedSetbackMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupiedSetbackMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.OccupiedSetbackMax response %@", [value description]); @@ -49263,7 +49429,7 @@ class SubscribeAttributeThermostatOccupiedSetbackMax : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000036) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49302,7 +49468,7 @@ class ReadThermostatUnoccupiedSetback : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUnoccupiedSetbackWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.UnoccupiedSetback response %@", [value description]); @@ -49332,7 +49498,7 @@ class WriteThermostatUnoccupiedSetback : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000037) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -49369,7 +49535,7 @@ class SubscribeAttributeThermostatUnoccupiedSetback : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000037) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49408,7 +49574,7 @@ class ReadThermostatUnoccupiedSetbackMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUnoccupiedSetbackMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.UnoccupiedSetbackMin response %@", [value description]); @@ -49435,7 +49601,7 @@ class SubscribeAttributeThermostatUnoccupiedSetbackMin : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000038) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49474,7 +49640,7 @@ class ReadThermostatUnoccupiedSetbackMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUnoccupiedSetbackMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.UnoccupiedSetbackMax response %@", [value description]); @@ -49501,7 +49667,7 @@ class SubscribeAttributeThermostatUnoccupiedSetbackMax : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000039) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49540,7 +49706,7 @@ class ReadThermostatEmergencyHeatDelta : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEmergencyHeatDeltaWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.EmergencyHeatDelta response %@", [value description]); @@ -49570,7 +49736,7 @@ class WriteThermostatEmergencyHeatDelta : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x0000003A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -49607,7 +49773,7 @@ class SubscribeAttributeThermostatEmergencyHeatDelta : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000003A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49646,7 +49812,7 @@ class ReadThermostatACType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACType response %@", [value description]); @@ -49676,7 +49842,7 @@ class WriteThermostatACType : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000040) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -49713,7 +49879,7 @@ class SubscribeAttributeThermostatACType : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000040) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49752,7 +49918,7 @@ class ReadThermostatACCapacity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACCapacityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACCapacity response %@", [value description]); @@ -49782,7 +49948,7 @@ class WriteThermostatACCapacity : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000041) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -49819,7 +49985,7 @@ class SubscribeAttributeThermostatACCapacity : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000041) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49858,7 +50024,7 @@ class ReadThermostatACRefrigerantType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACRefrigerantTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACRefrigerantType response %@", [value description]); @@ -49888,7 +50054,7 @@ class WriteThermostatACRefrigerantType : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000042) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -49925,7 +50091,7 @@ class SubscribeAttributeThermostatACRefrigerantType : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000042) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -49964,7 +50130,7 @@ class ReadThermostatACCompressorType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACCompressorTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACCompressorType response %@", [value description]); @@ -49994,7 +50160,7 @@ class WriteThermostatACCompressorType : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000043) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -50031,7 +50197,7 @@ class SubscribeAttributeThermostatACCompressorType : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000043) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50070,7 +50236,7 @@ class ReadThermostatACErrorCode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACErrorCodeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACErrorCode response %@", [value description]); @@ -50100,7 +50266,7 @@ class WriteThermostatACErrorCode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000044) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -50137,7 +50303,7 @@ class SubscribeAttributeThermostatACErrorCode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000044) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50176,7 +50342,7 @@ class ReadThermostatACLouverPosition : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACLouverPositionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACLouverPosition response %@", [value description]); @@ -50206,7 +50372,7 @@ class WriteThermostatACLouverPosition : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000045) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -50243,7 +50409,7 @@ class SubscribeAttributeThermostatACLouverPosition : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000045) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50282,7 +50448,7 @@ class ReadThermostatACCoilTemperature : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACCoilTemperatureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACCoilTemperature response %@", [value description]); @@ -50309,7 +50475,7 @@ class SubscribeAttributeThermostatACCoilTemperature : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000046) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50348,7 +50514,7 @@ class ReadThermostatACCapacityformat : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeACCapacityformatWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ACCapacityformat response %@", [value description]); @@ -50378,7 +50544,7 @@ class WriteThermostatACCapacityformat : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) WriteAttribute (0x00000047) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -50415,7 +50581,7 @@ class SubscribeAttributeThermostatACCapacityformat : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x00000047) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50454,7 +50620,7 @@ class ReadThermostatGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.GeneratedCommandList response %@", [value description]); @@ -50481,7 +50647,7 @@ class SubscribeAttributeThermostatGeneratedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50520,7 +50686,7 @@ class ReadThermostatAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AcceptedCommandList response %@", [value description]); @@ -50547,7 +50713,7 @@ class SubscribeAttributeThermostatAcceptedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50586,7 +50752,7 @@ class ReadThermostatAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.AttributeList response %@", [value description]); @@ -50613,7 +50779,7 @@ class SubscribeAttributeThermostatAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50652,7 +50818,7 @@ class ReadThermostatFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.FeatureMap response %@", [value description]); @@ -50679,7 +50845,7 @@ class SubscribeAttributeThermostatFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50718,7 +50884,7 @@ class ReadThermostatClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Thermostat.ClusterRevision response %@", [value description]); @@ -50745,7 +50911,7 @@ class SubscribeAttributeThermostatClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000201) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50810,7 +50976,7 @@ class ReadFanControlFanMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFanModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.FanMode response %@", [value description]); @@ -50840,7 +51006,7 @@ class WriteFanControlFanMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -50877,7 +51043,7 @@ class SubscribeAttributeFanControlFanMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -50916,7 +51082,7 @@ class ReadFanControlFanModeSequence : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFanModeSequenceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.FanModeSequence response %@", [value description]); @@ -50946,7 +51112,7 @@ class WriteFanControlFanModeSequence : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) WriteAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -50983,7 +51149,7 @@ class SubscribeAttributeFanControlFanModeSequence : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51022,7 +51188,7 @@ class ReadFanControlPercentSetting : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePercentSettingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.PercentSetting response %@", [value description]); @@ -51052,7 +51218,7 @@ class WriteFanControlPercentSetting : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) WriteAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -51089,7 +51255,7 @@ class SubscribeAttributeFanControlPercentSetting : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51128,7 +51294,7 @@ class ReadFanControlPercentCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePercentCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.PercentCurrent response %@", [value description]); @@ -51155,7 +51321,7 @@ class SubscribeAttributeFanControlPercentCurrent : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51194,7 +51360,7 @@ class ReadFanControlSpeedMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSpeedMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.SpeedMax response %@", [value description]); @@ -51221,7 +51387,7 @@ class SubscribeAttributeFanControlSpeedMax : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51260,7 +51426,7 @@ class ReadFanControlSpeedSetting : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSpeedSettingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.SpeedSetting response %@", [value description]); @@ -51290,7 +51456,7 @@ class WriteFanControlSpeedSetting : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -51327,7 +51493,7 @@ class SubscribeAttributeFanControlSpeedSetting : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51366,7 +51532,7 @@ class ReadFanControlSpeedCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSpeedCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.SpeedCurrent response %@", [value description]); @@ -51393,7 +51559,7 @@ class SubscribeAttributeFanControlSpeedCurrent : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51432,7 +51598,7 @@ class ReadFanControlRockSupport : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRockSupportWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.RockSupport response %@", [value description]); @@ -51459,7 +51625,7 @@ class SubscribeAttributeFanControlRockSupport : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51498,7 +51664,7 @@ class ReadFanControlRockSetting : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRockSettingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.RockSetting response %@", [value description]); @@ -51528,7 +51694,7 @@ class WriteFanControlRockSetting : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) WriteAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -51565,7 +51731,7 @@ class SubscribeAttributeFanControlRockSetting : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51604,7 +51770,7 @@ class ReadFanControlWindSupport : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWindSupportWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.WindSupport response %@", [value description]); @@ -51631,7 +51797,7 @@ class SubscribeAttributeFanControlWindSupport : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51670,7 +51836,7 @@ class ReadFanControlWindSetting : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWindSettingWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.WindSetting response %@", [value description]); @@ -51700,7 +51866,7 @@ class WriteFanControlWindSetting : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) WriteAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -51737,7 +51903,7 @@ class SubscribeAttributeFanControlWindSetting : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51776,7 +51942,7 @@ class ReadFanControlGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.GeneratedCommandList response %@", [value description]); @@ -51803,7 +51969,7 @@ class SubscribeAttributeFanControlGeneratedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51842,7 +52008,7 @@ class ReadFanControlAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.AcceptedCommandList response %@", [value description]); @@ -51869,7 +52035,7 @@ class SubscribeAttributeFanControlAcceptedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51908,7 +52074,7 @@ class ReadFanControlAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.AttributeList response %@", [value description]); @@ -51935,7 +52101,7 @@ class SubscribeAttributeFanControlAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -51974,7 +52140,7 @@ class ReadFanControlFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.FeatureMap response %@", [value description]); @@ -52001,7 +52167,7 @@ class SubscribeAttributeFanControlFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52040,7 +52206,7 @@ class ReadFanControlClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FanControl.ClusterRevision response %@", [value description]); @@ -52067,7 +52233,7 @@ class SubscribeAttributeFanControlClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000202) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52125,7 +52291,7 @@ class ReadThermostatUserInterfaceConfigurationTemperatureDisplayMode : public Re dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTemperatureDisplayModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.TemperatureDisplayMode response %@", [value description]); @@ -52156,7 +52322,7 @@ class WriteThermostatUserInterfaceConfigurationTemperatureDisplayMode : public W dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -52196,7 +52362,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationTemperatureDisplayMo dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52236,7 +52402,7 @@ class ReadThermostatUserInterfaceConfigurationKeypadLockout : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.KeypadLockout response %@", [value description]); @@ -52267,7 +52433,7 @@ class WriteThermostatUserInterfaceConfigurationKeypadLockout : public WriteAttri dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -52305,7 +52471,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationKeypadLockout : publ dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52345,7 +52511,7 @@ class ReadThermostatUserInterfaceConfigurationScheduleProgrammingVisibility : pu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeScheduleProgrammingVisibilityWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -52377,7 +52543,7 @@ class WriteThermostatUserInterfaceConfigurationScheduleProgrammingVisibility : p dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -52417,7 +52583,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationScheduleProgrammingV dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52457,7 +52623,7 @@ class ReadThermostatUserInterfaceConfigurationGeneratedCommandList : public Read dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.GeneratedCommandList response %@", [value description]); @@ -52485,7 +52651,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationGeneratedCommandList dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52525,7 +52691,7 @@ class ReadThermostatUserInterfaceConfigurationAcceptedCommandList : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.AcceptedCommandList response %@", [value description]); @@ -52553,7 +52719,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationAcceptedCommandList dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52593,7 +52759,7 @@ class ReadThermostatUserInterfaceConfigurationAttributeList : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.AttributeList response %@", [value description]); @@ -52621,7 +52787,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationAttributeList : publ dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52661,7 +52827,7 @@ class ReadThermostatUserInterfaceConfigurationFeatureMap : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.FeatureMap response %@", [value description]); @@ -52689,7 +52855,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationFeatureMap : public dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52729,7 +52895,7 @@ class ReadThermostatUserInterfaceConfigurationClusterRevision : public ReadAttri dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ThermostatUserInterfaceConfiguration.ClusterRevision response %@", [value description]); @@ -52757,7 +52923,7 @@ class SubscribeAttributeThermostatUserInterfaceConfigurationClusterRevision : pu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -52886,7 +53052,7 @@ class ColorControlMoveToHue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveToHueParams alloc] init]; params.timedInvokeTimeoutMs @@ -52939,7 +53105,7 @@ class ColorControlMoveHue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveHueParams alloc] init]; params.timedInvokeTimeoutMs @@ -52992,7 +53158,7 @@ class ColorControlStepHue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterStepHueParams alloc] init]; params.timedInvokeTimeoutMs @@ -53045,7 +53211,7 @@ class ColorControlMoveToSaturation : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveToSaturationParams alloc] init]; params.timedInvokeTimeoutMs @@ -53097,7 +53263,7 @@ class ColorControlMoveSaturation : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveSaturationParams alloc] init]; params.timedInvokeTimeoutMs @@ -53150,7 +53316,7 @@ class ColorControlStepSaturation : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterStepSaturationParams alloc] init]; params.timedInvokeTimeoutMs @@ -53204,7 +53370,7 @@ class ColorControlMoveToHueAndSaturation : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveToHueAndSaturationParams alloc] init]; params.timedInvokeTimeoutMs @@ -53258,7 +53424,7 @@ class ColorControlMoveToColor : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveToColorParams alloc] init]; params.timedInvokeTimeoutMs @@ -53311,7 +53477,7 @@ class ColorControlMoveColor : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveColorParams alloc] init]; params.timedInvokeTimeoutMs @@ -53364,7 +53530,7 @@ class ColorControlStepColor : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterStepColorParams alloc] init]; params.timedInvokeTimeoutMs @@ -53417,7 +53583,7 @@ class ColorControlMoveToColorTemperature : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveToColorTemperatureParams alloc] init]; params.timedInvokeTimeoutMs @@ -53470,7 +53636,7 @@ class ColorControlEnhancedMoveToHue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterEnhancedMoveToHueParams alloc] init]; params.timedInvokeTimeoutMs @@ -53523,7 +53689,7 @@ class ColorControlEnhancedMoveHue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterEnhancedMoveHueParams alloc] init]; params.timedInvokeTimeoutMs @@ -53576,7 +53742,7 @@ class ColorControlEnhancedStepHue : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterEnhancedStepHueParams alloc] init]; params.timedInvokeTimeoutMs @@ -53630,7 +53796,7 @@ class ColorControlEnhancedMoveToHueAndSaturation : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterEnhancedMoveToHueAndSaturationParams alloc] init]; params.timedInvokeTimeoutMs @@ -53686,7 +53852,7 @@ class ColorControlColorLoopSet : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterColorLoopSetParams alloc] init]; params.timedInvokeTimeoutMs @@ -53739,7 +53905,7 @@ class ColorControlStopMoveStep : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterStopMoveStepParams alloc] init]; params.timedInvokeTimeoutMs @@ -53791,7 +53957,7 @@ class ColorControlMoveColorTemperature : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterMoveColorTemperatureParams alloc] init]; params.timedInvokeTimeoutMs @@ -53848,7 +54014,7 @@ class ColorControlStepColorTemperature : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRColorControlClusterStepColorTemperatureParams alloc] init]; params.timedInvokeTimeoutMs @@ -53900,7 +54066,7 @@ class ReadColorControlCurrentHue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentHueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentHue response %@", [value description]); @@ -53927,7 +54093,7 @@ class SubscribeAttributeColorControlCurrentHue : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -53966,7 +54132,7 @@ class ReadColorControlCurrentSaturation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentSaturationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentSaturation response %@", [value description]); @@ -53993,7 +54159,7 @@ class SubscribeAttributeColorControlCurrentSaturation : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54032,7 +54198,7 @@ class ReadColorControlRemainingTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRemainingTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.RemainingTime response %@", [value description]); @@ -54059,7 +54225,7 @@ class SubscribeAttributeColorControlRemainingTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54098,7 +54264,7 @@ class ReadColorControlCurrentX : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentX response %@", [value description]); @@ -54125,7 +54291,7 @@ class SubscribeAttributeColorControlCurrentX : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54164,7 +54330,7 @@ class ReadColorControlCurrentY : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CurrentY response %@", [value description]); @@ -54191,7 +54357,7 @@ class SubscribeAttributeColorControlCurrentY : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54230,7 +54396,7 @@ class ReadColorControlDriftCompensation : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDriftCompensationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.DriftCompensation response %@", [value description]); @@ -54257,7 +54423,7 @@ class SubscribeAttributeColorControlDriftCompensation : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54296,7 +54462,7 @@ class ReadColorControlCompensationText : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCompensationTextWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.CompensationText response %@", [value description]); @@ -54323,7 +54489,7 @@ class SubscribeAttributeColorControlCompensationText : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54362,7 +54528,7 @@ class ReadColorControlColorTemperatureMireds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorTemperatureMiredsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorTemperatureMireds response %@", [value description]); @@ -54389,7 +54555,7 @@ class SubscribeAttributeColorControlColorTemperatureMireds : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54428,7 +54594,7 @@ class ReadColorControlColorMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorMode response %@", [value description]); @@ -54455,7 +54621,7 @@ class SubscribeAttributeColorControlColorMode : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54494,7 +54660,7 @@ class ReadColorControlOptions : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOptionsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Options response %@", [value description]); @@ -54524,7 +54690,7 @@ class WriteColorControlOptions : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -54561,7 +54727,7 @@ class SubscribeAttributeColorControlOptions : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54600,7 +54766,7 @@ class ReadColorControlNumberOfPrimaries : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNumberOfPrimariesWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.NumberOfPrimaries response %@", [value description]); @@ -54627,7 +54793,7 @@ class SubscribeAttributeColorControlNumberOfPrimaries : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54666,7 +54832,7 @@ class ReadColorControlPrimary1X : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary1XWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary1X response %@", [value description]); @@ -54693,7 +54859,7 @@ class SubscribeAttributeColorControlPrimary1X : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54732,7 +54898,7 @@ class ReadColorControlPrimary1Y : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary1YWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary1Y response %@", [value description]); @@ -54759,7 +54925,7 @@ class SubscribeAttributeColorControlPrimary1Y : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54798,7 +54964,7 @@ class ReadColorControlPrimary1Intensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary1IntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary1Intensity response %@", [value description]); @@ -54825,7 +54991,7 @@ class SubscribeAttributeColorControlPrimary1Intensity : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54864,7 +55030,7 @@ class ReadColorControlPrimary2X : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary2XWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary2X response %@", [value description]); @@ -54891,7 +55057,7 @@ class SubscribeAttributeColorControlPrimary2X : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54930,7 +55096,7 @@ class ReadColorControlPrimary2Y : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary2YWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary2Y response %@", [value description]); @@ -54957,7 +55123,7 @@ class SubscribeAttributeColorControlPrimary2Y : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -54996,7 +55162,7 @@ class ReadColorControlPrimary2Intensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary2IntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary2Intensity response %@", [value description]); @@ -55023,7 +55189,7 @@ class SubscribeAttributeColorControlPrimary2Intensity : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55062,7 +55228,7 @@ class ReadColorControlPrimary3X : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary3XWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary3X response %@", [value description]); @@ -55089,7 +55255,7 @@ class SubscribeAttributeColorControlPrimary3X : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55128,7 +55294,7 @@ class ReadColorControlPrimary3Y : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary3YWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary3Y response %@", [value description]); @@ -55155,7 +55321,7 @@ class SubscribeAttributeColorControlPrimary3Y : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55194,7 +55360,7 @@ class ReadColorControlPrimary3Intensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary3IntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary3Intensity response %@", [value description]); @@ -55221,7 +55387,7 @@ class SubscribeAttributeColorControlPrimary3Intensity : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55260,7 +55426,7 @@ class ReadColorControlPrimary4X : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary4XWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary4X response %@", [value description]); @@ -55287,7 +55453,7 @@ class SubscribeAttributeColorControlPrimary4X : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55326,7 +55492,7 @@ class ReadColorControlPrimary4Y : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary4YWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary4Y response %@", [value description]); @@ -55353,7 +55519,7 @@ class SubscribeAttributeColorControlPrimary4Y : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55392,7 +55558,7 @@ class ReadColorControlPrimary4Intensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary4IntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary4Intensity response %@", [value description]); @@ -55419,7 +55585,7 @@ class SubscribeAttributeColorControlPrimary4Intensity : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55458,7 +55624,7 @@ class ReadColorControlPrimary5X : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary5XWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary5X response %@", [value description]); @@ -55485,7 +55651,7 @@ class SubscribeAttributeColorControlPrimary5X : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55524,7 +55690,7 @@ class ReadColorControlPrimary5Y : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary5YWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary5Y response %@", [value description]); @@ -55551,7 +55717,7 @@ class SubscribeAttributeColorControlPrimary5Y : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55590,7 +55756,7 @@ class ReadColorControlPrimary5Intensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary5IntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary5Intensity response %@", [value description]); @@ -55617,7 +55783,7 @@ class SubscribeAttributeColorControlPrimary5Intensity : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55656,7 +55822,7 @@ class ReadColorControlPrimary6X : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary6XWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary6X response %@", [value description]); @@ -55683,7 +55849,7 @@ class SubscribeAttributeColorControlPrimary6X : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55722,7 +55888,7 @@ class ReadColorControlPrimary6Y : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary6YWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary6Y response %@", [value description]); @@ -55749,7 +55915,7 @@ class SubscribeAttributeColorControlPrimary6Y : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55788,7 +55954,7 @@ class ReadColorControlPrimary6Intensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePrimary6IntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.Primary6Intensity response %@", [value description]); @@ -55815,7 +55981,7 @@ class SubscribeAttributeColorControlPrimary6Intensity : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000002A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55854,7 +56020,7 @@ class ReadColorControlWhitePointX : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWhitePointXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.WhitePointX response %@", [value description]); @@ -55884,7 +56050,7 @@ class WriteColorControlWhitePointX : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -55921,7 +56087,7 @@ class SubscribeAttributeColorControlWhitePointX : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -55960,7 +56126,7 @@ class ReadColorControlWhitePointY : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWhitePointYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.WhitePointY response %@", [value description]); @@ -55990,7 +56156,7 @@ class WriteColorControlWhitePointY : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56027,7 +56193,7 @@ class SubscribeAttributeColorControlWhitePointY : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56066,7 +56232,7 @@ class ReadColorControlColorPointRX : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointRXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointRX response %@", [value description]); @@ -56096,7 +56262,7 @@ class WriteColorControlColorPointRX : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56133,7 +56299,7 @@ class SubscribeAttributeColorControlColorPointRX : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56172,7 +56338,7 @@ class ReadColorControlColorPointRY : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointRYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointRY response %@", [value description]); @@ -56202,7 +56368,7 @@ class WriteColorControlColorPointRY : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56239,7 +56405,7 @@ class SubscribeAttributeColorControlColorPointRY : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56278,7 +56444,7 @@ class ReadColorControlColorPointRIntensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointRIntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointRIntensity response %@", [value description]); @@ -56308,7 +56474,7 @@ class WriteColorControlColorPointRIntensity : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56345,7 +56511,7 @@ class SubscribeAttributeColorControlColorPointRIntensity : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56384,7 +56550,7 @@ class ReadColorControlColorPointGX : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointGXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointGX response %@", [value description]); @@ -56414,7 +56580,7 @@ class WriteColorControlColorPointGX : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000036) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56451,7 +56617,7 @@ class SubscribeAttributeColorControlColorPointGX : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000036) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56490,7 +56656,7 @@ class ReadColorControlColorPointGY : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointGYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointGY response %@", [value description]); @@ -56520,7 +56686,7 @@ class WriteColorControlColorPointGY : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000037) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56557,7 +56723,7 @@ class SubscribeAttributeColorControlColorPointGY : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000037) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56596,7 +56762,7 @@ class ReadColorControlColorPointGIntensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointGIntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointGIntensity response %@", [value description]); @@ -56626,7 +56792,7 @@ class WriteColorControlColorPointGIntensity : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00000038) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56663,7 +56829,7 @@ class SubscribeAttributeColorControlColorPointGIntensity : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00000038) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56702,7 +56868,7 @@ class ReadColorControlColorPointBX : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointBXWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointBX response %@", [value description]); @@ -56732,7 +56898,7 @@ class WriteColorControlColorPointBX : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x0000003A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56769,7 +56935,7 @@ class SubscribeAttributeColorControlColorPointBX : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000003A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56808,7 +56974,7 @@ class ReadColorControlColorPointBY : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointBYWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointBY response %@", [value description]); @@ -56838,7 +57004,7 @@ class WriteColorControlColorPointBY : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x0000003B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56875,7 +57041,7 @@ class SubscribeAttributeColorControlColorPointBY : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000003B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -56914,7 +57080,7 @@ class ReadColorControlColorPointBIntensity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorPointBIntensityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorPointBIntensity response %@", [value description]); @@ -56944,7 +57110,7 @@ class WriteColorControlColorPointBIntensity : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x0000003C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -56981,7 +57147,7 @@ class SubscribeAttributeColorControlColorPointBIntensity : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000003C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57020,7 +57186,7 @@ class ReadColorControlEnhancedCurrentHue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnhancedCurrentHueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.EnhancedCurrentHue response %@", [value description]); @@ -57047,7 +57213,7 @@ class SubscribeAttributeColorControlEnhancedCurrentHue : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57086,7 +57252,7 @@ class ReadColorControlEnhancedColorMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnhancedColorModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.EnhancedColorMode response %@", [value description]); @@ -57113,7 +57279,7 @@ class SubscribeAttributeColorControlEnhancedColorMode : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57152,7 +57318,7 @@ class ReadColorControlColorLoopActive : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorLoopActiveWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopActive response %@", [value description]); @@ -57179,7 +57345,7 @@ class SubscribeAttributeColorControlColorLoopActive : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57218,7 +57384,7 @@ class ReadColorControlColorLoopDirection : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorLoopDirectionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopDirection response %@", [value description]); @@ -57245,7 +57411,7 @@ class SubscribeAttributeColorControlColorLoopDirection : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57284,7 +57450,7 @@ class ReadColorControlColorLoopTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorLoopTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorLoopTime response %@", [value description]); @@ -57311,7 +57477,7 @@ class SubscribeAttributeColorControlColorLoopTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57350,7 +57516,7 @@ class ReadColorControlColorLoopStartEnhancedHue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorLoopStartEnhancedHueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -57378,7 +57544,7 @@ class SubscribeAttributeColorControlColorLoopStartEnhancedHue : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57417,7 +57583,7 @@ class ReadColorControlColorLoopStoredEnhancedHue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorLoopStoredEnhancedHueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -57445,7 +57611,7 @@ class SubscribeAttributeColorControlColorLoopStoredEnhancedHue : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57484,7 +57650,7 @@ class ReadColorControlColorCapabilities : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorCapabilitiesWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ColorCapabilities response %@", [value description]); @@ -57511,7 +57677,7 @@ class SubscribeAttributeColorControlColorCapabilities : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000400A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57550,7 +57716,7 @@ class ReadColorControlColorTempPhysicalMinMireds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorTempPhysicalMinMiredsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -57578,7 +57744,7 @@ class SubscribeAttributeColorControlColorTempPhysicalMinMireds : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000400B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57617,7 +57783,7 @@ class ReadColorControlColorTempPhysicalMaxMireds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeColorTempPhysicalMaxMiredsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -57645,7 +57811,7 @@ class SubscribeAttributeColorControlColorTempPhysicalMaxMireds : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000400C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57684,7 +57850,7 @@ class ReadColorControlCoupleColorTempToLevelMinMireds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCoupleColorTempToLevelMinMiredsWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -57712,7 +57878,7 @@ class SubscribeAttributeColorControlCoupleColorTempToLevelMinMireds : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000400D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57751,7 +57917,7 @@ class ReadColorControlStartUpColorTemperatureMireds : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStartUpColorTemperatureMiredsWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -57782,7 +57948,7 @@ class WriteColorControlStartUpColorTemperatureMireds : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) WriteAttribute (0x00004010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -57820,7 +57986,7 @@ class SubscribeAttributeColorControlStartUpColorTemperatureMireds : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x00004010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57859,7 +58025,7 @@ class ReadColorControlGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.GeneratedCommandList response %@", [value description]); @@ -57886,7 +58052,7 @@ class SubscribeAttributeColorControlGeneratedCommandList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57925,7 +58091,7 @@ class ReadColorControlAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.AcceptedCommandList response %@", [value description]); @@ -57952,7 +58118,7 @@ class SubscribeAttributeColorControlAcceptedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -57991,7 +58157,7 @@ class ReadColorControlAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.AttributeList response %@", [value description]); @@ -58018,7 +58184,7 @@ class SubscribeAttributeColorControlAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58057,7 +58223,7 @@ class ReadColorControlFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.FeatureMap response %@", [value description]); @@ -58084,7 +58250,7 @@ class SubscribeAttributeColorControlFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58123,7 +58289,7 @@ class ReadColorControlClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ColorControl.ClusterRevision response %@", [value description]); @@ -58150,7 +58316,7 @@ class SubscribeAttributeColorControlClusterRevision : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000300) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58218,7 +58384,7 @@ class ReadBallastConfigurationPhysicalMinLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalMinLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.PhysicalMinLevel response %@", [value description]); @@ -58245,7 +58411,7 @@ class SubscribeAttributeBallastConfigurationPhysicalMinLevel : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58284,7 +58450,7 @@ class ReadBallastConfigurationPhysicalMaxLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalMaxLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.PhysicalMaxLevel response %@", [value description]); @@ -58311,7 +58477,7 @@ class SubscribeAttributeBallastConfigurationPhysicalMaxLevel : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58350,7 +58516,7 @@ class ReadBallastConfigurationBallastStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBallastStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.BallastStatus response %@", [value description]); @@ -58377,7 +58543,7 @@ class SubscribeAttributeBallastConfigurationBallastStatus : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58416,7 +58582,7 @@ class ReadBallastConfigurationMinLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.MinLevel response %@", [value description]); @@ -58446,7 +58612,7 @@ class WriteBallastConfigurationMinLevel : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -58483,7 +58649,7 @@ class SubscribeAttributeBallastConfigurationMinLevel : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58522,7 +58688,7 @@ class ReadBallastConfigurationMaxLevel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxLevelWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.MaxLevel response %@", [value description]); @@ -58552,7 +58718,7 @@ class WriteBallastConfigurationMaxLevel : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -58589,7 +58755,7 @@ class SubscribeAttributeBallastConfigurationMaxLevel : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58628,7 +58794,7 @@ class ReadBallastConfigurationIntrinsicBalanceFactor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeIntrinsicBalanceFactorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.IntrinsicBalanceFactor response %@", [value description]); @@ -58658,7 +58824,7 @@ class WriteBallastConfigurationIntrinsicBalanceFactor : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -58695,7 +58861,7 @@ class SubscribeAttributeBallastConfigurationIntrinsicBalanceFactor : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58734,7 +58900,7 @@ class ReadBallastConfigurationBallastFactorAdjustment : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBallastFactorAdjustmentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -58765,7 +58931,7 @@ class WriteBallastConfigurationBallastFactorAdjustment : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -58802,7 +58968,7 @@ class SubscribeAttributeBallastConfigurationBallastFactorAdjustment : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58841,7 +59007,7 @@ class ReadBallastConfigurationLampQuantity : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampQuantityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampQuantity response %@", [value description]); @@ -58868,7 +59034,7 @@ class SubscribeAttributeBallastConfigurationLampQuantity : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -58907,7 +59073,7 @@ class ReadBallastConfigurationLampType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampTypeWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampType response %@", [value description]); @@ -58937,7 +59103,7 @@ class WriteBallastConfigurationLampType : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -58976,7 +59142,7 @@ class SubscribeAttributeBallastConfigurationLampType : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59015,7 +59181,7 @@ class ReadBallastConfigurationLampManufacturer : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampManufacturerWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampManufacturer response %@", [value description]); @@ -59045,7 +59211,7 @@ class WriteBallastConfigurationLampManufacturer : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -59084,7 +59250,7 @@ class SubscribeAttributeBallastConfigurationLampManufacturer : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59123,7 +59289,7 @@ class ReadBallastConfigurationLampRatedHours : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampRatedHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampRatedHours response %@", [value description]); @@ -59153,7 +59319,7 @@ class WriteBallastConfigurationLampRatedHours : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -59190,7 +59356,7 @@ class SubscribeAttributeBallastConfigurationLampRatedHours : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59229,7 +59395,7 @@ class ReadBallastConfigurationLampBurnHours : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampBurnHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampBurnHours response %@", [value description]); @@ -59259,7 +59425,7 @@ class WriteBallastConfigurationLampBurnHours : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -59296,7 +59462,7 @@ class SubscribeAttributeBallastConfigurationLampBurnHours : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000033) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59335,7 +59501,7 @@ class ReadBallastConfigurationLampAlarmMode : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampAlarmModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampAlarmMode response %@", [value description]); @@ -59365,7 +59531,7 @@ class WriteBallastConfigurationLampAlarmMode : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -59402,7 +59568,7 @@ class SubscribeAttributeBallastConfigurationLampAlarmMode : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000034) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59441,7 +59607,7 @@ class ReadBallastConfigurationLampBurnHoursTripPoint : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLampBurnHoursTripPointWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.LampBurnHoursTripPoint response %@", [value description]); @@ -59471,7 +59637,7 @@ class WriteBallastConfigurationLampBurnHoursTripPoint : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000301) WriteAttribute (0x00000035) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -59508,7 +59674,7 @@ class SubscribeAttributeBallastConfigurationLampBurnHoursTripPoint : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x00000035) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59547,7 +59713,7 @@ class ReadBallastConfigurationGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.GeneratedCommandList response %@", [value description]); @@ -59574,7 +59740,7 @@ class SubscribeAttributeBallastConfigurationGeneratedCommandList : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59613,7 +59779,7 @@ class ReadBallastConfigurationAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.AcceptedCommandList response %@", [value description]); @@ -59640,7 +59806,7 @@ class SubscribeAttributeBallastConfigurationAcceptedCommandList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59679,7 +59845,7 @@ class ReadBallastConfigurationAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.AttributeList response %@", [value description]); @@ -59706,7 +59872,7 @@ class SubscribeAttributeBallastConfigurationAttributeList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59745,7 +59911,7 @@ class ReadBallastConfigurationFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.FeatureMap response %@", [value description]); @@ -59772,7 +59938,7 @@ class SubscribeAttributeBallastConfigurationFeatureMap : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59811,7 +59977,7 @@ class ReadBallastConfigurationClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"BallastConfiguration.ClusterRevision response %@", [value description]); @@ -59838,7 +60004,7 @@ class SubscribeAttributeBallastConfigurationClusterRevision : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000301) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterBallastConfiguration * cluster = [[MTRBaseClusterBallastConfiguration alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -59897,7 +60063,7 @@ class ReadIlluminanceMeasurementMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.MeasuredValue response %@", [value description]); if (error != nil) { @@ -59923,7 +60089,7 @@ class SubscribeAttributeIlluminanceMeasurementMeasuredValue : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -59961,7 +60127,7 @@ class ReadIlluminanceMeasurementMinMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.MinMeasuredValue response %@", [value description]); if (error != nil) { @@ -59987,7 +60153,7 @@ class SubscribeAttributeIlluminanceMeasurementMinMeasuredValue : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60025,7 +60191,7 @@ class ReadIlluminanceMeasurementMaxMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.MaxMeasuredValue response %@", [value description]); if (error != nil) { @@ -60051,7 +60217,7 @@ class SubscribeAttributeIlluminanceMeasurementMaxMeasuredValue : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60089,7 +60255,7 @@ class ReadIlluminanceMeasurementTolerance : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.Tolerance response %@", [value description]); if (error != nil) { @@ -60115,7 +60281,7 @@ class SubscribeAttributeIlluminanceMeasurementTolerance : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60153,7 +60319,7 @@ class ReadIlluminanceMeasurementLightSensorType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLightSensorTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.LightSensorType response %@", [value description]); if (error != nil) { @@ -60179,7 +60345,7 @@ class SubscribeAttributeIlluminanceMeasurementLightSensorType : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60217,7 +60383,7 @@ class ReadIlluminanceMeasurementGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -60243,7 +60409,7 @@ class SubscribeAttributeIlluminanceMeasurementGeneratedCommandList : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60281,7 +60447,7 @@ class ReadIlluminanceMeasurementAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -60307,7 +60473,7 @@ class SubscribeAttributeIlluminanceMeasurementAcceptedCommandList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60345,7 +60511,7 @@ class ReadIlluminanceMeasurementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.AttributeList response %@", [value description]); if (error != nil) { @@ -60371,7 +60537,7 @@ class SubscribeAttributeIlluminanceMeasurementAttributeList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60409,7 +60575,7 @@ class ReadIlluminanceMeasurementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.FeatureMap response %@", [value description]); if (error != nil) { @@ -60435,7 +60601,7 @@ class SubscribeAttributeIlluminanceMeasurementFeatureMap : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60473,7 +60639,7 @@ class ReadIlluminanceMeasurementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"IlluminanceMeasurement.ClusterRevision response %@", [value description]); if (error != nil) { @@ -60499,7 +60665,7 @@ class SubscribeAttributeIlluminanceMeasurementClusterRevision : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000400) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60556,7 +60722,7 @@ class ReadTemperatureMeasurementMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.MeasuredValue response %@", [value description]); if (error != nil) { @@ -60582,7 +60748,7 @@ class SubscribeAttributeTemperatureMeasurementMeasuredValue : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60620,7 +60786,7 @@ class ReadTemperatureMeasurementMinMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.MinMeasuredValue response %@", [value description]); if (error != nil) { @@ -60646,7 +60812,7 @@ class SubscribeAttributeTemperatureMeasurementMinMeasuredValue : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60684,7 +60850,7 @@ class ReadTemperatureMeasurementMaxMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.MaxMeasuredValue response %@", [value description]); if (error != nil) { @@ -60710,7 +60876,7 @@ class SubscribeAttributeTemperatureMeasurementMaxMeasuredValue : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60748,7 +60914,7 @@ class ReadTemperatureMeasurementTolerance : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.Tolerance response %@", [value description]); if (error != nil) { @@ -60774,7 +60940,7 @@ class SubscribeAttributeTemperatureMeasurementTolerance : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60812,7 +60978,7 @@ class ReadTemperatureMeasurementGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -60838,7 +61004,7 @@ class SubscribeAttributeTemperatureMeasurementGeneratedCommandList : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60876,7 +61042,7 @@ class ReadTemperatureMeasurementAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -60902,7 +61068,7 @@ class SubscribeAttributeTemperatureMeasurementAcceptedCommandList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -60940,7 +61106,7 @@ class ReadTemperatureMeasurementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.AttributeList response %@", [value description]); if (error != nil) { @@ -60966,7 +61132,7 @@ class SubscribeAttributeTemperatureMeasurementAttributeList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -61004,7 +61170,7 @@ class ReadTemperatureMeasurementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.FeatureMap response %@", [value description]); if (error != nil) { @@ -61030,7 +61196,7 @@ class SubscribeAttributeTemperatureMeasurementFeatureMap : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -61068,7 +61234,7 @@ class ReadTemperatureMeasurementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TemperatureMeasurement.ClusterRevision response %@", [value description]); if (error != nil) { @@ -61094,7 +61260,7 @@ class SubscribeAttributeTemperatureMeasurementClusterRevision : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000402) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -61156,7 +61322,7 @@ class ReadPressureMeasurementMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MeasuredValue response %@", [value description]); @@ -61183,7 +61349,7 @@ class SubscribeAttributePressureMeasurementMeasuredValue : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61222,7 +61388,7 @@ class ReadPressureMeasurementMinMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MinMeasuredValue response %@", [value description]); @@ -61249,7 +61415,7 @@ class SubscribeAttributePressureMeasurementMinMeasuredValue : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61288,7 +61454,7 @@ class ReadPressureMeasurementMaxMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MaxMeasuredValue response %@", [value description]); @@ -61315,7 +61481,7 @@ class SubscribeAttributePressureMeasurementMaxMeasuredValue : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61354,7 +61520,7 @@ class ReadPressureMeasurementTolerance : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.Tolerance response %@", [value description]); @@ -61381,7 +61547,7 @@ class SubscribeAttributePressureMeasurementTolerance : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61420,7 +61586,7 @@ class ReadPressureMeasurementScaledValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeScaledValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.ScaledValue response %@", [value description]); @@ -61447,7 +61613,7 @@ class SubscribeAttributePressureMeasurementScaledValue : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61486,7 +61652,7 @@ class ReadPressureMeasurementMinScaledValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinScaledValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MinScaledValue response %@", [value description]); @@ -61513,7 +61679,7 @@ class SubscribeAttributePressureMeasurementMinScaledValue : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61552,7 +61718,7 @@ class ReadPressureMeasurementMaxScaledValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxScaledValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.MaxScaledValue response %@", [value description]); @@ -61579,7 +61745,7 @@ class SubscribeAttributePressureMeasurementMaxScaledValue : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61618,7 +61784,7 @@ class ReadPressureMeasurementScaledTolerance : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeScaledToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.ScaledTolerance response %@", [value description]); @@ -61645,7 +61811,7 @@ class SubscribeAttributePressureMeasurementScaledTolerance : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61684,7 +61850,7 @@ class ReadPressureMeasurementScale : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeScaleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.Scale response %@", [value description]); @@ -61711,7 +61877,7 @@ class SubscribeAttributePressureMeasurementScale : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61750,7 +61916,7 @@ class ReadPressureMeasurementGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.GeneratedCommandList response %@", [value description]); @@ -61777,7 +61943,7 @@ class SubscribeAttributePressureMeasurementGeneratedCommandList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61816,7 +61982,7 @@ class ReadPressureMeasurementAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.AcceptedCommandList response %@", [value description]); @@ -61843,7 +62009,7 @@ class SubscribeAttributePressureMeasurementAcceptedCommandList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61882,7 +62048,7 @@ class ReadPressureMeasurementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.AttributeList response %@", [value description]); @@ -61909,7 +62075,7 @@ class SubscribeAttributePressureMeasurementAttributeList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -61948,7 +62114,7 @@ class ReadPressureMeasurementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.FeatureMap response %@", [value description]); @@ -61975,7 +62141,7 @@ class SubscribeAttributePressureMeasurementFeatureMap : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62014,7 +62180,7 @@ class ReadPressureMeasurementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"PressureMeasurement.ClusterRevision response %@", [value description]); @@ -62041,7 +62207,7 @@ class SubscribeAttributePressureMeasurementClusterRevision : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000403) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62099,7 +62265,7 @@ class ReadFlowMeasurementMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.MeasuredValue response %@", [value description]); @@ -62126,7 +62292,7 @@ class SubscribeAttributeFlowMeasurementMeasuredValue : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62165,7 +62331,7 @@ class ReadFlowMeasurementMinMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.MinMeasuredValue response %@", [value description]); @@ -62192,7 +62358,7 @@ class SubscribeAttributeFlowMeasurementMinMeasuredValue : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62231,7 +62397,7 @@ class ReadFlowMeasurementMaxMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.MaxMeasuredValue response %@", [value description]); @@ -62258,7 +62424,7 @@ class SubscribeAttributeFlowMeasurementMaxMeasuredValue : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62297,7 +62463,7 @@ class ReadFlowMeasurementTolerance : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.Tolerance response %@", [value description]); @@ -62324,7 +62490,7 @@ class SubscribeAttributeFlowMeasurementTolerance : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62363,7 +62529,7 @@ class ReadFlowMeasurementGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.GeneratedCommandList response %@", [value description]); @@ -62390,7 +62556,7 @@ class SubscribeAttributeFlowMeasurementGeneratedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62429,7 +62595,7 @@ class ReadFlowMeasurementAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.AcceptedCommandList response %@", [value description]); @@ -62456,7 +62622,7 @@ class SubscribeAttributeFlowMeasurementAcceptedCommandList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62495,7 +62661,7 @@ class ReadFlowMeasurementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.AttributeList response %@", [value description]); @@ -62522,7 +62688,7 @@ class SubscribeAttributeFlowMeasurementAttributeList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62561,7 +62727,7 @@ class ReadFlowMeasurementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.FeatureMap response %@", [value description]); @@ -62588,7 +62754,7 @@ class SubscribeAttributeFlowMeasurementFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62627,7 +62793,7 @@ class ReadFlowMeasurementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"FlowMeasurement.ClusterRevision response %@", [value description]); @@ -62654,7 +62820,7 @@ class SubscribeAttributeFlowMeasurementClusterRevision : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000404) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -62712,7 +62878,7 @@ class ReadRelativeHumidityMeasurementMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.MeasuredValue response %@", [value description]); if (error != nil) { @@ -62738,7 +62904,7 @@ class SubscribeAttributeRelativeHumidityMeasurementMeasuredValue : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -62776,7 +62942,7 @@ class ReadRelativeHumidityMeasurementMinMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.MinMeasuredValue response %@", [value description]); if (error != nil) { @@ -62802,7 +62968,7 @@ class SubscribeAttributeRelativeHumidityMeasurementMinMeasuredValue : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -62840,7 +63006,7 @@ class ReadRelativeHumidityMeasurementMaxMeasuredValue : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.MaxMeasuredValue response %@", [value description]); if (error != nil) { @@ -62866,7 +63032,7 @@ class SubscribeAttributeRelativeHumidityMeasurementMaxMeasuredValue : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -62904,7 +63070,7 @@ class ReadRelativeHumidityMeasurementTolerance : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.Tolerance response %@", [value description]); if (error != nil) { @@ -62930,7 +63096,7 @@ class SubscribeAttributeRelativeHumidityMeasurementTolerance : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -62968,7 +63134,7 @@ class ReadRelativeHumidityMeasurementGeneratedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.GeneratedCommandList response %@", [value description]); if (error != nil) { @@ -62994,7 +63160,7 @@ class SubscribeAttributeRelativeHumidityMeasurementGeneratedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -63032,7 +63198,7 @@ class ReadRelativeHumidityMeasurementAcceptedCommandList : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.AcceptedCommandList response %@", [value description]); if (error != nil) { @@ -63058,7 +63224,7 @@ class SubscribeAttributeRelativeHumidityMeasurementAcceptedCommandList : public ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -63096,7 +63262,7 @@ class ReadRelativeHumidityMeasurementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.AttributeList response %@", [value description]); if (error != nil) { @@ -63122,7 +63288,7 @@ class SubscribeAttributeRelativeHumidityMeasurementAttributeList : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -63160,7 +63326,7 @@ class ReadRelativeHumidityMeasurementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.FeatureMap response %@", [value description]); if (error != nil) { @@ -63186,7 +63352,7 @@ class SubscribeAttributeRelativeHumidityMeasurementFeatureMap : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -63224,7 +63390,7 @@ class ReadRelativeHumidityMeasurementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"RelativeHumidityMeasurement.ClusterRevision response %@", [value description]); if (error != nil) { @@ -63250,7 +63416,7 @@ class SubscribeAttributeRelativeHumidityMeasurementClusterRevision : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000405) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:endpointId queue:callbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions = mKeepSubscriptions.HasValue() ? [NSNumber numberWithBool:mKeepSubscriptions.Value()] : nil; @@ -63315,7 +63481,7 @@ class ReadOccupancySensingOccupancy : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupancyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.Occupancy response %@", [value description]); @@ -63342,7 +63508,7 @@ class SubscribeAttributeOccupancySensingOccupancy : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63381,7 +63547,7 @@ class ReadOccupancySensingOccupancySensorType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupancySensorTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.OccupancySensorType response %@", [value description]); @@ -63408,7 +63574,7 @@ class SubscribeAttributeOccupancySensingOccupancySensorType : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63447,7 +63613,7 @@ class ReadOccupancySensingOccupancySensorTypeBitmap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOccupancySensorTypeBitmapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -63475,7 +63641,7 @@ class SubscribeAttributeOccupancySensingOccupancySensorTypeBitmap : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63514,7 +63680,7 @@ class ReadOccupancySensingPirOccupiedToUnoccupiedDelay : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePirOccupiedToUnoccupiedDelayWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -63545,7 +63711,7 @@ class WriteOccupancySensingPirOccupiedToUnoccupiedDelay : public WriteAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -63583,7 +63749,7 @@ class SubscribeAttributeOccupancySensingPirOccupiedToUnoccupiedDelay : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63622,7 +63788,7 @@ class ReadOccupancySensingPirUnoccupiedToOccupiedDelay : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePirUnoccupiedToOccupiedDelayWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -63653,7 +63819,7 @@ class WriteOccupancySensingPirUnoccupiedToOccupiedDelay : public WriteAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -63691,7 +63857,7 @@ class SubscribeAttributeOccupancySensingPirUnoccupiedToOccupiedDelay : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63730,7 +63896,7 @@ class ReadOccupancySensingPirUnoccupiedToOccupiedThreshold : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePirUnoccupiedToOccupiedThresholdWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -63761,7 +63927,7 @@ class WriteOccupancySensingPirUnoccupiedToOccupiedThreshold : public WriteAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -63800,7 +63966,7 @@ class SubscribeAttributeOccupancySensingPirUnoccupiedToOccupiedThreshold : publi ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63839,7 +64005,7 @@ class ReadOccupancySensingUltrasonicOccupiedToUnoccupiedDelay : public ReadAttri dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -63870,7 +64036,7 @@ class WriteOccupancySensingUltrasonicOccupiedToUnoccupiedDelay : public WriteAtt ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -63910,7 +64076,7 @@ class SubscribeAttributeOccupancySensingUltrasonicOccupiedToUnoccupiedDelay : pu ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -63949,7 +64115,7 @@ class ReadOccupancySensingUltrasonicUnoccupiedToOccupiedDelay : public ReadAttri dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -63980,7 +64146,7 @@ class WriteOccupancySensingUltrasonicUnoccupiedToOccupiedDelay : public WriteAtt ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -64020,7 +64186,7 @@ class SubscribeAttributeOccupancySensingUltrasonicUnoccupiedToOccupiedDelay : pu ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64059,7 +64225,7 @@ class ReadOccupancySensingUltrasonicUnoccupiedToOccupiedThreshold : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -64090,7 +64256,7 @@ class WriteOccupancySensingUltrasonicUnoccupiedToOccupiedThreshold : public Writ ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -64130,7 +64296,7 @@ class SubscribeAttributeOccupancySensingUltrasonicUnoccupiedToOccupiedThreshold ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64170,7 +64336,7 @@ class ReadOccupancySensingPhysicalContactOccupiedToUnoccupiedDelay : public Read dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -64201,7 +64367,7 @@ class WriteOccupancySensingPhysicalContactOccupiedToUnoccupiedDelay : public Wri ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -64241,7 +64407,7 @@ class SubscribeAttributeOccupancySensingPhysicalContactOccupiedToUnoccupiedDelay ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64281,7 +64447,7 @@ class ReadOccupancySensingPhysicalContactUnoccupiedToOccupiedDelay : public Read dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -64312,7 +64478,7 @@ class WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedDelay : public Wri ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -64352,7 +64518,7 @@ class SubscribeAttributeOccupancySensingPhysicalContactUnoccupiedToOccupiedDelay ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64392,7 +64558,7 @@ class ReadOccupancySensingPhysicalContactUnoccupiedToOccupiedThreshold : public dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -64423,7 +64589,7 @@ class WriteOccupancySensingPhysicalContactUnoccupiedToOccupiedThreshold : public ChipLogProgress(chipTool, "Sending cluster (0x00000406) WriteAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -64463,7 +64629,7 @@ class SubscribeAttributeOccupancySensingPhysicalContactUnoccupiedToOccupiedThres ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64504,7 +64670,7 @@ class ReadOccupancySensingGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.GeneratedCommandList response %@", [value description]); @@ -64531,7 +64697,7 @@ class SubscribeAttributeOccupancySensingGeneratedCommandList : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64570,7 +64736,7 @@ class ReadOccupancySensingAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.AcceptedCommandList response %@", [value description]); @@ -64597,7 +64763,7 @@ class SubscribeAttributeOccupancySensingAcceptedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64636,7 +64802,7 @@ class ReadOccupancySensingAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.AttributeList response %@", [value description]); @@ -64663,7 +64829,7 @@ class SubscribeAttributeOccupancySensingAttributeList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64702,7 +64868,7 @@ class ReadOccupancySensingFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.FeatureMap response %@", [value description]); @@ -64729,7 +64895,7 @@ class SubscribeAttributeOccupancySensingFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64768,7 +64934,7 @@ class ReadOccupancySensingClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"OccupancySensing.ClusterRevision response %@", [value description]); @@ -64795,7 +64961,7 @@ class SubscribeAttributeOccupancySensingClusterRevision : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000406) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64850,7 +65016,7 @@ class ReadWakeOnLanMACAddress : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMACAddressWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.MACAddress response %@", [value description]); @@ -64877,7 +65043,7 @@ class SubscribeAttributeWakeOnLanMACAddress : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000503) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64916,7 +65082,7 @@ class ReadWakeOnLanGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.GeneratedCommandList response %@", [value description]); @@ -64943,7 +65109,7 @@ class SubscribeAttributeWakeOnLanGeneratedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000503) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -64982,7 +65148,7 @@ class ReadWakeOnLanAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.AcceptedCommandList response %@", [value description]); @@ -65009,7 +65175,7 @@ class SubscribeAttributeWakeOnLanAcceptedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000503) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65048,7 +65214,7 @@ class ReadWakeOnLanAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.AttributeList response %@", [value description]); @@ -65075,7 +65241,7 @@ class SubscribeAttributeWakeOnLanAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000503) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65114,7 +65280,7 @@ class ReadWakeOnLanFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.FeatureMap response %@", [value description]); @@ -65141,7 +65307,7 @@ class SubscribeAttributeWakeOnLanFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000503) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65180,7 +65346,7 @@ class ReadWakeOnLanClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"WakeOnLan.ClusterRevision response %@", [value description]); @@ -65207,7 +65373,7 @@ class SubscribeAttributeWakeOnLanClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000503) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65267,7 +65433,7 @@ class ChannelChangeChannel : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRChannelClusterChangeChannelParams alloc] init]; params.timedInvokeTimeoutMs @@ -65318,7 +65484,7 @@ class ChannelChangeChannelByNumber : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRChannelClusterChangeChannelByNumberParams alloc] init]; params.timedInvokeTimeoutMs @@ -65365,7 +65531,7 @@ class ChannelSkipChannel : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRChannelClusterSkipChannelParams alloc] init]; params.timedInvokeTimeoutMs @@ -65411,7 +65577,7 @@ class ReadChannelChannelList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeChannelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.ChannelList response %@", [value description]); @@ -65438,7 +65604,7 @@ class SubscribeAttributeChannelChannelList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65477,7 +65643,7 @@ class ReadChannelLineup : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLineupWithCompletionHandler:^(MTRChannelClusterLineupInfo * _Nullable value, NSError * _Nullable error) { @@ -65505,7 +65671,7 @@ class SubscribeAttributeChannelLineup : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65544,7 +65710,7 @@ class ReadChannelCurrentChannel : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentChannelWithCompletionHandler:^( MTRChannelClusterChannelInfo * _Nullable value, NSError * _Nullable error) { @@ -65572,7 +65738,7 @@ class SubscribeAttributeChannelCurrentChannel : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65611,7 +65777,7 @@ class ReadChannelGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.GeneratedCommandList response %@", [value description]); @@ -65638,7 +65804,7 @@ class SubscribeAttributeChannelGeneratedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65677,7 +65843,7 @@ class ReadChannelAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.AcceptedCommandList response %@", [value description]); @@ -65704,7 +65870,7 @@ class SubscribeAttributeChannelAcceptedCommandList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65743,7 +65909,7 @@ class ReadChannelAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.AttributeList response %@", [value description]); @@ -65770,7 +65936,7 @@ class SubscribeAttributeChannelAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65809,7 +65975,7 @@ class ReadChannelFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.FeatureMap response %@", [value description]); @@ -65836,7 +66002,7 @@ class SubscribeAttributeChannelFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65875,7 +66041,7 @@ class ReadChannelClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"Channel.ClusterRevision response %@", [value description]); @@ -65902,7 +66068,7 @@ class SubscribeAttributeChannelClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000504) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -65960,7 +66126,7 @@ class TargetNavigatorNavigateTarget : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTargetNavigatorClusterNavigateTargetParams alloc] init]; params.timedInvokeTimeoutMs @@ -66015,7 +66181,7 @@ class ReadTargetNavigatorTargetList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTargetListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.TargetList response %@", [value description]); @@ -66042,7 +66208,7 @@ class SubscribeAttributeTargetNavigatorTargetList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66081,7 +66247,7 @@ class ReadTargetNavigatorCurrentTarget : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentTargetWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.CurrentTarget response %@", [value description]); @@ -66108,7 +66274,7 @@ class SubscribeAttributeTargetNavigatorCurrentTarget : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66147,7 +66313,7 @@ class ReadTargetNavigatorGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.GeneratedCommandList response %@", [value description]); @@ -66174,7 +66340,7 @@ class SubscribeAttributeTargetNavigatorGeneratedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66213,7 +66379,7 @@ class ReadTargetNavigatorAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.AcceptedCommandList response %@", [value description]); @@ -66240,7 +66406,7 @@ class SubscribeAttributeTargetNavigatorAcceptedCommandList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66279,7 +66445,7 @@ class ReadTargetNavigatorAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.AttributeList response %@", [value description]); @@ -66306,7 +66472,7 @@ class SubscribeAttributeTargetNavigatorAttributeList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66345,7 +66511,7 @@ class ReadTargetNavigatorFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.FeatureMap response %@", [value description]); @@ -66372,7 +66538,7 @@ class SubscribeAttributeTargetNavigatorFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66411,7 +66577,7 @@ class ReadTargetNavigatorClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TargetNavigator.ClusterRevision response %@", [value description]); @@ -66438,7 +66604,7 @@ class SubscribeAttributeTargetNavigatorClusterRevision : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000505) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -66509,7 +66675,7 @@ class MediaPlaybackPlay : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterPlayParams alloc] init]; params.timedInvokeTimeoutMs @@ -66553,7 +66719,7 @@ class MediaPlaybackPause : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterPauseParams alloc] init]; params.timedInvokeTimeoutMs @@ -66598,7 +66764,7 @@ class MediaPlaybackStopPlayback : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterStopPlaybackParams alloc] init]; params.timedInvokeTimeoutMs @@ -66643,7 +66809,7 @@ class MediaPlaybackStartOver : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterStartOverParams alloc] init]; params.timedInvokeTimeoutMs @@ -66688,7 +66854,7 @@ class MediaPlaybackPrevious : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterPreviousParams alloc] init]; params.timedInvokeTimeoutMs @@ -66733,7 +66899,7 @@ class MediaPlaybackNext : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterNextParams alloc] init]; params.timedInvokeTimeoutMs @@ -66777,7 +66943,7 @@ class MediaPlaybackRewind : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterRewindParams alloc] init]; params.timedInvokeTimeoutMs @@ -66822,7 +66988,7 @@ class MediaPlaybackFastForward : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterFastForwardParams alloc] init]; params.timedInvokeTimeoutMs @@ -66868,7 +67034,7 @@ class MediaPlaybackSkipForward : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterSkipForwardParams alloc] init]; params.timedInvokeTimeoutMs @@ -66916,7 +67082,7 @@ class MediaPlaybackSkipBackward : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterSkipBackwardParams alloc] init]; params.timedInvokeTimeoutMs @@ -66964,7 +67130,7 @@ class MediaPlaybackSeek : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaPlaybackClusterSeekParams alloc] init]; params.timedInvokeTimeoutMs @@ -67011,7 +67177,7 @@ class ReadMediaPlaybackCurrentState : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.CurrentState response %@", [value description]); @@ -67038,7 +67204,7 @@ class SubscribeAttributeMediaPlaybackCurrentState : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67077,7 +67243,7 @@ class ReadMediaPlaybackStartTime : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStartTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.StartTime response %@", [value description]); @@ -67104,7 +67270,7 @@ class SubscribeAttributeMediaPlaybackStartTime : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67143,7 +67309,7 @@ class ReadMediaPlaybackDuration : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDurationWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.Duration response %@", [value description]); @@ -67170,7 +67336,7 @@ class SubscribeAttributeMediaPlaybackDuration : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67209,7 +67375,7 @@ class ReadMediaPlaybackSampledPosition : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSampledPositionWithCompletionHandler:^( MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, NSError * _Nullable error) { @@ -67237,7 +67403,7 @@ class SubscribeAttributeMediaPlaybackSampledPosition : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67276,7 +67442,7 @@ class ReadMediaPlaybackPlaybackSpeed : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePlaybackSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.PlaybackSpeed response %@", [value description]); @@ -67303,7 +67469,7 @@ class SubscribeAttributeMediaPlaybackPlaybackSpeed : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67342,7 +67508,7 @@ class ReadMediaPlaybackSeekRangeEnd : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSeekRangeEndWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.SeekRangeEnd response %@", [value description]); @@ -67369,7 +67535,7 @@ class SubscribeAttributeMediaPlaybackSeekRangeEnd : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67408,7 +67574,7 @@ class ReadMediaPlaybackSeekRangeStart : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSeekRangeStartWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.SeekRangeStart response %@", [value description]); @@ -67435,7 +67601,7 @@ class SubscribeAttributeMediaPlaybackSeekRangeStart : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67474,7 +67640,7 @@ class ReadMediaPlaybackGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.GeneratedCommandList response %@", [value description]); @@ -67501,7 +67667,7 @@ class SubscribeAttributeMediaPlaybackGeneratedCommandList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67540,7 +67706,7 @@ class ReadMediaPlaybackAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.AcceptedCommandList response %@", [value description]); @@ -67567,7 +67733,7 @@ class SubscribeAttributeMediaPlaybackAcceptedCommandList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67606,7 +67772,7 @@ class ReadMediaPlaybackAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.AttributeList response %@", [value description]); @@ -67633,7 +67799,7 @@ class SubscribeAttributeMediaPlaybackAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67672,7 +67838,7 @@ class ReadMediaPlaybackFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.FeatureMap response %@", [value description]); @@ -67699,7 +67865,7 @@ class SubscribeAttributeMediaPlaybackFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67738,7 +67904,7 @@ class ReadMediaPlaybackClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaPlayback.ClusterRevision response %@", [value description]); @@ -67765,7 +67931,7 @@ class SubscribeAttributeMediaPlaybackClusterRevision : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000506) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -67825,7 +67991,7 @@ class MediaInputSelectInput : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaInputClusterSelectInputParams alloc] init]; params.timedInvokeTimeoutMs @@ -67870,7 +68036,7 @@ class MediaInputShowInputStatus : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaInputClusterShowInputStatusParams alloc] init]; params.timedInvokeTimeoutMs @@ -67913,7 +68079,7 @@ class MediaInputHideInputStatus : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaInputClusterHideInputStatusParams alloc] init]; params.timedInvokeTimeoutMs @@ -67958,7 +68124,7 @@ class MediaInputRenameInput : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRMediaInputClusterRenameInputParams alloc] init]; params.timedInvokeTimeoutMs @@ -68007,7 +68173,7 @@ class ReadMediaInputInputList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInputListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.InputList response %@", [value description]); @@ -68034,7 +68200,7 @@ class SubscribeAttributeMediaInputInputList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68073,7 +68239,7 @@ class ReadMediaInputCurrentInput : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentInputWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.CurrentInput response %@", [value description]); @@ -68100,7 +68266,7 @@ class SubscribeAttributeMediaInputCurrentInput : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68139,7 +68305,7 @@ class ReadMediaInputGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.GeneratedCommandList response %@", [value description]); @@ -68166,7 +68332,7 @@ class SubscribeAttributeMediaInputGeneratedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68205,7 +68371,7 @@ class ReadMediaInputAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.AcceptedCommandList response %@", [value description]); @@ -68232,7 +68398,7 @@ class SubscribeAttributeMediaInputAcceptedCommandList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68271,7 +68437,7 @@ class ReadMediaInputAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.AttributeList response %@", [value description]); @@ -68298,7 +68464,7 @@ class SubscribeAttributeMediaInputAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68337,7 +68503,7 @@ class ReadMediaInputFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.FeatureMap response %@", [value description]); @@ -68364,7 +68530,7 @@ class SubscribeAttributeMediaInputFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68403,7 +68569,7 @@ class ReadMediaInputClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"MediaInput.ClusterRevision response %@", [value description]); @@ -68430,7 +68596,7 @@ class SubscribeAttributeMediaInputClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000507) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68484,7 +68650,7 @@ class LowPowerSleep : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRLowPowerClusterSleepParams alloc] init]; params.timedInvokeTimeoutMs @@ -68528,7 +68694,7 @@ class ReadLowPowerGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.GeneratedCommandList response %@", [value description]); @@ -68555,7 +68721,7 @@ class SubscribeAttributeLowPowerGeneratedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000508) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68594,7 +68760,7 @@ class ReadLowPowerAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.AcceptedCommandList response %@", [value description]); @@ -68621,7 +68787,7 @@ class SubscribeAttributeLowPowerAcceptedCommandList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000508) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68660,7 +68826,7 @@ class ReadLowPowerAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.AttributeList response %@", [value description]); @@ -68687,7 +68853,7 @@ class SubscribeAttributeLowPowerAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000508) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68726,7 +68892,7 @@ class ReadLowPowerFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.FeatureMap response %@", [value description]); @@ -68753,7 +68919,7 @@ class SubscribeAttributeLowPowerFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000508) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68792,7 +68958,7 @@ class ReadLowPowerClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"LowPower.ClusterRevision response %@", [value description]); @@ -68819,7 +68985,7 @@ class SubscribeAttributeLowPowerClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000508) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68874,7 +69040,7 @@ class KeypadInputSendKey : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRKeypadInputClusterSendKeyParams alloc] init]; params.timedInvokeTimeoutMs @@ -68921,7 +69087,7 @@ class ReadKeypadInputGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.GeneratedCommandList response %@", [value description]); @@ -68948,7 +69114,7 @@ class SubscribeAttributeKeypadInputGeneratedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000509) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -68987,7 +69153,7 @@ class ReadKeypadInputAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.AcceptedCommandList response %@", [value description]); @@ -69014,7 +69180,7 @@ class SubscribeAttributeKeypadInputAcceptedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000509) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69053,7 +69219,7 @@ class ReadKeypadInputAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.AttributeList response %@", [value description]); @@ -69080,7 +69246,7 @@ class SubscribeAttributeKeypadInputAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000509) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69119,7 +69285,7 @@ class ReadKeypadInputFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.FeatureMap response %@", [value description]); @@ -69146,7 +69312,7 @@ class SubscribeAttributeKeypadInputFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000509) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69185,7 +69351,7 @@ class ReadKeypadInputClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"KeypadInput.ClusterRevision response %@", [value description]); @@ -69212,7 +69378,7 @@ class SubscribeAttributeKeypadInputClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000509) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69273,7 +69439,7 @@ class ContentLauncherLaunchContent : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRContentLauncherClusterLaunchContentParams alloc] init]; params.timedInvokeTimeoutMs @@ -69365,7 +69531,7 @@ class ContentLauncherLaunchURL : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRContentLauncherClusterLaunchURLParams alloc] init]; params.timedInvokeTimeoutMs @@ -69598,7 +69764,7 @@ class ReadContentLauncherAcceptHeader : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptHeaderWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.AcceptHeader response %@", [value description]); @@ -69625,7 +69791,7 @@ class SubscribeAttributeContentLauncherAcceptHeader : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69664,7 +69830,7 @@ class ReadContentLauncherSupportedStreamingProtocols : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeSupportedStreamingProtocolsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -69695,7 +69861,7 @@ class WriteContentLauncherSupportedStreamingProtocols : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050A) WriteAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -69733,7 +69899,7 @@ class SubscribeAttributeContentLauncherSupportedStreamingProtocols : public Subs ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69772,7 +69938,7 @@ class ReadContentLauncherGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.GeneratedCommandList response %@", [value description]); @@ -69799,7 +69965,7 @@ class SubscribeAttributeContentLauncherGeneratedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69838,7 +70004,7 @@ class ReadContentLauncherAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.AcceptedCommandList response %@", [value description]); @@ -69865,7 +70031,7 @@ class SubscribeAttributeContentLauncherAcceptedCommandList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69904,7 +70070,7 @@ class ReadContentLauncherAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.AttributeList response %@", [value description]); @@ -69931,7 +70097,7 @@ class SubscribeAttributeContentLauncherAttributeList : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -69970,7 +70136,7 @@ class ReadContentLauncherFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.FeatureMap response %@", [value description]); @@ -69997,7 +70163,7 @@ class SubscribeAttributeContentLauncherFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70036,7 +70202,7 @@ class ReadContentLauncherClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ContentLauncher.ClusterRevision response %@", [value description]); @@ -70063,7 +70229,7 @@ class SubscribeAttributeContentLauncherClusterRevision : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000050A) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70121,7 +70287,7 @@ class AudioOutputSelectOutput : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAudioOutputClusterSelectOutputParams alloc] init]; params.timedInvokeTimeoutMs @@ -70168,7 +70334,7 @@ class AudioOutputRenameOutput : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAudioOutputClusterRenameOutputParams alloc] init]; params.timedInvokeTimeoutMs @@ -70217,7 +70383,7 @@ class ReadAudioOutputOutputList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOutputListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.OutputList response %@", [value description]); @@ -70244,7 +70410,7 @@ class SubscribeAttributeAudioOutputOutputList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70283,7 +70449,7 @@ class ReadAudioOutputCurrentOutput : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentOutputWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.CurrentOutput response %@", [value description]); @@ -70310,7 +70476,7 @@ class SubscribeAttributeAudioOutputCurrentOutput : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70349,7 +70515,7 @@ class ReadAudioOutputGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.GeneratedCommandList response %@", [value description]); @@ -70376,7 +70542,7 @@ class SubscribeAttributeAudioOutputGeneratedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70415,7 +70581,7 @@ class ReadAudioOutputAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.AcceptedCommandList response %@", [value description]); @@ -70442,7 +70608,7 @@ class SubscribeAttributeAudioOutputAcceptedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70481,7 +70647,7 @@ class ReadAudioOutputAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.AttributeList response %@", [value description]); @@ -70508,7 +70674,7 @@ class SubscribeAttributeAudioOutputAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70547,7 +70713,7 @@ class ReadAudioOutputFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.FeatureMap response %@", [value description]); @@ -70574,7 +70740,7 @@ class SubscribeAttributeAudioOutputFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70613,7 +70779,7 @@ class ReadAudioOutputClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AudioOutput.ClusterRevision response %@", [value description]); @@ -70640,7 +70806,7 @@ class SubscribeAttributeAudioOutputClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050B) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70701,7 +70867,7 @@ class ApplicationLauncherLaunchApp : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRApplicationLauncherClusterLaunchAppParams alloc] init]; params.timedInvokeTimeoutMs @@ -70760,7 +70926,7 @@ class ApplicationLauncherStopApp : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRApplicationLauncherClusterStopAppParams alloc] init]; params.timedInvokeTimeoutMs @@ -70814,7 +70980,7 @@ class ApplicationLauncherHideApp : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRApplicationLauncherClusterHideAppParams alloc] init]; params.timedInvokeTimeoutMs @@ -70867,7 +71033,7 @@ class ReadApplicationLauncherCatalogList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCatalogListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.CatalogList response %@", [value description]); @@ -70894,7 +71060,7 @@ class SubscribeAttributeApplicationLauncherCatalogList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -70933,7 +71099,7 @@ class ReadApplicationLauncherCurrentApp : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentAppWithCompletionHandler:^( MTRApplicationLauncherClusterApplicationEP * _Nullable value, NSError * _Nullable error) { @@ -70965,7 +71131,7 @@ class WriteApplicationLauncherCurrentApp : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050C) WriteAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -71019,7 +71185,7 @@ class SubscribeAttributeApplicationLauncherCurrentApp : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71058,7 +71224,7 @@ class ReadApplicationLauncherGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.GeneratedCommandList response %@", [value description]); @@ -71085,7 +71251,7 @@ class SubscribeAttributeApplicationLauncherGeneratedCommandList : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71124,7 +71290,7 @@ class ReadApplicationLauncherAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.AcceptedCommandList response %@", [value description]); @@ -71151,7 +71317,7 @@ class SubscribeAttributeApplicationLauncherAcceptedCommandList : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71190,7 +71356,7 @@ class ReadApplicationLauncherAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.AttributeList response %@", [value description]); @@ -71217,7 +71383,7 @@ class SubscribeAttributeApplicationLauncherAttributeList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71256,7 +71422,7 @@ class ReadApplicationLauncherFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.FeatureMap response %@", [value description]); @@ -71283,7 +71449,7 @@ class SubscribeAttributeApplicationLauncherFeatureMap : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71322,7 +71488,7 @@ class ReadApplicationLauncherClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationLauncher.ClusterRevision response %@", [value description]); @@ -71349,7 +71515,7 @@ class SubscribeAttributeApplicationLauncherClusterRevision : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x0000050C) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71411,7 +71577,7 @@ class ReadApplicationBasicVendorName : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeVendorNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.VendorName response %@", [value description]); @@ -71438,7 +71604,7 @@ class SubscribeAttributeApplicationBasicVendorName : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71477,7 +71643,7 @@ class ReadApplicationBasicVendorID : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeVendorIDWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.VendorID response %@", [value description]); @@ -71504,7 +71670,7 @@ class SubscribeAttributeApplicationBasicVendorID : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71543,7 +71709,7 @@ class ReadApplicationBasicApplicationName : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApplicationNameWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ApplicationName response %@", [value description]); @@ -71570,7 +71736,7 @@ class SubscribeAttributeApplicationBasicApplicationName : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71609,7 +71775,7 @@ class ReadApplicationBasicProductID : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeProductIDWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ProductID response %@", [value description]); @@ -71636,7 +71802,7 @@ class SubscribeAttributeApplicationBasicProductID : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71675,7 +71841,7 @@ class ReadApplicationBasicApplication : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApplicationWithCompletionHandler:^( MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, NSError * _Nullable error) { @@ -71703,7 +71869,7 @@ class SubscribeAttributeApplicationBasicApplication : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71742,7 +71908,7 @@ class ReadApplicationBasicStatus : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.Status response %@", [value description]); @@ -71769,7 +71935,7 @@ class SubscribeAttributeApplicationBasicStatus : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71808,7 +71974,7 @@ class ReadApplicationBasicApplicationVersion : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApplicationVersionWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ApplicationVersion response %@", [value description]); @@ -71835,7 +72001,7 @@ class SubscribeAttributeApplicationBasicApplicationVersion : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71874,7 +72040,7 @@ class ReadApplicationBasicAllowedVendorList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAllowedVendorListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.AllowedVendorList response %@", [value description]); @@ -71901,7 +72067,7 @@ class SubscribeAttributeApplicationBasicAllowedVendorList : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -71940,7 +72106,7 @@ class ReadApplicationBasicGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.GeneratedCommandList response %@", [value description]); @@ -71967,7 +72133,7 @@ class SubscribeAttributeApplicationBasicGeneratedCommandList : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72006,7 +72172,7 @@ class ReadApplicationBasicAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.AcceptedCommandList response %@", [value description]); @@ -72033,7 +72199,7 @@ class SubscribeAttributeApplicationBasicAcceptedCommandList : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72072,7 +72238,7 @@ class ReadApplicationBasicAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.AttributeList response %@", [value description]); @@ -72099,7 +72265,7 @@ class SubscribeAttributeApplicationBasicAttributeList : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72138,7 +72304,7 @@ class ReadApplicationBasicFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.FeatureMap response %@", [value description]); @@ -72165,7 +72331,7 @@ class SubscribeAttributeApplicationBasicFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72204,7 +72370,7 @@ class ReadApplicationBasicClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ApplicationBasic.ClusterRevision response %@", [value description]); @@ -72231,7 +72397,7 @@ class SubscribeAttributeApplicationBasicClusterRevision : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000050D) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72288,7 +72454,7 @@ class AccountLoginGetSetupPIN : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAccountLoginClusterGetSetupPINParams alloc] init]; params.timedInvokeTimeoutMs @@ -72339,7 +72505,7 @@ class AccountLoginLogin : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAccountLoginClusterLoginParams alloc] init]; params.timedInvokeTimeoutMs @@ -72389,7 +72555,7 @@ class AccountLoginLogout : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRAccountLoginClusterLogoutParams alloc] init]; params.timedInvokeTimeoutMs @@ -72433,7 +72599,7 @@ class ReadAccountLoginGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.GeneratedCommandList response %@", [value description]); @@ -72460,7 +72626,7 @@ class SubscribeAttributeAccountLoginGeneratedCommandList : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x0000050E) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72499,7 +72665,7 @@ class ReadAccountLoginAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.AcceptedCommandList response %@", [value description]); @@ -72526,7 +72692,7 @@ class SubscribeAttributeAccountLoginAcceptedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x0000050E) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72565,7 +72731,7 @@ class ReadAccountLoginAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.AttributeList response %@", [value description]); @@ -72592,7 +72758,7 @@ class SubscribeAttributeAccountLoginAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050E) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72631,7 +72797,7 @@ class ReadAccountLoginFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.FeatureMap response %@", [value description]); @@ -72658,7 +72824,7 @@ class SubscribeAttributeAccountLoginFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0x0000050E) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72697,7 +72863,7 @@ class ReadAccountLoginClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"AccountLogin.ClusterRevision response %@", [value description]); @@ -72724,7 +72890,7 @@ class SubscribeAttributeAccountLoginClusterRevision : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x0000050E) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -72907,7 +73073,7 @@ class ElectricalMeasurementGetProfileInfoCommand : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRElectricalMeasurementClusterGetProfileInfoCommandParams alloc] init]; params.timedInvokeTimeoutMs @@ -72953,7 +73119,7 @@ class ElectricalMeasurementGetMeasurementProfileCommand : public ClusterCommand dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams alloc] init]; params.timedInvokeTimeoutMs @@ -73001,7 +73167,7 @@ class ReadElectricalMeasurementMeasurementType : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasurementTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.MeasurementType response %@", [value description]); @@ -73028,7 +73194,7 @@ class SubscribeAttributeElectricalMeasurementMeasurementType : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73067,7 +73233,7 @@ class ReadElectricalMeasurementDcVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcVoltage response %@", [value description]); @@ -73094,7 +73260,7 @@ class SubscribeAttributeElectricalMeasurementDcVoltage : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000100) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73133,7 +73299,7 @@ class ReadElectricalMeasurementDcVoltageMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcVoltageMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcVoltageMin response %@", [value description]); @@ -73160,7 +73326,7 @@ class SubscribeAttributeElectricalMeasurementDcVoltageMin : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000101) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73199,7 +73365,7 @@ class ReadElectricalMeasurementDcVoltageMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcVoltageMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcVoltageMax response %@", [value description]); @@ -73226,7 +73392,7 @@ class SubscribeAttributeElectricalMeasurementDcVoltageMax : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000102) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73265,7 +73431,7 @@ class ReadElectricalMeasurementDcCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcCurrent response %@", [value description]); @@ -73292,7 +73458,7 @@ class SubscribeAttributeElectricalMeasurementDcCurrent : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000103) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73331,7 +73497,7 @@ class ReadElectricalMeasurementDcCurrentMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcCurrentMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcCurrentMin response %@", [value description]); @@ -73358,7 +73524,7 @@ class SubscribeAttributeElectricalMeasurementDcCurrentMin : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000104) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73397,7 +73563,7 @@ class ReadElectricalMeasurementDcCurrentMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcCurrentMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcCurrentMax response %@", [value description]); @@ -73424,7 +73590,7 @@ class SubscribeAttributeElectricalMeasurementDcCurrentMax : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000105) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73463,7 +73629,7 @@ class ReadElectricalMeasurementDcPower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcPowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcPower response %@", [value description]); @@ -73490,7 +73656,7 @@ class SubscribeAttributeElectricalMeasurementDcPower : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000106) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73529,7 +73695,7 @@ class ReadElectricalMeasurementDcPowerMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcPowerMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcPowerMin response %@", [value description]); @@ -73556,7 +73722,7 @@ class SubscribeAttributeElectricalMeasurementDcPowerMin : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000107) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73595,7 +73761,7 @@ class ReadElectricalMeasurementDcPowerMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcPowerMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcPowerMax response %@", [value description]); @@ -73622,7 +73788,7 @@ class SubscribeAttributeElectricalMeasurementDcPowerMax : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000108) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73661,7 +73827,7 @@ class ReadElectricalMeasurementDcVoltageMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcVoltageMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcVoltageMultiplier response %@", [value description]); @@ -73688,7 +73854,7 @@ class SubscribeAttributeElectricalMeasurementDcVoltageMultiplier : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000200) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73727,7 +73893,7 @@ class ReadElectricalMeasurementDcVoltageDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcVoltageDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcVoltageDivisor response %@", [value description]); @@ -73754,7 +73920,7 @@ class SubscribeAttributeElectricalMeasurementDcVoltageDivisor : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000201) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73793,7 +73959,7 @@ class ReadElectricalMeasurementDcCurrentMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcCurrentMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcCurrentMultiplier response %@", [value description]); @@ -73820,7 +73986,7 @@ class SubscribeAttributeElectricalMeasurementDcCurrentMultiplier : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000202) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73859,7 +74025,7 @@ class ReadElectricalMeasurementDcCurrentDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcCurrentDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcCurrentDivisor response %@", [value description]); @@ -73886,7 +74052,7 @@ class SubscribeAttributeElectricalMeasurementDcCurrentDivisor : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000203) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73925,7 +74091,7 @@ class ReadElectricalMeasurementDcPowerMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcPowerMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcPowerMultiplier response %@", [value description]); @@ -73952,7 +74118,7 @@ class SubscribeAttributeElectricalMeasurementDcPowerMultiplier : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000204) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -73991,7 +74157,7 @@ class ReadElectricalMeasurementDcPowerDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeDcPowerDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.DcPowerDivisor response %@", [value description]); @@ -74018,7 +74184,7 @@ class SubscribeAttributeElectricalMeasurementDcPowerDivisor : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000205) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74057,7 +74223,7 @@ class ReadElectricalMeasurementAcFrequency : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcFrequencyWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcFrequency response %@", [value description]); @@ -74084,7 +74250,7 @@ class SubscribeAttributeElectricalMeasurementAcFrequency : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000300) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74123,7 +74289,7 @@ class ReadElectricalMeasurementAcFrequencyMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcFrequencyMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcFrequencyMin response %@", [value description]); @@ -74150,7 +74316,7 @@ class SubscribeAttributeElectricalMeasurementAcFrequencyMin : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000301) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74189,7 +74355,7 @@ class ReadElectricalMeasurementAcFrequencyMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcFrequencyMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcFrequencyMax response %@", [value description]); @@ -74216,7 +74382,7 @@ class SubscribeAttributeElectricalMeasurementAcFrequencyMax : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000302) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74255,7 +74421,7 @@ class ReadElectricalMeasurementNeutralCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNeutralCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.NeutralCurrent response %@", [value description]); @@ -74282,7 +74448,7 @@ class SubscribeAttributeElectricalMeasurementNeutralCurrent : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000303) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74321,7 +74487,7 @@ class ReadElectricalMeasurementTotalActivePower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTotalActivePowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.TotalActivePower response %@", [value description]); @@ -74348,7 +74514,7 @@ class SubscribeAttributeElectricalMeasurementTotalActivePower : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000304) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74387,7 +74553,7 @@ class ReadElectricalMeasurementTotalReactivePower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTotalReactivePowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.TotalReactivePower response %@", [value description]); @@ -74414,7 +74580,7 @@ class SubscribeAttributeElectricalMeasurementTotalReactivePower : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000305) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74453,7 +74619,7 @@ class ReadElectricalMeasurementTotalApparentPower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTotalApparentPowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.TotalApparentPower response %@", [value description]); @@ -74480,7 +74646,7 @@ class SubscribeAttributeElectricalMeasurementTotalApparentPower : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000306) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74519,7 +74685,7 @@ class ReadElectricalMeasurementMeasured1stHarmonicCurrent : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasured1stHarmonicCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74547,7 +74713,7 @@ class SubscribeAttributeElectricalMeasurementMeasured1stHarmonicCurrent : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000307) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74586,7 +74752,7 @@ class ReadElectricalMeasurementMeasured3rdHarmonicCurrent : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasured3rdHarmonicCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74614,7 +74780,7 @@ class SubscribeAttributeElectricalMeasurementMeasured3rdHarmonicCurrent : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000308) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74653,7 +74819,7 @@ class ReadElectricalMeasurementMeasured5thHarmonicCurrent : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasured5thHarmonicCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74681,7 +74847,7 @@ class SubscribeAttributeElectricalMeasurementMeasured5thHarmonicCurrent : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000309) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74720,7 +74886,7 @@ class ReadElectricalMeasurementMeasured7thHarmonicCurrent : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasured7thHarmonicCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74748,7 +74914,7 @@ class SubscribeAttributeElectricalMeasurementMeasured7thHarmonicCurrent : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000030A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74787,7 +74953,7 @@ class ReadElectricalMeasurementMeasured9thHarmonicCurrent : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasured9thHarmonicCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74815,7 +74981,7 @@ class SubscribeAttributeElectricalMeasurementMeasured9thHarmonicCurrent : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000030B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74854,7 +75020,7 @@ class ReadElectricalMeasurementMeasured11thHarmonicCurrent : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasured11thHarmonicCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74882,7 +75048,7 @@ class SubscribeAttributeElectricalMeasurementMeasured11thHarmonicCurrent : publi ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000030C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74921,7 +75087,7 @@ class ReadElectricalMeasurementMeasuredPhase1stHarmonicCurrent : public ReadAttr dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredPhase1stHarmonicCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -74949,7 +75115,7 @@ class SubscribeAttributeElectricalMeasurementMeasuredPhase1stHarmonicCurrent : p ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000030D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -74988,7 +75154,7 @@ class ReadElectricalMeasurementMeasuredPhase3rdHarmonicCurrent : public ReadAttr dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75016,7 +75182,7 @@ class SubscribeAttributeElectricalMeasurementMeasuredPhase3rdHarmonicCurrent : p ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000030E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75055,7 +75221,7 @@ class ReadElectricalMeasurementMeasuredPhase5thHarmonicCurrent : public ReadAttr dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredPhase5thHarmonicCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75083,7 +75249,7 @@ class SubscribeAttributeElectricalMeasurementMeasuredPhase5thHarmonicCurrent : p ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000030F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75122,7 +75288,7 @@ class ReadElectricalMeasurementMeasuredPhase7thHarmonicCurrent : public ReadAttr dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredPhase7thHarmonicCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75150,7 +75316,7 @@ class SubscribeAttributeElectricalMeasurementMeasuredPhase7thHarmonicCurrent : p ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000310) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75189,7 +75355,7 @@ class ReadElectricalMeasurementMeasuredPhase9thHarmonicCurrent : public ReadAttr dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredPhase9thHarmonicCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75217,7 +75383,7 @@ class SubscribeAttributeElectricalMeasurementMeasuredPhase9thHarmonicCurrent : p ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000311) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75256,7 +75422,7 @@ class ReadElectricalMeasurementMeasuredPhase11thHarmonicCurrent : public ReadAtt dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeMeasuredPhase11thHarmonicCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75284,7 +75450,7 @@ class SubscribeAttributeElectricalMeasurementMeasuredPhase11thHarmonicCurrent : ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000312) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75323,7 +75489,7 @@ class ReadElectricalMeasurementAcFrequencyMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcFrequencyMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcFrequencyMultiplier response %@", [value description]); @@ -75350,7 +75516,7 @@ class SubscribeAttributeElectricalMeasurementAcFrequencyMultiplier : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000400) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75389,7 +75555,7 @@ class ReadElectricalMeasurementAcFrequencyDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcFrequencyDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcFrequencyDivisor response %@", [value description]); @@ -75416,7 +75582,7 @@ class SubscribeAttributeElectricalMeasurementAcFrequencyDivisor : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000401) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75455,7 +75621,7 @@ class ReadElectricalMeasurementPowerMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePowerMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.PowerMultiplier response %@", [value description]); @@ -75482,7 +75648,7 @@ class SubscribeAttributeElectricalMeasurementPowerMultiplier : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000402) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75521,7 +75687,7 @@ class ReadElectricalMeasurementPowerDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePowerDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.PowerDivisor response %@", [value description]); @@ -75548,7 +75714,7 @@ class SubscribeAttributeElectricalMeasurementPowerDivisor : public SubscribeAttr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000403) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75587,7 +75753,7 @@ class ReadElectricalMeasurementHarmonicCurrentMultiplier : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeHarmonicCurrentMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75615,7 +75781,7 @@ class SubscribeAttributeElectricalMeasurementHarmonicCurrentMultiplier : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000404) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75654,7 +75820,7 @@ class ReadElectricalMeasurementPhaseHarmonicCurrentMultiplier : public ReadAttri dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePhaseHarmonicCurrentMultiplierWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75682,7 +75848,7 @@ class SubscribeAttributeElectricalMeasurementPhaseHarmonicCurrentMultiplier : pu ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000405) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75721,7 +75887,7 @@ class ReadElectricalMeasurementInstantaneousVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstantaneousVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.InstantaneousVoltage response %@", [value description]); @@ -75748,7 +75914,7 @@ class SubscribeAttributeElectricalMeasurementInstantaneousVoltage : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000500) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75787,7 +75953,7 @@ class ReadElectricalMeasurementInstantaneousLineCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstantaneousLineCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75815,7 +75981,7 @@ class SubscribeAttributeElectricalMeasurementInstantaneousLineCurrent : public S ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000501) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75854,7 +76020,7 @@ class ReadElectricalMeasurementInstantaneousActiveCurrent : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstantaneousActiveCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75882,7 +76048,7 @@ class SubscribeAttributeElectricalMeasurementInstantaneousActiveCurrent : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000502) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75921,7 +76087,7 @@ class ReadElectricalMeasurementInstantaneousReactiveCurrent : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstantaneousReactiveCurrentWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -75949,7 +76115,7 @@ class SubscribeAttributeElectricalMeasurementInstantaneousReactiveCurrent : publ ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000503) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -75988,7 +76154,7 @@ class ReadElectricalMeasurementInstantaneousPower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInstantaneousPowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.InstantaneousPower response %@", [value description]); @@ -76015,7 +76181,7 @@ class SubscribeAttributeElectricalMeasurementInstantaneousPower : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000504) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76054,7 +76220,7 @@ class ReadElectricalMeasurementRmsVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltage response %@", [value description]); @@ -76081,7 +76247,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltage : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000505) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76120,7 +76286,7 @@ class ReadElectricalMeasurementRmsVoltageMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMin response %@", [value description]); @@ -76147,7 +76313,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMin : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000506) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76186,7 +76352,7 @@ class ReadElectricalMeasurementRmsVoltageMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMax response %@", [value description]); @@ -76213,7 +76379,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMax : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000507) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76252,7 +76418,7 @@ class ReadElectricalMeasurementRmsCurrent : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrent response %@", [value description]); @@ -76279,7 +76445,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrent : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000508) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76318,7 +76484,7 @@ class ReadElectricalMeasurementRmsCurrentMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMin response %@", [value description]); @@ -76345,7 +76511,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMin : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000509) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76384,7 +76550,7 @@ class ReadElectricalMeasurementRmsCurrentMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMax response %@", [value description]); @@ -76411,7 +76577,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMax : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000050A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76450,7 +76616,7 @@ class ReadElectricalMeasurementActivePower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePower response %@", [value description]); @@ -76477,7 +76643,7 @@ class SubscribeAttributeElectricalMeasurementActivePower : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000050B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76516,7 +76682,7 @@ class ReadElectricalMeasurementActivePowerMin : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerMinWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMin response %@", [value description]); @@ -76543,7 +76709,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMin : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000050C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76582,7 +76748,7 @@ class ReadElectricalMeasurementActivePowerMax : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerMaxWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMax response %@", [value description]); @@ -76609,7 +76775,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMax : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000050D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76648,7 +76814,7 @@ class ReadElectricalMeasurementReactivePower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReactivePowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ReactivePower response %@", [value description]); @@ -76675,7 +76841,7 @@ class SubscribeAttributeElectricalMeasurementReactivePower : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000050E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76714,7 +76880,7 @@ class ReadElectricalMeasurementApparentPower : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApparentPowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ApparentPower response %@", [value description]); @@ -76741,7 +76907,7 @@ class SubscribeAttributeElectricalMeasurementApparentPower : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000050F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76780,7 +76946,7 @@ class ReadElectricalMeasurementPowerFactor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePowerFactorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.PowerFactor response %@", [value description]); @@ -76807,7 +76973,7 @@ class SubscribeAttributeElectricalMeasurementPowerFactor : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000510) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76846,7 +77012,7 @@ class ReadElectricalMeasurementAverageRmsVoltageMeasurementPeriod : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsVoltageMeasurementPeriodWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -76877,7 +77043,7 @@ class WriteElectricalMeasurementAverageRmsVoltageMeasurementPeriod : public Writ ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000511) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -76916,7 +77082,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsVoltageMeasurementPeriod ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000511) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -76955,7 +77121,7 @@ class ReadElectricalMeasurementAverageRmsUnderVoltageCounter : public ReadAttrib dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsUnderVoltageCounterWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -76986,7 +77152,7 @@ class WriteElectricalMeasurementAverageRmsUnderVoltageCounter : public WriteAttr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000513) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -77025,7 +77191,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsUnderVoltageCounter : pub ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000513) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77064,7 +77230,7 @@ class ReadElectricalMeasurementRmsExtremeOverVoltagePeriod : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeOverVoltagePeriodWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -77095,7 +77261,7 @@ class WriteElectricalMeasurementRmsExtremeOverVoltagePeriod : public WriteAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000514) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -77134,7 +77300,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeOverVoltagePeriod : publi ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000514) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77173,7 +77339,7 @@ class ReadElectricalMeasurementRmsExtremeUnderVoltagePeriod : public ReadAttribu dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeUnderVoltagePeriodWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -77204,7 +77370,7 @@ class WriteElectricalMeasurementRmsExtremeUnderVoltagePeriod : public WriteAttri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000515) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -77243,7 +77409,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeUnderVoltagePeriod : publ ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000515) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77282,7 +77448,7 @@ class ReadElectricalMeasurementRmsVoltageSagPeriod : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSagPeriodWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageSagPeriod response %@", [value description]); @@ -77312,7 +77478,7 @@ class WriteElectricalMeasurementRmsVoltageSagPeriod : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000516) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -77349,7 +77515,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSagPeriod : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000516) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77388,7 +77554,7 @@ class ReadElectricalMeasurementRmsVoltageSwellPeriod : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSwellPeriodWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageSwellPeriod response %@", [value description]); @@ -77418,7 +77584,7 @@ class WriteElectricalMeasurementRmsVoltageSwellPeriod : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000517) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -77455,7 +77621,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSwellPeriod : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000517) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77494,7 +77660,7 @@ class ReadElectricalMeasurementAcVoltageMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcVoltageMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcVoltageMultiplier response %@", [value description]); @@ -77521,7 +77687,7 @@ class SubscribeAttributeElectricalMeasurementAcVoltageMultiplier : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000600) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77560,7 +77726,7 @@ class ReadElectricalMeasurementAcVoltageDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcVoltageDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcVoltageDivisor response %@", [value description]); @@ -77587,7 +77753,7 @@ class SubscribeAttributeElectricalMeasurementAcVoltageDivisor : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000601) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77626,7 +77792,7 @@ class ReadElectricalMeasurementAcCurrentMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcCurrentMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcCurrentMultiplier response %@", [value description]); @@ -77653,7 +77819,7 @@ class SubscribeAttributeElectricalMeasurementAcCurrentMultiplier : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000602) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77692,7 +77858,7 @@ class ReadElectricalMeasurementAcCurrentDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcCurrentDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcCurrentDivisor response %@", [value description]); @@ -77719,7 +77885,7 @@ class SubscribeAttributeElectricalMeasurementAcCurrentDivisor : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000603) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77758,7 +77924,7 @@ class ReadElectricalMeasurementAcPowerMultiplier : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcPowerMultiplierWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcPowerMultiplier response %@", [value description]); @@ -77785,7 +77951,7 @@ class SubscribeAttributeElectricalMeasurementAcPowerMultiplier : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000604) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77824,7 +77990,7 @@ class ReadElectricalMeasurementAcPowerDivisor : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcPowerDivisorWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcPowerDivisor response %@", [value description]); @@ -77851,7 +78017,7 @@ class SubscribeAttributeElectricalMeasurementAcPowerDivisor : public SubscribeAt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000605) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77890,7 +78056,7 @@ class ReadElectricalMeasurementOverloadAlarmsMask : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOverloadAlarmsMaskWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.OverloadAlarmsMask response %@", [value description]); @@ -77920,7 +78086,7 @@ class WriteElectricalMeasurementOverloadAlarmsMask : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000700) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -77957,7 +78123,7 @@ class SubscribeAttributeElectricalMeasurementOverloadAlarmsMask : public Subscri ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000700) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -77996,7 +78162,7 @@ class ReadElectricalMeasurementVoltageOverload : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeVoltageOverloadWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.VoltageOverload response %@", [value description]); @@ -78023,7 +78189,7 @@ class SubscribeAttributeElectricalMeasurementVoltageOverload : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000701) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78062,7 +78228,7 @@ class ReadElectricalMeasurementCurrentOverload : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCurrentOverloadWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.CurrentOverload response %@", [value description]); @@ -78089,7 +78255,7 @@ class SubscribeAttributeElectricalMeasurementCurrentOverload : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000702) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78128,7 +78294,7 @@ class ReadElectricalMeasurementAcOverloadAlarmsMask : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcOverloadAlarmsMaskWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcOverloadAlarmsMask response %@", [value description]); @@ -78158,7 +78324,7 @@ class WriteElectricalMeasurementAcOverloadAlarmsMask : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0x00000B04) WriteAttribute (0x00000800) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -78195,7 +78361,7 @@ class SubscribeAttributeElectricalMeasurementAcOverloadAlarmsMask : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000800) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78234,7 +78400,7 @@ class ReadElectricalMeasurementAcVoltageOverload : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcVoltageOverloadWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcVoltageOverload response %@", [value description]); @@ -78261,7 +78427,7 @@ class SubscribeAttributeElectricalMeasurementAcVoltageOverload : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000801) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78300,7 +78466,7 @@ class ReadElectricalMeasurementAcCurrentOverload : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcCurrentOverloadWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcCurrentOverload response %@", [value description]); @@ -78327,7 +78493,7 @@ class SubscribeAttributeElectricalMeasurementAcCurrentOverload : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000802) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78366,7 +78532,7 @@ class ReadElectricalMeasurementAcActivePowerOverload : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcActivePowerOverloadWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcActivePowerOverload response %@", [value description]); @@ -78393,7 +78559,7 @@ class SubscribeAttributeElectricalMeasurementAcActivePowerOverload : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000803) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78432,7 +78598,7 @@ class ReadElectricalMeasurementAcReactivePowerOverload : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcReactivePowerOverloadWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -78460,7 +78626,7 @@ class SubscribeAttributeElectricalMeasurementAcReactivePowerOverload : public Su ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000804) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78499,7 +78665,7 @@ class ReadElectricalMeasurementAverageRmsOverVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsOverVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AverageRmsOverVoltage response %@", [value description]); @@ -78526,7 +78692,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsOverVoltage : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000805) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78565,7 +78731,7 @@ class ReadElectricalMeasurementAverageRmsUnderVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsUnderVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AverageRmsUnderVoltage response %@", [value description]); @@ -78592,7 +78758,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsUnderVoltage : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000806) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78631,7 +78797,7 @@ class ReadElectricalMeasurementRmsExtremeOverVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeOverVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsExtremeOverVoltage response %@", [value description]); @@ -78658,7 +78824,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeOverVoltage : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000807) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78697,7 +78863,7 @@ class ReadElectricalMeasurementRmsExtremeUnderVoltage : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeUnderVoltageWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsExtremeUnderVoltage response %@", [value description]); @@ -78724,7 +78890,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeUnderVoltage : public Sub ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000808) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78763,7 +78929,7 @@ class ReadElectricalMeasurementRmsVoltageSag : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSagWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageSag response %@", [value description]); @@ -78790,7 +78956,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSag : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000809) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78829,7 +78995,7 @@ class ReadElectricalMeasurementRmsVoltageSwell : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSwellWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageSwell response %@", [value description]); @@ -78856,7 +79022,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSwell : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000080A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78895,7 +79061,7 @@ class ReadElectricalMeasurementLineCurrentPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLineCurrentPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.LineCurrentPhaseB response %@", [value description]); @@ -78922,7 +79088,7 @@ class SubscribeAttributeElectricalMeasurementLineCurrentPhaseB : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000901) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -78961,7 +79127,7 @@ class ReadElectricalMeasurementActiveCurrentPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveCurrentPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActiveCurrentPhaseB response %@", [value description]); @@ -78988,7 +79154,7 @@ class SubscribeAttributeElectricalMeasurementActiveCurrentPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000902) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79027,7 +79193,7 @@ class ReadElectricalMeasurementReactiveCurrentPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReactiveCurrentPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ReactiveCurrentPhaseB response %@", [value description]); @@ -79054,7 +79220,7 @@ class SubscribeAttributeElectricalMeasurementReactiveCurrentPhaseB : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000903) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79093,7 +79259,7 @@ class ReadElectricalMeasurementRmsVoltagePhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltagePhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltagePhaseB response %@", [value description]); @@ -79120,7 +79286,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltagePhaseB : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000905) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79159,7 +79325,7 @@ class ReadElectricalMeasurementRmsVoltageMinPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageMinPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMinPhaseB response %@", [value description]); @@ -79186,7 +79352,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMinPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000906) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79225,7 +79391,7 @@ class ReadElectricalMeasurementRmsVoltageMaxPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageMaxPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMaxPhaseB response %@", [value description]); @@ -79252,7 +79418,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMaxPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000907) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79291,7 +79457,7 @@ class ReadElectricalMeasurementRmsCurrentPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentPhaseB response %@", [value description]); @@ -79318,7 +79484,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentPhaseB : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000908) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79357,7 +79523,7 @@ class ReadElectricalMeasurementRmsCurrentMinPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentMinPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMinPhaseB response %@", [value description]); @@ -79384,7 +79550,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMinPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000909) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79423,7 +79589,7 @@ class ReadElectricalMeasurementRmsCurrentMaxPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentMaxPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMaxPhaseB response %@", [value description]); @@ -79450,7 +79616,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMaxPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000090A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79489,7 +79655,7 @@ class ReadElectricalMeasurementActivePowerPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerPhaseB response %@", [value description]); @@ -79516,7 +79682,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerPhaseB : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000090B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79555,7 +79721,7 @@ class ReadElectricalMeasurementActivePowerMinPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerMinPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMinPhaseB response %@", [value description]); @@ -79582,7 +79748,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMinPhaseB : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000090C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79621,7 +79787,7 @@ class ReadElectricalMeasurementActivePowerMaxPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerMaxPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMaxPhaseB response %@", [value description]); @@ -79648,7 +79814,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMaxPhaseB : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000090D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79687,7 +79853,7 @@ class ReadElectricalMeasurementReactivePowerPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReactivePowerPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ReactivePowerPhaseB response %@", [value description]); @@ -79714,7 +79880,7 @@ class SubscribeAttributeElectricalMeasurementReactivePowerPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000090E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79753,7 +79919,7 @@ class ReadElectricalMeasurementApparentPowerPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApparentPowerPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ApparentPowerPhaseB response %@", [value description]); @@ -79780,7 +79946,7 @@ class SubscribeAttributeElectricalMeasurementApparentPowerPhaseB : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000090F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79819,7 +79985,7 @@ class ReadElectricalMeasurementPowerFactorPhaseB : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePowerFactorPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.PowerFactorPhaseB response %@", [value description]); @@ -79846,7 +80012,7 @@ class SubscribeAttributeElectricalMeasurementPowerFactorPhaseB : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000910) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79885,7 +80051,7 @@ class ReadElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseB : public dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -79913,7 +80079,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsVoltageMeasurementPeriodP ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000911) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -79953,7 +80119,7 @@ class ReadElectricalMeasurementAverageRmsOverVoltageCounterPhaseB : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -79981,7 +80147,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsOverVoltageCounterPhaseB ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000912) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80020,7 +80186,7 @@ class ReadElectricalMeasurementAverageRmsUnderVoltageCounterPhaseB : public Read dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -80048,7 +80214,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsUnderVoltageCounterPhaseB ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000913) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80087,7 +80253,7 @@ class ReadElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseB : public ReadAt dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -80115,7 +80281,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseB : ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000914) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80154,7 +80320,7 @@ class ReadElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseB : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -80182,7 +80348,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseB ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000915) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80221,7 +80387,7 @@ class ReadElectricalMeasurementRmsVoltageSagPeriodPhaseB : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSagPeriodPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -80249,7 +80415,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSagPeriodPhaseB : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000916) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80288,7 +80454,7 @@ class ReadElectricalMeasurementRmsVoltageSwellPeriodPhaseB : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSwellPeriodPhaseBWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -80316,7 +80482,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSwellPeriodPhaseB : publi ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000917) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80355,7 +80521,7 @@ class ReadElectricalMeasurementLineCurrentPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLineCurrentPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.LineCurrentPhaseC response %@", [value description]); @@ -80382,7 +80548,7 @@ class SubscribeAttributeElectricalMeasurementLineCurrentPhaseC : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A01) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80421,7 +80587,7 @@ class ReadElectricalMeasurementActiveCurrentPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActiveCurrentPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActiveCurrentPhaseC response %@", [value description]); @@ -80448,7 +80614,7 @@ class SubscribeAttributeElectricalMeasurementActiveCurrentPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A02) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80487,7 +80653,7 @@ class ReadElectricalMeasurementReactiveCurrentPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReactiveCurrentPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ReactiveCurrentPhaseC response %@", [value description]); @@ -80514,7 +80680,7 @@ class SubscribeAttributeElectricalMeasurementReactiveCurrentPhaseC : public Subs ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A03) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80553,7 +80719,7 @@ class ReadElectricalMeasurementRmsVoltagePhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltagePhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltagePhaseC response %@", [value description]); @@ -80580,7 +80746,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltagePhaseC : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A05) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80619,7 +80785,7 @@ class ReadElectricalMeasurementRmsVoltageMinPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageMinPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMinPhaseC response %@", [value description]); @@ -80646,7 +80812,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMinPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A06) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80685,7 +80851,7 @@ class ReadElectricalMeasurementRmsVoltageMaxPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageMaxPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsVoltageMaxPhaseC response %@", [value description]); @@ -80712,7 +80878,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageMaxPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A07) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80751,7 +80917,7 @@ class ReadElectricalMeasurementRmsCurrentPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentPhaseC response %@", [value description]); @@ -80778,7 +80944,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentPhaseC : public Subscribe ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A08) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80817,7 +80983,7 @@ class ReadElectricalMeasurementRmsCurrentMinPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentMinPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMinPhaseC response %@", [value description]); @@ -80844,7 +81010,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMinPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A09) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80883,7 +81049,7 @@ class ReadElectricalMeasurementRmsCurrentMaxPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsCurrentMaxPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.RmsCurrentMaxPhaseC response %@", [value description]); @@ -80910,7 +81076,7 @@ class SubscribeAttributeElectricalMeasurementRmsCurrentMaxPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A0A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -80949,7 +81115,7 @@ class ReadElectricalMeasurementActivePowerPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerPhaseC response %@", [value description]); @@ -80976,7 +81142,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerPhaseC : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A0B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81015,7 +81181,7 @@ class ReadElectricalMeasurementActivePowerMinPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerMinPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMinPhaseC response %@", [value description]); @@ -81042,7 +81208,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMinPhaseC : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A0C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81081,7 +81247,7 @@ class ReadElectricalMeasurementActivePowerMaxPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeActivePowerMaxPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ActivePowerMaxPhaseC response %@", [value description]); @@ -81108,7 +81274,7 @@ class SubscribeAttributeElectricalMeasurementActivePowerMaxPhaseC : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A0D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81147,7 +81313,7 @@ class ReadElectricalMeasurementReactivePowerPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeReactivePowerPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ReactivePowerPhaseC response %@", [value description]); @@ -81174,7 +81340,7 @@ class SubscribeAttributeElectricalMeasurementReactivePowerPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A0E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81213,7 +81379,7 @@ class ReadElectricalMeasurementApparentPowerPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeApparentPowerPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ApparentPowerPhaseC response %@", [value description]); @@ -81240,7 +81406,7 @@ class SubscribeAttributeElectricalMeasurementApparentPowerPhaseC : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A0F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81279,7 +81445,7 @@ class ReadElectricalMeasurementPowerFactorPhaseC : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributePowerFactorPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.PowerFactorPhaseC response %@", [value description]); @@ -81306,7 +81472,7 @@ class SubscribeAttributeElectricalMeasurementPowerFactorPhaseC : public Subscrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A10) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81345,7 +81511,7 @@ class ReadElectricalMeasurementAverageRmsVoltageMeasurementPeriodPhaseC : public dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81373,7 +81539,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsVoltageMeasurementPeriodP ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A11) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81413,7 +81579,7 @@ class ReadElectricalMeasurementAverageRmsOverVoltageCounterPhaseC : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81441,7 +81607,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsOverVoltageCounterPhaseC ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A12) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81480,7 +81646,7 @@ class ReadElectricalMeasurementAverageRmsUnderVoltageCounterPhaseC : public Read dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81508,7 +81674,7 @@ class SubscribeAttributeElectricalMeasurementAverageRmsUnderVoltageCounterPhaseC ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A13) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81547,7 +81713,7 @@ class ReadElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseC : public ReadAt dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81575,7 +81741,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeOverVoltagePeriodPhaseC : ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A14) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81614,7 +81780,7 @@ class ReadElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseC : public ReadA dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81642,7 +81808,7 @@ class SubscribeAttributeElectricalMeasurementRmsExtremeUnderVoltagePeriodPhaseC ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A15) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81681,7 +81847,7 @@ class ReadElectricalMeasurementRmsVoltageSagPeriodPhaseC : public ReadAttribute dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSagPeriodPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81709,7 +81875,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSagPeriodPhaseC : public ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A16) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81748,7 +81914,7 @@ class ReadElectricalMeasurementRmsVoltageSwellPeriodPhaseC : public ReadAttribut dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRmsVoltageSwellPeriodPhaseCWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { @@ -81776,7 +81942,7 @@ class SubscribeAttributeElectricalMeasurementRmsVoltageSwellPeriodPhaseC : publi ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x00000A17) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81815,7 +81981,7 @@ class ReadElectricalMeasurementGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.GeneratedCommandList response %@", [value description]); @@ -81842,7 +82008,7 @@ class SubscribeAttributeElectricalMeasurementGeneratedCommandList : public Subsc ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81881,7 +82047,7 @@ class ReadElectricalMeasurementAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AcceptedCommandList response %@", [value description]); @@ -81908,7 +82074,7 @@ class SubscribeAttributeElectricalMeasurementAcceptedCommandList : public Subscr ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -81947,7 +82113,7 @@ class ReadElectricalMeasurementAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.AttributeList response %@", [value description]); @@ -81974,7 +82140,7 @@ class SubscribeAttributeElectricalMeasurementAttributeList : public SubscribeAtt ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -82013,7 +82179,7 @@ class ReadElectricalMeasurementFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.FeatureMap response %@", [value description]); @@ -82040,7 +82206,7 @@ class SubscribeAttributeElectricalMeasurementFeatureMap : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -82079,7 +82245,7 @@ class ReadElectricalMeasurementClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"ElectricalMeasurement.ClusterRevision response %@", [value description]); @@ -82106,7 +82272,7 @@ class SubscribeAttributeElectricalMeasurementClusterRevision : public SubscribeA ChipLogProgress(chipTool, "Sending cluster (0x00000B04) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterElectricalMeasurement * cluster = [[MTRBaseClusterElectricalMeasurement alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -82265,7 +82431,7 @@ class TestClusterTest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82308,7 +82474,7 @@ class TestClusterTestNotHandled : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestNotHandledParams alloc] init]; params.timedInvokeTimeoutMs @@ -82351,7 +82517,7 @@ class TestClusterTestSpecific : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestSpecificParams alloc] init]; params.timedInvokeTimeoutMs @@ -82396,7 +82562,7 @@ class TestClusterTestUnknownCommand : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestUnknownCommandParams alloc] init]; params.timedInvokeTimeoutMs @@ -82441,7 +82607,7 @@ class TestClusterTestAddArguments : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestAddArgumentsParams alloc] init]; params.timedInvokeTimeoutMs @@ -82490,7 +82656,7 @@ class TestClusterTestSimpleArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestSimpleArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82547,7 +82713,7 @@ class TestClusterTestStructArrayArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestStructArrayArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82709,7 +82875,7 @@ class TestClusterTestStructArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestStructArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82769,7 +82935,7 @@ class TestClusterTestNestedStructArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestNestedStructArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82832,7 +82998,7 @@ class TestClusterTestListStructArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestListStructArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82901,7 +83067,7 @@ class TestClusterTestListInt8UArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestListInt8UArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -82959,7 +83125,7 @@ class TestClusterTestNestedStructListArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestNestedStructListArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83068,7 +83234,7 @@ class TestClusterTestListNestedStructListArgumentRequest : public ClusterCommand dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestListNestedStructListArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83187,7 +83353,7 @@ class TestClusterTestListInt8UReverseRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestListInt8UReverseRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83246,7 +83412,7 @@ class TestClusterTestEnumsRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestEnumsRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83295,7 +83461,7 @@ class TestClusterTestNullableOptionalRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestNullableOptionalRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83369,7 +83535,7 @@ class TestClusterTestComplexNullableOptionalRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestComplexNullableOptionalRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83577,7 +83743,7 @@ class TestClusterSimpleStructEchoRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterSimpleStructEchoRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83635,7 +83801,7 @@ class TestClusterTimedInvokeRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTimedInvokeRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83679,7 +83845,7 @@ class TestClusterTestSimpleOptionalArgumentRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83731,7 +83897,7 @@ class TestClusterTestEmitTestEventRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestEmitTestEventRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83781,7 +83947,7 @@ class TestClusterTestEmitTestFabricScopedEventRequest : public ClusterCommand { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; __auto_type * params = [[MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams alloc] init]; params.timedInvokeTimeoutMs @@ -83831,7 +83997,7 @@ class ReadTestClusterBoolean : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBooleanWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Boolean response %@", [value description]); @@ -83861,7 +84027,7 @@ class WriteTestClusterBoolean : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -83898,7 +84064,7 @@ class SubscribeAttributeTestClusterBoolean : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -83937,7 +84103,7 @@ class ReadTestClusterBitmap8 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBitmap8WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap8 response %@", [value description]); @@ -83967,7 +84133,7 @@ class WriteTestClusterBitmap8 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84004,7 +84170,7 @@ class SubscribeAttributeTestClusterBitmap8 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84043,7 +84209,7 @@ class ReadTestClusterBitmap16 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBitmap16WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap16 response %@", [value description]); @@ -84073,7 +84239,7 @@ class WriteTestClusterBitmap16 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84110,7 +84276,7 @@ class SubscribeAttributeTestClusterBitmap16 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84149,7 +84315,7 @@ class ReadTestClusterBitmap32 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBitmap32WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap32 response %@", [value description]); @@ -84179,7 +84345,7 @@ class WriteTestClusterBitmap32 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84216,7 +84382,7 @@ class SubscribeAttributeTestClusterBitmap32 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84255,7 +84421,7 @@ class ReadTestClusterBitmap64 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeBitmap64WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Bitmap64 response %@", [value description]); @@ -84285,7 +84451,7 @@ class WriteTestClusterBitmap64 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84322,7 +84488,7 @@ class SubscribeAttributeTestClusterBitmap64 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84361,7 +84527,7 @@ class ReadTestClusterInt8u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt8uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int8u response %@", [value description]); @@ -84391,7 +84557,7 @@ class WriteTestClusterInt8u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84428,7 +84594,7 @@ class SubscribeAttributeTestClusterInt8u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84467,7 +84633,7 @@ class ReadTestClusterInt16u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt16uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int16u response %@", [value description]); @@ -84497,7 +84663,7 @@ class WriteTestClusterInt16u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84534,7 +84700,7 @@ class SubscribeAttributeTestClusterInt16u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84573,7 +84739,7 @@ class ReadTestClusterInt24u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt24uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int24u response %@", [value description]); @@ -84603,7 +84769,7 @@ class WriteTestClusterInt24u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84640,7 +84806,7 @@ class SubscribeAttributeTestClusterInt24u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84679,7 +84845,7 @@ class ReadTestClusterInt32u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt32uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int32u response %@", [value description]); @@ -84709,7 +84875,7 @@ class WriteTestClusterInt32u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84746,7 +84912,7 @@ class SubscribeAttributeTestClusterInt32u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84785,7 +84951,7 @@ class ReadTestClusterInt40u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt40uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int40u response %@", [value description]); @@ -84815,7 +84981,7 @@ class WriteTestClusterInt40u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84852,7 +85018,7 @@ class SubscribeAttributeTestClusterInt40u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84891,7 +85057,7 @@ class ReadTestClusterInt48u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt48uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int48u response %@", [value description]); @@ -84921,7 +85087,7 @@ class WriteTestClusterInt48u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -84958,7 +85124,7 @@ class SubscribeAttributeTestClusterInt48u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000000A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -84997,7 +85163,7 @@ class ReadTestClusterInt56u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt56uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int56u response %@", [value description]); @@ -85027,7 +85193,7 @@ class WriteTestClusterInt56u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85064,7 +85230,7 @@ class SubscribeAttributeTestClusterInt56u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000000B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85103,7 +85269,7 @@ class ReadTestClusterInt64u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt64uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int64u response %@", [value description]); @@ -85133,7 +85299,7 @@ class WriteTestClusterInt64u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85170,7 +85336,7 @@ class SubscribeAttributeTestClusterInt64u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000000C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85209,7 +85375,7 @@ class ReadTestClusterInt8s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt8sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int8s response %@", [value description]); @@ -85239,7 +85405,7 @@ class WriteTestClusterInt8s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85276,7 +85442,7 @@ class SubscribeAttributeTestClusterInt8s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000000D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85315,7 +85481,7 @@ class ReadTestClusterInt16s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt16sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int16s response %@", [value description]); @@ -85345,7 +85511,7 @@ class WriteTestClusterInt16s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85382,7 +85548,7 @@ class SubscribeAttributeTestClusterInt16s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000000E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85421,7 +85587,7 @@ class ReadTestClusterInt24s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt24sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int24s response %@", [value description]); @@ -85451,7 +85617,7 @@ class WriteTestClusterInt24s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85488,7 +85654,7 @@ class SubscribeAttributeTestClusterInt24s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000000F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85527,7 +85693,7 @@ class ReadTestClusterInt32s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt32sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int32s response %@", [value description]); @@ -85557,7 +85723,7 @@ class WriteTestClusterInt32s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85594,7 +85760,7 @@ class SubscribeAttributeTestClusterInt32s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85633,7 +85799,7 @@ class ReadTestClusterInt40s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt40sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int40s response %@", [value description]); @@ -85663,7 +85829,7 @@ class WriteTestClusterInt40s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85700,7 +85866,7 @@ class SubscribeAttributeTestClusterInt40s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85739,7 +85905,7 @@ class ReadTestClusterInt48s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt48sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int48s response %@", [value description]); @@ -85769,7 +85935,7 @@ class WriteTestClusterInt48s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85806,7 +85972,7 @@ class SubscribeAttributeTestClusterInt48s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85845,7 +86011,7 @@ class ReadTestClusterInt56s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt56sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int56s response %@", [value description]); @@ -85875,7 +86041,7 @@ class WriteTestClusterInt56s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -85912,7 +86078,7 @@ class SubscribeAttributeTestClusterInt56s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -85951,7 +86117,7 @@ class ReadTestClusterInt64s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeInt64sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Int64s response %@", [value description]); @@ -85981,7 +86147,7 @@ class WriteTestClusterInt64s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86018,7 +86184,7 @@ class SubscribeAttributeTestClusterInt64s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86057,7 +86223,7 @@ class ReadTestClusterEnum8 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnum8WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Enum8 response %@", [value description]); @@ -86087,7 +86253,7 @@ class WriteTestClusterEnum8 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86124,7 +86290,7 @@ class SubscribeAttributeTestClusterEnum8 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86163,7 +86329,7 @@ class ReadTestClusterEnum16 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnum16WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Enum16 response %@", [value description]); @@ -86193,7 +86359,7 @@ class WriteTestClusterEnum16 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86230,7 +86396,7 @@ class SubscribeAttributeTestClusterEnum16 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86269,7 +86435,7 @@ class ReadTestClusterFloatSingle : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFloatSingleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.FloatSingle response %@", [value description]); @@ -86299,7 +86465,7 @@ class WriteTestClusterFloatSingle : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86336,7 +86502,7 @@ class SubscribeAttributeTestClusterFloatSingle : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86375,7 +86541,7 @@ class ReadTestClusterFloatDouble : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFloatDoubleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.FloatDouble response %@", [value description]); @@ -86405,7 +86571,7 @@ class WriteTestClusterFloatDouble : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86442,7 +86608,7 @@ class SubscribeAttributeTestClusterFloatDouble : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86481,7 +86647,7 @@ class ReadTestClusterOctetString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeOctetStringWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.OctetString response %@", [value description]); @@ -86511,7 +86677,7 @@ class WriteTestClusterOctetString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86548,7 +86714,7 @@ class SubscribeAttributeTestClusterOctetString : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86587,7 +86753,7 @@ class ReadTestClusterListInt8u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeListInt8uWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListInt8u response %@", [value description]); @@ -86618,7 +86784,7 @@ class WriteTestClusterListInt8u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86665,7 +86831,7 @@ class SubscribeAttributeTestClusterListInt8u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000001A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86704,7 +86870,7 @@ class ReadTestClusterListOctetString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeListOctetStringWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListOctetString response %@", [value description]); @@ -86735,7 +86901,7 @@ class WriteTestClusterListOctetString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86782,7 +86948,7 @@ class SubscribeAttributeTestClusterListOctetString : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000001B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86821,7 +86987,7 @@ class ReadTestClusterListStructOctetString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeListStructOctetStringWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListStructOctetString response %@", [value description]); @@ -86852,7 +87018,7 @@ class WriteTestClusterListStructOctetString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -86902,7 +87068,7 @@ class SubscribeAttributeTestClusterListStructOctetString : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000001C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -86941,7 +87107,7 @@ class ReadTestClusterLongOctetString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLongOctetStringWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.LongOctetString response %@", [value description]); @@ -86971,7 +87137,7 @@ class WriteTestClusterLongOctetString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000001D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87008,7 +87174,7 @@ class SubscribeAttributeTestClusterLongOctetString : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000001D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87047,7 +87213,7 @@ class ReadTestClusterCharString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeCharStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.CharString response %@", [value description]); @@ -87077,7 +87243,7 @@ class WriteTestClusterCharString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000001E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87116,7 +87282,7 @@ class SubscribeAttributeTestClusterCharString : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000001E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87155,7 +87321,7 @@ class ReadTestClusterLongCharString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeLongCharStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.LongCharString response %@", [value description]); @@ -87185,7 +87351,7 @@ class WriteTestClusterLongCharString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000001F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87224,7 +87390,7 @@ class SubscribeAttributeTestClusterLongCharString : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000001F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87263,7 +87429,7 @@ class ReadTestClusterEpochUs : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEpochUsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.EpochUs response %@", [value description]); @@ -87293,7 +87459,7 @@ class WriteTestClusterEpochUs : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87330,7 +87496,7 @@ class SubscribeAttributeTestClusterEpochUs : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000020) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87369,7 +87535,7 @@ class ReadTestClusterEpochS : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEpochSWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.EpochS response %@", [value description]); @@ -87399,7 +87565,7 @@ class WriteTestClusterEpochS : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87436,7 +87602,7 @@ class SubscribeAttributeTestClusterEpochS : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000021) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87475,7 +87641,7 @@ class ReadTestClusterVendorId : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.VendorId response %@", [value description]); @@ -87505,7 +87671,7 @@ class WriteTestClusterVendorId : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87542,7 +87708,7 @@ class SubscribeAttributeTestClusterVendorId : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000022) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87581,7 +87747,7 @@ class ReadTestClusterListNullablesAndOptionalsStruct : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeListNullablesAndOptionalsStructWithCompletionHandler:^( NSArray * _Nullable value, NSError * _Nullable error) { @@ -87613,7 +87779,7 @@ class WriteTestClusterListNullablesAndOptionalsStruct : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87814,7 +87980,7 @@ class SubscribeAttributeTestClusterListNullablesAndOptionalsStruct : public Subs ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000023) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87853,7 +88019,7 @@ class ReadTestClusterEnumAttr : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeEnumAttrWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.EnumAttr response %@", [value description]); @@ -87883,7 +88049,7 @@ class WriteTestClusterEnumAttr : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -87920,7 +88086,7 @@ class SubscribeAttributeTestClusterEnumAttr : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -87959,7 +88125,7 @@ class ReadTestClusterStructAttr : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeStructAttrWithCompletionHandler:^( MTRTestClusterClusterSimpleStruct * _Nullable value, NSError * _Nullable error) { @@ -87991,7 +88157,7 @@ class WriteTestClusterStructAttr : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88038,7 +88204,7 @@ class SubscribeAttributeTestClusterStructAttr : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88077,7 +88243,7 @@ class ReadTestClusterRangeRestrictedInt8u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRangeRestrictedInt8uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt8u response %@", [value description]); @@ -88107,7 +88273,7 @@ class WriteTestClusterRangeRestrictedInt8u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88144,7 +88310,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt8u : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88183,7 +88349,7 @@ class ReadTestClusterRangeRestrictedInt8s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRangeRestrictedInt8sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt8s response %@", [value description]); @@ -88213,7 +88379,7 @@ class WriteTestClusterRangeRestrictedInt8s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000027) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88250,7 +88416,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt8s : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000027) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88289,7 +88455,7 @@ class ReadTestClusterRangeRestrictedInt16u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRangeRestrictedInt16uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt16u response %@", [value description]); @@ -88319,7 +88485,7 @@ class WriteTestClusterRangeRestrictedInt16u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88356,7 +88522,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt16u : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88395,7 +88561,7 @@ class ReadTestClusterRangeRestrictedInt16s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeRangeRestrictedInt16sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.RangeRestrictedInt16s response %@", [value description]); @@ -88425,7 +88591,7 @@ class WriteTestClusterRangeRestrictedInt16s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88462,7 +88628,7 @@ class SubscribeAttributeTestClusterRangeRestrictedInt16s : public SubscribeAttri ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88501,7 +88667,7 @@ class ReadTestClusterListLongOctetString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeListLongOctetStringWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ListLongOctetString response %@", [value description]); @@ -88532,7 +88698,7 @@ class WriteTestClusterListLongOctetString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000002A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88579,7 +88745,7 @@ class SubscribeAttributeTestClusterListLongOctetString : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000002A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88618,7 +88784,7 @@ class ReadTestClusterListFabricScoped : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRReadParams * params = [[MTRReadParams alloc] init]; params.fabricFiltered = mFabricFiltered.HasValue() ? [NSNumber numberWithBool:mFabricFiltered.Value()] : nil; @@ -88652,7 +88818,7 @@ class WriteTestClusterListFabricScoped : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000002B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88749,7 +88915,7 @@ class SubscribeAttributeTestClusterListFabricScoped : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000002B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88788,7 +88954,7 @@ class ReadTestClusterTimedWriteBoolean : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeTimedWriteBooleanWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.TimedWriteBoolean response %@", [value description]); @@ -88818,7 +88984,7 @@ class WriteTestClusterTimedWriteBoolean : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88855,7 +89021,7 @@ class SubscribeAttributeTestClusterTimedWriteBoolean : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000030) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -88894,7 +89060,7 @@ class ReadTestClusterGeneralErrorBoolean : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneralErrorBooleanWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.GeneralErrorBoolean response %@", [value description]); @@ -88924,7 +89090,7 @@ class WriteTestClusterGeneralErrorBoolean : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -88961,7 +89127,7 @@ class SubscribeAttributeTestClusterGeneralErrorBoolean : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000031) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89000,7 +89166,7 @@ class ReadTestClusterClusterErrorBoolean : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterErrorBooleanWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ClusterErrorBoolean response %@", [value description]); @@ -89030,7 +89196,7 @@ class WriteTestClusterClusterErrorBoolean : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89067,7 +89233,7 @@ class SubscribeAttributeTestClusterClusterErrorBoolean : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00000032) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89106,7 +89272,7 @@ class ReadTestClusterUnsupported : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeUnsupportedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.Unsupported response %@", [value description]); @@ -89136,7 +89302,7 @@ class WriteTestClusterUnsupported : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x000000FF) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89173,7 +89339,7 @@ class SubscribeAttributeTestClusterUnsupported : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x000000FF) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89212,7 +89378,7 @@ class ReadTestClusterNullableBoolean : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableBooleanWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBoolean response %@", [value description]); @@ -89242,7 +89408,7 @@ class WriteTestClusterNullableBoolean : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89279,7 +89445,7 @@ class SubscribeAttributeTestClusterNullableBoolean : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004000) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89318,7 +89484,7 @@ class ReadTestClusterNullableBitmap8 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableBitmap8WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap8 response %@", [value description]); @@ -89348,7 +89514,7 @@ class WriteTestClusterNullableBitmap8 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89385,7 +89551,7 @@ class SubscribeAttributeTestClusterNullableBitmap8 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004001) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89424,7 +89590,7 @@ class ReadTestClusterNullableBitmap16 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableBitmap16WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap16 response %@", [value description]); @@ -89454,7 +89620,7 @@ class WriteTestClusterNullableBitmap16 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89491,7 +89657,7 @@ class SubscribeAttributeTestClusterNullableBitmap16 : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004002) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89530,7 +89696,7 @@ class ReadTestClusterNullableBitmap32 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableBitmap32WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap32 response %@", [value description]); @@ -89560,7 +89726,7 @@ class WriteTestClusterNullableBitmap32 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89597,7 +89763,7 @@ class SubscribeAttributeTestClusterNullableBitmap32 : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004003) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89636,7 +89802,7 @@ class ReadTestClusterNullableBitmap64 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableBitmap64WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableBitmap64 response %@", [value description]); @@ -89666,7 +89832,7 @@ class WriteTestClusterNullableBitmap64 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89703,7 +89869,7 @@ class SubscribeAttributeTestClusterNullableBitmap64 : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004004) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89742,7 +89908,7 @@ class ReadTestClusterNullableInt8u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt8uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt8u response %@", [value description]); @@ -89772,7 +89938,7 @@ class WriteTestClusterNullableInt8u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89809,7 +89975,7 @@ class SubscribeAttributeTestClusterNullableInt8u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004005) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89848,7 +90014,7 @@ class ReadTestClusterNullableInt16u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt16uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt16u response %@", [value description]); @@ -89878,7 +90044,7 @@ class WriteTestClusterNullableInt16u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -89915,7 +90081,7 @@ class SubscribeAttributeTestClusterNullableInt16u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004006) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -89954,7 +90120,7 @@ class ReadTestClusterNullableInt24u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt24uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt24u response %@", [value description]); @@ -89984,7 +90150,7 @@ class WriteTestClusterNullableInt24u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90021,7 +90187,7 @@ class SubscribeAttributeTestClusterNullableInt24u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004007) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90060,7 +90226,7 @@ class ReadTestClusterNullableInt32u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt32uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt32u response %@", [value description]); @@ -90090,7 +90256,7 @@ class WriteTestClusterNullableInt32u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90127,7 +90293,7 @@ class SubscribeAttributeTestClusterNullableInt32u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004008) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90166,7 +90332,7 @@ class ReadTestClusterNullableInt40u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt40uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt40u response %@", [value description]); @@ -90196,7 +90362,7 @@ class WriteTestClusterNullableInt40u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90233,7 +90399,7 @@ class SubscribeAttributeTestClusterNullableInt40u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004009) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90272,7 +90438,7 @@ class ReadTestClusterNullableInt48u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt48uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt48u response %@", [value description]); @@ -90302,7 +90468,7 @@ class WriteTestClusterNullableInt48u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000400A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90339,7 +90505,7 @@ class SubscribeAttributeTestClusterNullableInt48u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000400A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90378,7 +90544,7 @@ class ReadTestClusterNullableInt56u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt56uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt56u response %@", [value description]); @@ -90408,7 +90574,7 @@ class WriteTestClusterNullableInt56u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000400B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90445,7 +90611,7 @@ class SubscribeAttributeTestClusterNullableInt56u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000400B) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90484,7 +90650,7 @@ class ReadTestClusterNullableInt64u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt64uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt64u response %@", [value description]); @@ -90514,7 +90680,7 @@ class WriteTestClusterNullableInt64u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000400C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90551,7 +90717,7 @@ class SubscribeAttributeTestClusterNullableInt64u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000400C) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90590,7 +90756,7 @@ class ReadTestClusterNullableInt8s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt8sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt8s response %@", [value description]); @@ -90620,7 +90786,7 @@ class WriteTestClusterNullableInt8s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000400D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90657,7 +90823,7 @@ class SubscribeAttributeTestClusterNullableInt8s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000400D) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90696,7 +90862,7 @@ class ReadTestClusterNullableInt16s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt16sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt16s response %@", [value description]); @@ -90726,7 +90892,7 @@ class WriteTestClusterNullableInt16s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000400E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90763,7 +90929,7 @@ class SubscribeAttributeTestClusterNullableInt16s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000400E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90802,7 +90968,7 @@ class ReadTestClusterNullableInt24s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt24sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt24s response %@", [value description]); @@ -90832,7 +90998,7 @@ class WriteTestClusterNullableInt24s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000400F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90869,7 +91035,7 @@ class SubscribeAttributeTestClusterNullableInt24s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000400F) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -90908,7 +91074,7 @@ class ReadTestClusterNullableInt32s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt32sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt32s response %@", [value description]); @@ -90938,7 +91104,7 @@ class WriteTestClusterNullableInt32s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -90975,7 +91141,7 @@ class SubscribeAttributeTestClusterNullableInt32s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004010) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91014,7 +91180,7 @@ class ReadTestClusterNullableInt40s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt40sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt40s response %@", [value description]); @@ -91044,7 +91210,7 @@ class WriteTestClusterNullableInt40s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91081,7 +91247,7 @@ class SubscribeAttributeTestClusterNullableInt40s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004011) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91120,7 +91286,7 @@ class ReadTestClusterNullableInt48s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt48sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt48s response %@", [value description]); @@ -91150,7 +91316,7 @@ class WriteTestClusterNullableInt48s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91187,7 +91353,7 @@ class SubscribeAttributeTestClusterNullableInt48s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004012) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91226,7 +91392,7 @@ class ReadTestClusterNullableInt56s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt56sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt56s response %@", [value description]); @@ -91256,7 +91422,7 @@ class WriteTestClusterNullableInt56s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91293,7 +91459,7 @@ class SubscribeAttributeTestClusterNullableInt56s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004013) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91332,7 +91498,7 @@ class ReadTestClusterNullableInt64s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableInt64sWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableInt64s response %@", [value description]); @@ -91362,7 +91528,7 @@ class WriteTestClusterNullableInt64s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91399,7 +91565,7 @@ class SubscribeAttributeTestClusterNullableInt64s : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004014) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91438,7 +91604,7 @@ class ReadTestClusterNullableEnum8 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableEnum8WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableEnum8 response %@", [value description]); @@ -91468,7 +91634,7 @@ class WriteTestClusterNullableEnum8 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91505,7 +91671,7 @@ class SubscribeAttributeTestClusterNullableEnum8 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004015) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91544,7 +91710,7 @@ class ReadTestClusterNullableEnum16 : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableEnum16WithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableEnum16 response %@", [value description]); @@ -91574,7 +91740,7 @@ class WriteTestClusterNullableEnum16 : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91611,7 +91777,7 @@ class SubscribeAttributeTestClusterNullableEnum16 : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004016) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91650,7 +91816,7 @@ class ReadTestClusterNullableFloatSingle : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableFloatSingleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableFloatSingle response %@", [value description]); @@ -91680,7 +91846,7 @@ class WriteTestClusterNullableFloatSingle : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91717,7 +91883,7 @@ class SubscribeAttributeTestClusterNullableFloatSingle : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004017) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91756,7 +91922,7 @@ class ReadTestClusterNullableFloatDouble : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableFloatDoubleWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableFloatDouble response %@", [value description]); @@ -91786,7 +91952,7 @@ class WriteTestClusterNullableFloatDouble : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91823,7 +91989,7 @@ class SubscribeAttributeTestClusterNullableFloatDouble : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004018) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91862,7 +92028,7 @@ class ReadTestClusterNullableOctetString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableOctetStringWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableOctetString response %@", [value description]); @@ -91892,7 +92058,7 @@ class WriteTestClusterNullableOctetString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -91929,7 +92095,7 @@ class SubscribeAttributeTestClusterNullableOctetString : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004019) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -91968,7 +92134,7 @@ class ReadTestClusterNullableCharString : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableCharStringWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableCharString response %@", [value description]); @@ -91998,7 +92164,7 @@ class WriteTestClusterNullableCharString : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000401E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92037,7 +92203,7 @@ class SubscribeAttributeTestClusterNullableCharString : public SubscribeAttribut ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000401E) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92076,7 +92242,7 @@ class ReadTestClusterNullableEnumAttr : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableEnumAttrWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.NullableEnumAttr response %@", [value description]); @@ -92106,7 +92272,7 @@ class WriteTestClusterNullableEnumAttr : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92143,7 +92309,7 @@ class SubscribeAttributeTestClusterNullableEnumAttr : public SubscribeAttribute ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004024) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92182,7 +92348,7 @@ class ReadTestClusterNullableStruct : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableStructWithCompletionHandler:^( MTRTestClusterClusterSimpleStruct * _Nullable value, NSError * _Nullable error) { @@ -92214,7 +92380,7 @@ class WriteTestClusterNullableStruct : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92267,7 +92433,7 @@ class SubscribeAttributeTestClusterNullableStruct : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004025) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92306,7 +92472,7 @@ class ReadTestClusterNullableRangeRestrictedInt8u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableRangeRestrictedInt8uWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -92337,7 +92503,7 @@ class WriteTestClusterNullableRangeRestrictedInt8u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92375,7 +92541,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt8u : public Subscri ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004026) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92414,7 +92580,7 @@ class ReadTestClusterNullableRangeRestrictedInt8s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableRangeRestrictedInt8sWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -92445,7 +92611,7 @@ class WriteTestClusterNullableRangeRestrictedInt8s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004027) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92483,7 +92649,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt8s : public Subscri ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004027) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92522,7 +92688,7 @@ class ReadTestClusterNullableRangeRestrictedInt16u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableRangeRestrictedInt16uWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -92553,7 +92719,7 @@ class WriteTestClusterNullableRangeRestrictedInt16u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92591,7 +92757,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt16u : public Subscr ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004028) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92630,7 +92796,7 @@ class ReadTestClusterNullableRangeRestrictedInt16s : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeNullableRangeRestrictedInt16sWithCompletionHandler:^( NSNumber * _Nullable value, NSError * _Nullable error) { @@ -92661,7 +92827,7 @@ class WriteTestClusterNullableRangeRestrictedInt16s : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x00004029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92699,7 +92865,7 @@ class SubscribeAttributeTestClusterNullableRangeRestrictedInt16s : public Subscr ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x00004029) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92738,7 +92904,7 @@ class ReadTestClusterWriteOnlyInt8u : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeWriteOnlyInt8uWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.WriteOnlyInt8u response %@", [value description]); @@ -92768,7 +92934,7 @@ class WriteTestClusterWriteOnlyInt8u : public WriteAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) WriteAttribute (0x0000402A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRWriteParams * params = [[MTRWriteParams alloc] init]; params.timedWriteTimeout @@ -92805,7 +92971,7 @@ class SubscribeAttributeTestClusterWriteOnlyInt8u : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000402A) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92844,7 +93010,7 @@ class ReadTestClusterGeneratedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.GeneratedCommandList response %@", [value description]); @@ -92871,7 +93037,7 @@ class SubscribeAttributeTestClusterGeneratedCommandList : public SubscribeAttrib ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000FFF8) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92910,7 +93076,7 @@ class ReadTestClusterAcceptedCommandList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.AcceptedCommandList response %@", [value description]); @@ -92937,7 +93103,7 @@ class SubscribeAttributeTestClusterAcceptedCommandList : public SubscribeAttribu ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000FFF9) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -92976,7 +93142,7 @@ class ReadTestClusterAttributeList : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.AttributeList response %@", [value description]); @@ -93003,7 +93169,7 @@ class SubscribeAttributeTestClusterAttributeList : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000FFFB) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -93042,7 +93208,7 @@ class ReadTestClusterFeatureMap : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.FeatureMap response %@", [value description]); @@ -93069,7 +93235,7 @@ class SubscribeAttributeTestClusterFeatureMap : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000FFFC) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions @@ -93108,7 +93274,7 @@ class ReadTestClusterClusterRevision : public ReadAttribute { dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable error) { NSLog(@"TestCluster.ClusterRevision response %@", [value description]); @@ -93135,7 +93301,7 @@ class SubscribeAttributeTestClusterClusterRevision : public SubscribeAttribute { ChipLogProgress(chipTool, "Sending cluster (0xFFF1FC05) ReportAttribute (0x0000FFFD) on endpoint %u", endpointId); dispatch_queue_t callbackQueue = dispatch_queue_create("com.chip.command", DISPATCH_QUEUE_SERIAL); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:endpointId + endpointID:@(endpointId) queue:callbackQueue]; MTRSubscribeParams * params = [[MTRSubscribeParams alloc] init]; params.keepPreviousSubscriptions diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index cc1de401bb6890..f1e909abd0684a 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -487,7 +487,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -601,7 +601,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -858,7 +858,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -903,7 +903,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -951,7 +951,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -993,7 +993,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1030,7 +1030,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1072,7 +1072,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1109,7 +1109,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1155,7 +1155,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1192,7 +1192,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1242,7 +1242,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1279,7 +1279,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1344,7 +1344,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1381,7 +1381,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1526,7 +1526,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1563,7 +1563,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1712,7 +1712,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -1969,7 +1969,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2001,7 +2001,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2038,7 +2038,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2060,7 +2060,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2082,7 +2082,7 @@ class TestAccessControlCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2234,7 +2234,7 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2259,7 +2259,7 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2284,7 +2284,7 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2314,7 +2314,7 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2336,7 +2336,7 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2361,7 +2361,7 @@ class Test_TC_ACL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2503,7 +2503,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2527,7 +2527,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2551,7 +2551,7 @@ class Test_TC_ACL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2679,7 +2679,7 @@ class Test_TC_ACL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2830,7 +2830,7 @@ class Test_TC_BOOL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2855,7 +2855,7 @@ class Test_TC_BOOL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2880,7 +2880,7 @@ class Test_TC_BOOL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2907,7 +2907,7 @@ class Test_TC_BOOL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -2932,7 +2932,7 @@ class Test_TC_BOOL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -3052,7 +3052,7 @@ class Test_TC_BOOL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterBooleanState * cluster = [[MTRBaseClusterBooleanState alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -3201,7 +3201,9 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -3224,7 +3226,9 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -3247,7 +3251,9 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -3273,7 +3279,9 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalAttributeSetupURLInAttributeList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -3293,7 +3301,9 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -3312,7 +3322,9 @@ class Test_TC_ACT_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterActions * cluster = [[MTRBaseClusterActions alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -3454,7 +3466,9 @@ class Test_TC_BIND_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheClusterRevisionFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -3477,7 +3491,9 @@ class Test_TC_BIND_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheFeatureMapFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -3500,7 +3516,9 @@ class Test_TC_BIND_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAttributeListFromDut_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -3525,7 +3543,9 @@ class Test_TC_BIND_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAcceptedCommandListFromDut_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -3548,7 +3568,9 @@ class Test_TC_BIND_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsGeneratedCommandListFromDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -4163,7 +4185,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4188,7 +4210,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4213,7 +4235,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4233,7 +4255,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4253,7 +4275,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4273,7 +4295,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4293,7 +4315,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4313,7 +4335,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4343,7 +4365,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4365,7 +4387,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4387,7 +4409,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4409,7 +4431,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4431,7 +4453,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4453,7 +4475,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4475,7 +4497,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4497,7 +4519,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4519,7 +4541,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4541,7 +4563,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4563,7 +4585,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4585,7 +4607,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4607,7 +4629,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4629,7 +4651,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4651,7 +4673,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4673,7 +4695,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4695,7 +4717,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4717,7 +4739,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4739,7 +4761,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4761,7 +4783,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4783,7 +4805,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4805,7 +4827,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4827,7 +4849,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4849,7 +4871,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4871,7 +4893,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4893,7 +4915,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4915,7 +4937,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4937,7 +4959,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4959,7 +4981,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -4981,7 +5003,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5003,7 +5025,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5025,7 +5047,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5047,7 +5069,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5069,7 +5091,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5091,7 +5113,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5113,7 +5135,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5135,7 +5157,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5157,7 +5179,7 @@ class Test_TC_CC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5882,7 +5904,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5905,7 +5927,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5928,7 +5950,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5951,7 +5973,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5974,7 +5996,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -5997,7 +6019,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6020,7 +6042,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6041,7 +6063,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6064,7 +6086,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6087,7 +6109,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6110,7 +6132,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6133,7 +6155,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6156,7 +6178,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6179,7 +6201,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6202,7 +6224,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6225,7 +6247,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6249,7 +6271,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6274,7 +6296,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6297,7 +6319,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6325,7 +6347,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6349,7 +6371,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6373,7 +6395,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6398,7 +6420,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6426,7 +6448,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6632,7 +6654,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6655,7 +6677,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6678,7 +6700,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6701,7 +6723,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6724,7 +6746,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6750,7 +6772,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6773,7 +6795,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6796,7 +6818,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6822,7 +6844,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6845,7 +6867,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -6868,7 +6890,7 @@ class Test_TC_CC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7276,7 +7298,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7297,7 +7319,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -7315,7 +7337,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7350,7 +7372,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7382,7 +7404,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7411,7 +7433,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7440,7 +7462,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7465,7 +7487,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7494,7 +7516,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7516,7 +7538,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7551,7 +7573,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7583,7 +7605,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7612,7 +7634,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7641,7 +7663,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7666,7 +7688,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7695,7 +7717,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7717,7 +7739,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7744,7 +7766,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -7770,7 +7792,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -7787,7 +7809,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -8134,7 +8156,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8155,7 +8177,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -8173,7 +8195,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8208,7 +8230,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8244,7 +8266,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8273,7 +8295,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8302,7 +8324,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8324,7 +8346,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8359,7 +8381,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8394,7 +8416,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8423,7 +8445,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8452,7 +8474,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8474,7 +8496,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8501,7 +8523,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8527,7 +8549,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -8544,7 +8566,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -8823,7 +8845,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8844,7 +8866,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -8862,7 +8884,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8896,7 +8918,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8931,7 +8953,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8960,7 +8982,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -8989,7 +9011,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9018,7 +9040,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9040,7 +9062,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9067,7 +9089,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9093,7 +9115,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -9110,7 +9132,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -9546,7 +9568,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9567,7 +9589,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -9585,7 +9607,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9619,7 +9641,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9652,7 +9674,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9681,7 +9703,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9710,7 +9732,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9732,7 +9754,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9766,7 +9788,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9800,7 +9822,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9829,7 +9851,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9858,7 +9880,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9880,7 +9902,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9914,7 +9936,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9947,7 +9969,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9969,7 +9991,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -9996,7 +10018,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10025,7 +10047,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10047,7 +10069,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10074,7 +10096,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10100,7 +10122,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_32() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -10117,7 +10139,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_33() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -10526,7 +10548,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10547,7 +10569,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -10565,7 +10587,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10599,7 +10621,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10634,7 +10656,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10663,7 +10685,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10692,7 +10714,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10714,7 +10736,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10749,7 +10771,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10771,7 +10793,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10805,7 +10827,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10840,7 +10862,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10869,7 +10891,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10898,7 +10920,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10920,7 +10942,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10955,7 +10977,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -10979,7 +11001,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11006,7 +11028,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11032,7 +11054,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -11049,7 +11071,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -11364,7 +11386,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11385,7 +11407,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -11403,7 +11425,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11438,7 +11460,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11460,7 +11482,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11482,7 +11504,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11517,7 +11539,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11539,7 +11561,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11568,7 +11590,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11590,7 +11612,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11620,7 +11642,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11642,7 +11664,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11664,7 +11686,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11691,7 +11713,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -11717,7 +11739,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -11734,7 +11756,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -12451,7 +12473,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12472,7 +12494,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -12490,7 +12512,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12525,7 +12547,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12547,7 +12569,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12569,7 +12591,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12604,7 +12626,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12626,7 +12648,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12655,7 +12677,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12677,7 +12699,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12706,7 +12728,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12728,7 +12750,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12750,7 +12772,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12772,7 +12794,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12795,7 +12817,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -12813,7 +12835,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12848,7 +12870,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12870,7 +12892,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12891,7 +12913,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -12909,7 +12931,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12944,7 +12966,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12968,7 +12990,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -12992,7 +13014,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13027,7 +13049,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13051,7 +13073,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13075,7 +13097,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13110,7 +13132,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13132,7 +13154,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13154,7 +13176,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13176,7 +13198,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13199,7 +13221,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_39() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -13217,7 +13239,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13252,7 +13274,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13274,7 +13296,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13295,7 +13317,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_44() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -13313,7 +13335,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13348,7 +13370,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13370,7 +13392,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13392,7 +13414,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13427,7 +13449,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13451,7 +13473,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13475,7 +13497,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13510,7 +13532,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13532,7 +13554,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13554,7 +13576,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13581,7 +13603,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13909,7 +13931,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13930,7 +13952,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -13948,7 +13970,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -13983,7 +14005,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14015,7 +14037,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14037,7 +14059,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14066,7 +14088,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14088,7 +14110,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14118,7 +14140,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14144,7 +14166,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14169,7 +14191,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14192,7 +14214,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14214,7 +14236,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14236,7 +14258,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14263,7 +14285,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14289,7 +14311,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -14306,7 +14328,7 @@ class Test_TC_CC_5_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -14599,7 +14621,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14620,7 +14642,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -14638,7 +14660,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14673,7 +14695,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14708,7 +14730,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14730,7 +14752,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14759,7 +14781,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14781,7 +14803,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14810,7 +14832,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14832,7 +14854,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14854,7 +14876,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14881,7 +14903,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -14907,7 +14929,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -14924,7 +14946,7 @@ class Test_TC_CC_5_3 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -15235,7 +15257,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15256,7 +15278,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -15275,7 +15297,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15303,7 +15325,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15330,7 +15352,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15355,7 +15377,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15389,7 +15411,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15423,7 +15445,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15452,7 +15474,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15481,7 +15503,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15510,7 +15532,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15532,7 +15554,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15559,7 +15581,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -15585,7 +15607,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -15602,7 +15624,7 @@ class Test_TC_CC_6_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -15985,7 +16007,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16006,7 +16028,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -16025,7 +16047,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16060,7 +16082,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16095,7 +16117,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16124,7 +16146,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16153,7 +16175,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16182,7 +16204,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16205,7 +16227,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16240,7 +16262,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16275,7 +16297,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16304,7 +16326,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16333,7 +16355,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16362,7 +16384,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16384,7 +16406,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16411,7 +16433,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16437,7 +16459,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -16454,7 +16476,7 @@ class Test_TC_CC_7_3 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_28() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -16769,7 +16791,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16790,7 +16812,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -16809,7 +16831,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16844,7 +16866,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16866,7 +16888,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16888,7 +16910,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16923,7 +16945,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16946,7 +16968,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16975,7 +16997,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -16998,7 +17020,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -17027,7 +17049,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -17051,7 +17073,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -17075,7 +17097,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -17102,7 +17124,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterColorControl * cluster = [[MTRBaseClusterColorControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -17128,7 +17150,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { CHIP_ERROR TestTurnOffLightThatWeTurnedOn_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -17145,7 +17167,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -17287,7 +17309,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -17311,7 +17333,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -17335,7 +17357,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17366,7 +17388,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17394,7 +17416,7 @@ class Test_TC_OPCREDS_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17624,7 +17646,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheClusterRevisionFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -17647,7 +17669,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheFeatureMapFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -17670,7 +17692,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAttributeListFromDut_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17706,7 +17728,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeManufacturingDateInAttributeList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17726,7 +17748,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributePartNumberInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17746,7 +17768,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeProductURLInAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17766,7 +17788,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeProductLabelInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17786,7 +17808,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeSerialNumberInAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17806,7 +17828,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeLocalConfigDisabledInAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17826,7 +17848,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeReachableInAttributeList_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17846,7 +17868,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeUniqueIDInAttributeList_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17866,7 +17888,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestTh1ReadsAcceptedCommandListFromDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -17889,7 +17911,7 @@ class Test_TC_BINFO_1_1 : public TestCommandBridge { CHIP_ERROR TestTh1ReadsGeneratedCommandListFromDut_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18102,7 +18124,7 @@ class Test_TC_DESC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18127,7 +18149,7 @@ class Test_TC_DESC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18152,7 +18174,7 @@ class Test_TC_DESC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18182,7 +18204,7 @@ class Test_TC_DESC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18207,7 +18229,7 @@ class Test_TC_DESC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18351,7 +18373,7 @@ class Test_TC_DLOG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18376,7 +18398,7 @@ class Test_TC_DLOG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18401,7 +18423,7 @@ class Test_TC_DLOG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18427,7 +18449,7 @@ class Test_TC_DLOG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18453,7 +18475,7 @@ class Test_TC_DLOG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDiagnosticLogs * cluster = [[MTRBaseClusterDiagnosticLogs alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -18748,7 +18770,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -18772,7 +18794,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -18796,7 +18818,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -18815,7 +18837,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -18834,7 +18856,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18859,7 +18881,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18880,7 +18902,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18901,7 +18923,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18924,7 +18946,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18947,7 +18969,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18970,7 +18992,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -18993,7 +19015,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -19016,7 +19038,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -19037,7 +19059,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -19058,7 +19080,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -19079,7 +19101,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -19103,7 +19125,7 @@ class Test_TC_DGETH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -19401,7 +19423,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19426,7 +19448,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFullDuplexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19449,7 +19471,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19477,7 +19499,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19505,7 +19527,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTxErrCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19534,7 +19556,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCollisionCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19563,7 +19585,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19592,7 +19614,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCarrierDetectWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19625,7 +19647,7 @@ class Test_TC_DGETH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTimeSinceResetWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19968,7 +19990,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -19993,7 +20015,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20018,7 +20040,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20043,7 +20065,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20068,7 +20090,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20093,7 +20115,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20118,7 +20140,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20143,7 +20165,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20168,7 +20190,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20193,7 +20215,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePHYRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20219,7 +20241,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20242,7 +20264,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20265,7 +20287,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTxErrCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20288,7 +20310,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCollisionCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20311,7 +20333,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20333,7 +20355,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster resetCountsWithCompletionHandler:^(NSError * _Nullable err) { @@ -20351,7 +20373,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20371,7 +20393,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20391,7 +20413,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTxErrCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20411,7 +20433,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCollisionCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20431,7 +20453,7 @@ class Test_TC_DGETH_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterEthernetNetworkDiagnostics * cluster = - [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterEthernetNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -20581,7 +20603,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20606,7 +20628,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20631,7 +20653,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20660,7 +20682,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20682,7 +20704,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20707,7 +20729,7 @@ class Test_TC_FLW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20860,7 +20882,7 @@ class Test_TC_FLW_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20886,7 +20908,7 @@ class Test_TC_FLW_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20912,7 +20934,7 @@ class Test_TC_FLW_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -20938,7 +20960,7 @@ class Test_TC_FLW_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFlowMeasurement * cluster = [[MTRBaseClusterFlowMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21080,7 +21102,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21105,7 +21127,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21130,7 +21152,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21157,7 +21179,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21182,7 +21204,7 @@ class Test_TC_FLABEL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFixedLabel * cluster = [[MTRBaseClusterFixedLabel alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21326,7 +21348,7 @@ class Test_TC_CGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21351,7 +21373,7 @@ class Test_TC_CGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21376,7 +21398,7 @@ class Test_TC_CGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21407,7 +21429,7 @@ class Test_TC_CGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21431,7 +21453,7 @@ class Test_TC_CGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21619,7 +21641,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21639,7 +21661,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21661,7 +21683,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21685,7 +21707,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21707,7 +21729,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21730,7 +21752,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21753,7 +21775,7 @@ class Test_TC_CGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21959,7 +21981,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -21984,7 +22006,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22009,7 +22031,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22038,7 +22060,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22060,7 +22082,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22082,7 +22104,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22104,7 +22126,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22126,7 +22148,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22148,7 +22170,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22170,7 +22192,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22192,7 +22214,7 @@ class Test_TC_DGGEN_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22482,7 +22504,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22502,7 +22524,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22564,7 +22586,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22586,7 +22608,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22632,7 +22654,7 @@ class Test_TC_DGGEN_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralDiagnostics * cluster = [[MTRBaseClusterGeneralDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -22819,7 +22841,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheClusterRevisionAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -22842,7 +22866,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheFeatureMapAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -22865,7 +22891,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -22891,7 +22919,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -22911,7 +22941,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalCommandTriggerEffectInAcceptedCommandList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -22931,7 +22963,9 @@ class Test_TC_I_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -23052,7 +23086,9 @@ class Test_TC_I_2_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheIdentifyTimeAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeIdentifyTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -23073,7 +23109,9 @@ class Test_TC_I_2_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheIdentifyTypeAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeIdentifyTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -23285,7 +23323,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x003c60s_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterIdentifyParams alloc] init]; @@ -23305,7 +23345,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsImmediatelyIdentifyTimeAttributeFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeIdentifyTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -23332,7 +23374,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestAfter10SecondsTheThReadsIdentifyTimeAttributeFromDut_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeIdentifyTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -23362,7 +23406,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsIdentifyCommandToDutWithTheIdentifyTimeFieldSetTo0x0000StopIdentifying_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterIdentifyParams alloc] init]; @@ -23385,7 +23431,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsImmediatelyIdentifyTimeAttributeFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeIdentifyTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -23407,7 +23455,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesAValueOf0x000f15sToIdentifyTimeAttributeOfDut_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id identifyTimeArgument; @@ -23434,7 +23484,9 @@ class Test_TC_I_2_2 : public TestCommandBridge { CHIP_ERROR TestAfter5SecondsTheThReadsIdentifyTimeAttributeFromDut_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeIdentifyTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -23779,7 +23831,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x00BlinkAndTheEffectVariantFieldSetTo0x00Default_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -23812,7 +23866,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x01BreatheAndTheEffectVariantFieldSetTo0x00Default_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -23845,7 +23901,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x02OkayAndTheEffectVariantFieldSetTo0x00Default_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -23878,7 +23936,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x0bChannelChangeAndTheEffectVariantFieldSetTo0x00Default_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -23911,7 +23971,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x01BreatheAndTheEffectVariantFieldSetTo0x00Default_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -23944,7 +24006,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0xfeFinishEffectAndTheEffectVariantFieldSetTo0x00Default_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -23977,7 +24041,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x01BreatheAndTheEffectVariantFieldSetTo0x00Default_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -24010,7 +24076,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0xffStopEffectAndTheEffectVariantFieldSetTo0x00Default_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -24043,7 +24111,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0x00BlinkAndTheEffectVariantFieldSetTo0x42Unknown_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -24076,7 +24146,9 @@ class Test_TC_I_2_3 : public TestCommandBridge { TestThSendsTriggerEffectCommandToDutWithTheEffectIdentifierFieldSetTo0xffStopEffectAndTheEffectVariantFieldSetTo0x00Default_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterTriggerEffectParams alloc] init]; @@ -24250,7 +24322,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24274,7 +24346,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24298,7 +24370,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -24326,7 +24398,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -24347,7 +24419,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -24368,7 +24440,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -24392,7 +24464,7 @@ class Test_TC_ILL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -24555,7 +24627,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24580,7 +24652,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24605,7 +24677,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24630,7 +24702,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24652,7 +24724,7 @@ class Test_TC_ILL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLightSensorTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24842,7 +24914,7 @@ class Test_TC_ILL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24869,7 +24941,7 @@ class Test_TC_ILL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24911,7 +24983,7 @@ class Test_TC_ILL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -24951,7 +25023,7 @@ class Test_TC_ILL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterIlluminanceMeasurement * cluster = - [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterIlluminanceMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -25234,7 +25306,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25259,7 +25331,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25284,7 +25356,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25304,7 +25376,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25324,7 +25396,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25344,7 +25416,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25373,7 +25445,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25396,7 +25468,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25420,7 +25492,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25442,7 +25514,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25464,7 +25536,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25486,7 +25558,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25508,7 +25580,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25530,7 +25602,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25552,7 +25624,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25581,7 +25653,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25603,7 +25675,7 @@ class Test_TC_LVL_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25933,7 +26005,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25962,7 +26034,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -25986,7 +26058,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26016,7 +26088,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26043,7 +26115,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26074,7 +26146,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26101,7 +26173,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26127,7 +26199,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26155,7 +26227,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26179,7 +26251,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26206,7 +26278,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26232,7 +26304,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26255,7 +26327,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26278,7 +26350,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26304,7 +26376,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26332,7 +26404,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26358,7 +26430,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26384,7 +26456,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26410,7 +26482,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26430,7 +26502,7 @@ class Test_TC_LVL_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26762,7 +26834,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26788,7 +26860,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26812,7 +26884,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26841,7 +26913,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26870,7 +26942,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26893,7 +26965,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26925,7 +26997,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26954,7 +27026,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -26978,7 +27050,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27010,7 +27082,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27039,7 +27111,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27063,7 +27135,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27095,7 +27167,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27124,7 +27196,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27148,7 +27220,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27180,7 +27252,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27209,7 +27281,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27233,7 +27305,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27264,7 +27336,7 @@ class Test_TC_LVL_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27853,7 +27925,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestPreconditionSendOnCommand_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -27870,7 +27942,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -27893,7 +27965,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27916,7 +27988,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27937,7 +28009,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -27955,7 +28027,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -27981,7 +28053,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOnOffAttributeOnOffClusterFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -28004,7 +28076,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28028,7 +28100,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -28046,7 +28118,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28072,7 +28144,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28098,7 +28170,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28132,7 +28204,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28164,7 +28236,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28196,7 +28268,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28228,7 +28300,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28253,7 +28325,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28278,7 +28350,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28300,7 +28372,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28323,7 +28395,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -28341,7 +28413,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28366,7 +28438,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28390,7 +28462,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -28408,7 +28480,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28433,7 +28505,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28458,7 +28530,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28483,7 +28555,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28508,7 +28580,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28533,7 +28605,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28558,7 +28630,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28580,7 +28652,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28603,7 +28675,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_36() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -28621,7 +28693,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28646,7 +28718,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28670,7 +28742,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_39() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -28688,7 +28760,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28713,7 +28785,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28738,7 +28810,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28763,7 +28835,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28788,7 +28860,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -28813,7 +28885,7 @@ class Test_TC_LVL_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29179,7 +29251,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestPreconditionSendOnCommand_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -29196,7 +29268,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -29219,7 +29291,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29242,7 +29314,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29264,7 +29336,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29286,7 +29358,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -29304,7 +29376,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29330,7 +29402,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOnOffAttributeOnOffClusterFromDut_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -29354,7 +29426,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29388,7 +29460,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29412,7 +29484,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -29430,7 +29502,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29456,7 +29528,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29481,7 +29553,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29513,7 +29585,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29545,7 +29617,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29577,7 +29649,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29609,7 +29681,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -29633,7 +29705,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestPreconditionSendOffCommand_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -29650,7 +29722,7 @@ class Test_TC_LVL_4_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -29988,7 +30060,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestPreconditionSendOnCommand_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -30005,7 +30077,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -30028,7 +30100,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30051,7 +30123,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30072,7 +30144,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -30090,7 +30162,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30117,7 +30189,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOnOffAttributeOnOffClusterFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -30139,7 +30211,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -30157,7 +30229,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30183,7 +30255,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30208,7 +30280,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30244,7 +30316,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30276,7 +30348,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30308,7 +30380,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30340,7 +30412,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30365,7 +30437,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30389,7 +30461,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestPreconditionSendOffCommand_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -30406,7 +30478,7 @@ class Test_TC_LVL_5_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -30697,7 +30769,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30720,7 +30792,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30741,7 +30813,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -30759,7 +30831,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30785,7 +30857,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30810,7 +30882,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30844,7 +30916,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30876,7 +30948,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30901,7 +30973,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30935,7 +31007,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30967,7 +31039,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -30991,7 +31063,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { CHIP_ERROR TestPreconditionSendOffCommand_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -31008,7 +31080,7 @@ class Test_TC_LVL_6_1 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -31150,7 +31222,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -31174,7 +31246,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -31198,7 +31270,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31225,7 +31297,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31249,7 +31321,7 @@ class Test_TC_LCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLocalizationConfiguration * cluster = - [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterLocalizationConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31434,7 +31506,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31459,7 +31531,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31484,7 +31556,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31504,7 +31576,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31530,7 +31602,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31552,7 +31624,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31577,7 +31649,7 @@ class Test_TC_LUNIT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterUnitLocalization * cluster = [[MTRBaseClusterUnitLocalization alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -31765,7 +31837,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -31789,7 +31861,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -31811,7 +31883,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31837,7 +31909,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31858,7 +31930,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31879,7 +31951,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -31903,7 +31975,7 @@ class Test_TC_LTIME_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTimeFormatLocalization * cluster = - [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterTimeFormatLocalization alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -32045,7 +32117,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -32068,7 +32142,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -32091,7 +32167,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -32119,7 +32197,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -32143,7 +32223,9 @@ class Test_TC_LOWPOWER_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -32323,7 +32405,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32348,7 +32430,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32373,7 +32455,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32393,7 +32475,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32413,7 +32495,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32433,7 +32515,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32459,7 +32541,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32481,7 +32563,7 @@ class Test_TC_KEYPADINPUT_1_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32659,7 +32741,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32684,7 +32766,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32709,7 +32791,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32734,7 +32816,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32760,7 +32842,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32782,7 +32864,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32804,7 +32886,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -32828,7 +32910,7 @@ class Test_TC_APPLAUNCHER_1_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33006,7 +33088,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33031,7 +33113,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33056,7 +33138,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33076,7 +33158,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33102,7 +33184,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33124,7 +33206,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33146,7 +33228,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33171,7 +33253,7 @@ class Test_TC_MEDIAINPUT_1_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -33325,7 +33407,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -33348,7 +33432,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -33371,7 +33457,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33395,7 +33483,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalAttributeMACAddressInAttributeList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33415,7 +33505,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33438,7 +33530,9 @@ class Test_TC_WAKEONLAN_1_5 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33681,7 +33775,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -33704,7 +33800,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -33727,7 +33825,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestGivenChannelsclEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -33745,7 +33845,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestGivenChannelsliEnsureFeaturemapHasTheCorrectBitSet_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -33763,7 +33865,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33787,7 +33891,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalAttributeChannelListAttributeList_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33807,7 +33913,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadingOptionalAttributeLineupInAttributeList_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33827,7 +33935,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalAttributeCurrentChannelAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33847,7 +33957,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalCommandChangeChannelInAcceptedCommandList_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33867,7 +33979,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalCommandChangeChannelByNumberInAcceptedCommandList_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33887,7 +34001,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheOptionalCommandSkipChannelInAcceptedCommandList_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33907,7 +34023,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -33930,7 +34048,9 @@ class Test_TC_CHANNEL_1_6 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -34250,7 +34370,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34275,7 +34395,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34300,7 +34420,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34320,7 +34440,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34340,7 +34460,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34367,7 +34487,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34389,7 +34509,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34411,7 +34531,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34433,7 +34553,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34455,7 +34575,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34477,7 +34597,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34499,7 +34619,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34523,7 +34643,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34545,7 +34665,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34567,7 +34687,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34589,7 +34709,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34611,7 +34731,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34633,7 +34753,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34655,7 +34775,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34677,7 +34797,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34699,7 +34819,7 @@ class Test_TC_MEDIAPLAYBACK_1_7 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34840,7 +34960,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34865,7 +34985,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34888,7 +35008,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34916,7 +35036,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -34938,7 +35058,7 @@ class Test_TC_AUDIOOUTPUT_1_8 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35093,7 +35213,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35118,7 +35238,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35143,7 +35263,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35170,7 +35290,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35192,7 +35312,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35214,7 +35334,7 @@ class Test_TC_TGTNAV_1_9 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35458,7 +35578,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35483,7 +35603,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35508,7 +35628,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35539,7 +35659,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35561,7 +35681,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35583,7 +35703,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35605,7 +35725,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35630,7 +35750,7 @@ class Test_TC_APBSC_1_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35842,7 +35962,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35867,7 +35987,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35892,7 +36012,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35912,7 +36032,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35932,7 +36052,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35958,7 +36078,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -35980,7 +36100,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36002,7 +36122,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36024,7 +36144,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36046,7 +36166,7 @@ class Test_TC_CONTENTLAUNCHER_1_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36187,7 +36307,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36212,7 +36332,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36237,7 +36357,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36263,7 +36383,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36287,7 +36407,7 @@ class Test_TC_ALOGIN_1_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36403,7 +36523,9 @@ class Test_TC_LOWPOWER_2_1 : public TestCommandBridge { CHIP_ERROR TestThSendsSleepCommandToDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster sleepWithCompletionHandler:^(NSError * _Nullable err) { @@ -36527,7 +36649,7 @@ class Test_TC_KEYPADINPUT_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36554,7 +36676,7 @@ class Test_TC_KEYPADINPUT_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36764,7 +36886,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36791,7 +36913,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36818,7 +36940,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36845,7 +36967,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36872,7 +36994,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36899,7 +37021,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36926,7 +37048,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36953,7 +37075,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -36980,7 +37102,7 @@ class Test_TC_KEYPADINPUT_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37105,7 +37227,7 @@ class Test_TC_APPLAUNCHER_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37225,7 +37347,7 @@ class Test_TC_APPLAUNCHER_3_6 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37347,7 +37469,7 @@ class Test_TC_MEDIAINPUT_3_10 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37490,7 +37612,7 @@ class Test_TC_MEDIAINPUT_3_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37512,7 +37634,7 @@ class Test_TC_MEDIAINPUT_3_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37534,7 +37656,7 @@ class Test_TC_MEDIAINPUT_3_11 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37679,7 +37801,7 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37701,7 +37823,7 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37720,7 +37842,7 @@ class Test_TC_MEDIAINPUT_3_12 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37858,7 +37980,7 @@ class Test_TC_MEDIAINPUT_3_13 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -37877,7 +37999,7 @@ class Test_TC_MEDIAINPUT_3_13 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38008,7 +38130,9 @@ class Test_TC_CHANNEL_5_1 : public TestCommandBridge { TestThReadsTheChannelListAttributeFromTheDutToShowListOfInputsAvailableAndVerifyThatTheResponseContainsAListOfTheKnownTvChannelsEachListElementShouldConsistOfTheFollowingMajorNumberUnsigned16BitIntegerMandatoryMinorNumberUnsigned16BitIntegerMandatoryNameStringOptionalCallSignStringOptionalAffiliateCallSignStringOptional_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeChannelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -38161,7 +38285,9 @@ class Test_TC_CHANNEL_5_2 : public TestCommandBridge { CHIP_ERROR TestReadsTheChannelListAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeChannelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -38179,7 +38305,9 @@ class Test_TC_CHANNEL_5_2 : public TestCommandBridge { CHIP_ERROR TestThSendsAChangeChannelByNumberCommand_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRChannelClusterChangeChannelByNumberParams alloc] init]; @@ -38212,7 +38340,9 @@ class Test_TC_CHANNEL_5_2 : public TestCommandBridge { CHIP_ERROR TestReadsTheCurrentChannelAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentChannelWithCompletionHandler:^( @@ -38392,7 +38522,9 @@ class Test_TC_CHANNEL_5_3 : public TestCommandBridge { TestThReadsTheLineupAttributeFromTheDutToShowListOfInputsAvailableAndVerifyThatTheResponseContainsALineupInfoObject_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -38412,7 +38544,9 @@ class Test_TC_CHANNEL_5_3 : public TestCommandBridge { CHIP_ERROR TestReadsTheChannelListAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeChannelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -38430,7 +38564,9 @@ class Test_TC_CHANNEL_5_3 : public TestCommandBridge { CHIP_ERROR TestReadsTheCurrentChannelAttributeFromTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentChannelWithCompletionHandler:^( @@ -38453,7 +38589,9 @@ class Test_TC_CHANNEL_5_3 : public TestCommandBridge { CHIP_ERROR TestSendsASkipChannelCommandToTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRChannelClusterSkipChannelParams alloc] init]; @@ -38483,7 +38621,9 @@ class Test_TC_CHANNEL_5_3 : public TestCommandBridge { CHIP_ERROR TestReadsTheCurrentChannelAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentChannelWithCompletionHandler:^( @@ -38717,7 +38857,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38742,7 +38882,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38766,7 +38906,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38800,7 +38940,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38824,7 +38964,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38858,7 +38998,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38882,7 +39022,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -38916,7 +39056,7 @@ class Test_TC_MEDIAPLAYBACK_6_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39212,7 +39352,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39237,7 +39377,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39261,7 +39401,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39295,7 +39435,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39319,7 +39459,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39353,7 +39493,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39388,7 +39528,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39423,7 +39563,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39461,7 +39601,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39486,7 +39626,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39524,7 +39664,7 @@ class Test_TC_MEDIAPLAYBACK_6_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39748,7 +39888,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39773,7 +39913,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39810,7 +39950,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -39871,7 +40011,7 @@ class Test_TC_MEDIAPLAYBACK_6_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40237,7 +40377,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40262,7 +40402,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40286,7 +40426,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40310,7 +40450,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40344,7 +40484,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40368,7 +40508,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40392,7 +40532,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40427,7 +40567,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40451,7 +40591,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40486,7 +40626,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40520,7 +40660,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40565,7 +40705,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40600,7 +40740,7 @@ class Test_TC_MEDIAPLAYBACK_6_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40761,7 +40901,7 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40781,7 +40921,7 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40803,7 +40943,7 @@ class Test_TC_AUDIOOUTPUT_7_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40949,7 +41089,7 @@ class Test_TC_AUDIOOUTPUT_7_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -40973,7 +41113,7 @@ class Test_TC_AUDIOOUTPUT_7_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41135,7 +41275,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41159,7 +41299,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41183,7 +41323,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41207,7 +41347,7 @@ class Test_TC_TGTNAV_8_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41403,7 +41543,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41424,7 +41564,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41444,7 +41584,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41465,7 +41605,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41488,7 +41628,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41509,7 +41649,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41531,7 +41671,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41552,7 +41692,7 @@ class Test_TC_APBSC_9_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41678,7 +41818,7 @@ class Test_TC_CONTENTLAUNCHER_10_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41698,7 +41838,7 @@ class Test_TC_CONTENTLAUNCHER_10_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41877,7 +42017,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41902,7 +42042,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41927,7 +42067,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41952,7 +42092,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -41982,7 +42122,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42004,7 +42144,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42026,7 +42166,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42048,7 +42188,7 @@ class Test_TC_MOD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42281,7 +42421,7 @@ class OTA_SuccessfulTransfer : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42354,7 +42494,7 @@ class OTA_SuccessfulTransfer : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOtaSoftwareUpdateRequestor * cluster = - [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOtaSoftwareUpdateRequestor alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams alloc] init]; @@ -42517,7 +42657,7 @@ class Test_TC_OCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42542,7 +42682,7 @@ class Test_TC_OCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42567,7 +42707,7 @@ class Test_TC_OCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42596,7 +42736,7 @@ class Test_TC_OCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42621,7 +42761,7 @@ class Test_TC_OCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42866,7 +43006,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42889,7 +43029,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42912,7 +43052,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42936,7 +43076,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42960,7 +43100,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -42984,7 +43124,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43008,7 +43148,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43034,7 +43174,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43060,7 +43200,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43086,7 +43226,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43112,7 +43252,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43138,7 +43278,7 @@ class Test_TC_OCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOccupancySensing * cluster = [[MTRBaseClusterOccupancySensing alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -43320,7 +43460,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43343,7 +43483,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43366,7 +43506,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenOosf00ltEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43384,7 +43524,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -43409,7 +43549,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheFeatureDependentOOSF00AttributeInAttributeList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -43432,7 +43572,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -43454,7 +43594,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheFeatureDependentOOSF00CommandsInAcceptedCommandList_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -43476,7 +43616,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -43638,7 +43778,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { CHIP_ERROR TestReadTheMandatoryAttributeOnOff_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43656,7 +43796,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { CHIP_ERROR TestReadLtAttributeGlobalSceneControl_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGlobalSceneControlWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43674,7 +43814,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { CHIP_ERROR TestReadLtAttributeOnTime_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43695,7 +43835,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { CHIP_ERROR TestReadLtAttributeOffWaitTime_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOffWaitTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -43716,7 +43856,7 @@ class Test_TC_OO_2_1 : public TestCommandBridge { CHIP_ERROR TestReadLtAttributeStartUpOnOff_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeStartUpOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44056,7 +44196,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendOffCommand_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -44073,7 +44213,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44095,7 +44235,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendOnCommand_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -44112,7 +44252,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44134,7 +44274,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendOnCommand_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -44151,7 +44291,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44173,7 +44313,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendOffCommand_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -44190,7 +44330,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44212,7 +44352,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendOffCommand_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -44229,7 +44369,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44251,7 +44391,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendToggleCommand_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster toggleWithCompletionHandler:^(NSError * _Nullable err) { @@ -44275,7 +44415,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterToggleCommand_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44297,7 +44437,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestSendToggleCommand_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster toggleWithCompletionHandler:^(NSError * _Nullable err) { @@ -44321,7 +44461,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterToggleCommand_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44352,7 +44492,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44383,7 +44523,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44405,7 +44545,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestResetOffCommand_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -44422,7 +44562,7 @@ class Test_TC_OO_2_2 : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44834,7 +44974,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThSendsOnCommandToDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -44851,7 +44991,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesAValueOf0ToStartUpOnOffAttributeOfDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id startUpOnOffArgument; @@ -44894,7 +45034,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsTheOnOffAttributeFromTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44916,7 +45056,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesAValueOf1ToStartUpOnOffAttributeOfDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id startUpOnOffArgument; @@ -44959,7 +45099,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsTheOnOffAttributeFromTheDut_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -44981,7 +45121,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesAValueOf2ToStartUpOnOffAttributeOfDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id startUpOnOffArgument; @@ -45024,7 +45164,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsTheOnOffAttributeFromTheDut_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -45069,7 +45209,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsTheOnOffAttributeFromTheDut_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -45091,7 +45231,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesNullToStartUpOnOffAttributeOfDut_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id startUpOnOffArgument; @@ -45134,7 +45274,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsTheOnOffAttributeFromTheDut_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -45156,7 +45296,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThSendsOffCommandToDut_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -45196,7 +45336,7 @@ class Test_TC_OO_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsTheOnOffAttributeFromTheDut_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -45433,7 +45573,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45458,7 +45598,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45483,7 +45623,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45503,7 +45643,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45523,7 +45663,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45543,7 +45683,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45563,7 +45703,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45592,7 +45732,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45614,7 +45754,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45638,7 +45778,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45661,7 +45801,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45684,7 +45824,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -45709,7 +45849,7 @@ class Test_TC_PS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46165,7 +46305,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46188,7 +46328,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46211,7 +46351,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46231,7 +46371,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46259,7 +46399,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46287,7 +46427,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46310,7 +46450,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46336,7 +46476,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46359,7 +46499,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46382,7 +46522,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46402,7 +46542,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46423,7 +46563,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46449,7 +46589,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46475,7 +46615,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46501,7 +46641,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46524,7 +46664,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46544,7 +46684,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46567,7 +46707,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46587,7 +46727,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46608,7 +46748,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46630,7 +46770,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46653,7 +46793,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46674,7 +46814,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46695,7 +46835,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46718,7 +46858,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46741,7 +46881,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46764,7 +46904,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46787,7 +46927,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46813,7 +46953,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46834,7 +46974,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -46860,7 +47000,7 @@ class Test_TC_PS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSource * cluster = [[MTRBaseClusterPowerSource alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47080,7 +47220,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47105,7 +47245,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47130,7 +47270,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47150,7 +47290,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47179,7 +47319,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47201,7 +47341,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47223,7 +47363,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47245,7 +47385,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47267,7 +47407,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47289,7 +47429,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47311,7 +47451,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47336,7 +47476,7 @@ class Test_TC_PRS_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47544,7 +47684,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47570,7 +47710,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47596,7 +47736,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47622,7 +47762,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47645,7 +47785,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47671,7 +47811,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47697,7 +47837,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47723,7 +47863,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47746,7 +47886,7 @@ class Test_TC_PRS_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47895,7 +48035,7 @@ class Test_TC_PRS_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -47934,7 +48074,7 @@ class Test_TC_PRS_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPressureMeasurement * cluster = [[MTRBaseClusterPressureMeasurement alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -48270,7 +48410,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -48294,7 +48434,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -48318,7 +48458,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48350,7 +48490,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48371,7 +48511,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48392,7 +48532,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48413,7 +48553,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48434,7 +48574,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48455,7 +48595,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48476,7 +48616,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48497,7 +48637,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48518,7 +48658,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48539,7 +48679,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48560,7 +48700,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48581,7 +48721,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48602,7 +48742,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48623,7 +48763,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48644,7 +48784,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48665,7 +48805,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48686,7 +48826,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -48710,7 +48850,7 @@ class Test_TC_PCC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -49071,7 +49211,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49096,7 +49236,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49121,7 +49261,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxFlowWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49146,7 +49286,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinConstPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49171,7 +49311,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxConstPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49196,7 +49336,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinCompPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49221,7 +49361,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxCompPressureWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49246,7 +49386,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinConstSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49271,7 +49411,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxConstSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49296,7 +49436,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinConstFlowWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49321,7 +49461,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxConstFlowWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49346,7 +49486,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinConstTempWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49371,7 +49511,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxConstTempWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49396,7 +49536,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePumpStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49418,7 +49558,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49440,7 +49580,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49462,7 +49602,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCapacityWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49487,7 +49627,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeSpeedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49512,7 +49652,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeRunningHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49537,7 +49677,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePowerWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49562,7 +49702,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeEnergyConsumedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49587,7 +49727,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49609,7 +49749,7 @@ class Test_TC_PCC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49804,7 +49944,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operationModeArgument; @@ -49825,7 +49965,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49848,7 +49988,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operationModeArgument; @@ -49869,7 +50009,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49892,7 +50032,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operationModeArgument; @@ -49915,7 +50055,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -49938,7 +50078,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operationModeArgument; @@ -49959,7 +50099,7 @@ class Test_TC_PCC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50220,7 +50360,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operationModeArgument; @@ -50241,7 +50381,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveOperationModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50264,7 +50404,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id controlModeArgument; @@ -50285,7 +50425,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50308,7 +50448,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id controlModeArgument; @@ -50329,7 +50469,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50352,7 +50492,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id controlModeArgument; @@ -50373,7 +50513,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50396,7 +50536,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id controlModeArgument; @@ -50417,7 +50557,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50440,7 +50580,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id controlModeArgument; @@ -50461,7 +50601,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50484,7 +50624,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id controlModeArgument; @@ -50505,7 +50645,7 @@ class Test_TC_PCC_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeEffectiveControlModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50744,7 +50884,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id lifetimeRunningHoursArgument; @@ -50765,7 +50905,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeRunningHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50789,7 +50929,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id lifetimeRunningHoursArgument; @@ -50810,7 +50950,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeRunningHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50834,7 +50974,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id lifetimeRunningHoursArgument; @@ -50855,7 +50995,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeRunningHoursWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50879,7 +51019,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id lifetimeEnergyConsumedArgument; @@ -50900,7 +51040,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeEnergyConsumedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50924,7 +51064,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id lifetimeEnergyConsumedArgument; @@ -50945,7 +51085,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeEnergyConsumedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -50969,7 +51109,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id lifetimeEnergyConsumedArgument; @@ -50990,7 +51130,7 @@ class Test_TC_PCC_2_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPumpConfigurationAndControl * cluster = - [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterPumpConfigurationAndControl alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLifetimeEnergyConsumedWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51133,7 +51273,7 @@ class Test_TC_PSCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51157,7 +51297,7 @@ class Test_TC_PSCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51181,7 +51321,7 @@ class Test_TC_PSCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51207,7 +51347,7 @@ class Test_TC_PSCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51231,7 +51371,7 @@ class Test_TC_PSCFG_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51350,7 +51490,7 @@ class Test_TC_PSCFG_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterPowerSourceConfiguration * cluster = - [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterPowerSourceConfiguration alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeSourcesWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51499,7 +51639,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51523,7 +51663,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51547,7 +51687,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51575,7 +51715,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51596,7 +51736,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51620,7 +51760,7 @@ class Test_TC_RH_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -51772,7 +51912,7 @@ class Test_TC_RH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51797,7 +51937,7 @@ class Test_TC_RH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51822,7 +51962,7 @@ class Test_TC_RH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -51847,7 +51987,7 @@ class Test_TC_RH_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterRelativeHumidityMeasurement * cluster = - [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterRelativeHumidityMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52062,7 +52202,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52085,7 +52225,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestReadFeatureMapAttributeAndCheckValuesOfFlagsInThisFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52108,7 +52248,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenSwtchsf00lsEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52126,7 +52266,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenSwtchsf01msEnsureFeaturemapHasTheCorrectBitSet_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52144,7 +52284,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenSwtchsf02msrEnsureFeaturemapHasTheCorrectBitSet_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52162,7 +52302,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenSwtchsf03mslEnsureFeaturemapHasTheCorrectBitSet_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52180,7 +52320,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenSwtchsf04msmEnsureFeaturemapHasTheCorrectBitSet_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52198,7 +52338,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52225,7 +52365,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52251,7 +52391,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52269,7 +52409,7 @@ class Test_TC_SWTCH_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterSwitch * cluster = [[MTRBaseClusterSwitch alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52423,7 +52563,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52447,7 +52587,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52471,7 +52611,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52499,7 +52639,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52520,7 +52660,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52544,7 +52684,7 @@ class Test_TC_TMP_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -52696,7 +52836,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMinMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52721,7 +52861,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMaxMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52746,7 +52886,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMeasuredValueWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -52771,7 +52911,7 @@ class Test_TC_TMP_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTemperatureMeasurement * cluster = - [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterTemperatureMeasurement alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeToleranceWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -53105,7 +53245,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53130,7 +53270,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53155,7 +53295,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53175,7 +53315,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53195,7 +53335,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53215,7 +53355,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53235,7 +53375,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53255,7 +53395,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53275,7 +53415,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53304,7 +53444,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53326,7 +53466,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53348,7 +53488,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53370,7 +53510,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53392,7 +53532,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53414,7 +53554,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53438,7 +53578,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53462,7 +53602,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53486,7 +53626,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53510,7 +53650,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53532,7 +53672,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53557,7 +53697,7 @@ class Test_TC_TSTAT_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostat * cluster = [[MTRBaseClusterThermostat alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -53696,7 +53836,7 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -53720,7 +53860,7 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -53744,7 +53884,7 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -53772,7 +53912,7 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -53796,7 +53936,7 @@ class Test_TC_TSUIC_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -53937,7 +54077,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTemperatureDisplayModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -53959,7 +54099,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -53981,7 +54121,7 @@ class Test_TC_TSUIC_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -54490,7 +54630,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id temperatureDisplayModeArgument; @@ -54521,7 +54661,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTemperatureDisplayModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54539,7 +54679,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id temperatureDisplayModeArgument; @@ -54570,7 +54710,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTemperatureDisplayModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54593,7 +54733,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id temperatureDisplayModeArgument; @@ -54620,7 +54760,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeTemperatureDisplayModeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54643,7 +54783,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54673,7 +54813,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54696,7 +54836,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54726,7 +54866,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54749,7 +54889,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54779,7 +54919,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54802,7 +54942,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54832,7 +54972,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54855,7 +54995,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54885,7 +55025,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54908,7 +55048,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54938,7 +55078,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -54961,7 +55101,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id keypadLockoutArgument; @@ -54986,7 +55126,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeKeypadLockoutWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55009,7 +55149,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id scheduleProgrammingVisibilityArgument; @@ -55041,7 +55181,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -55065,7 +55205,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id scheduleProgrammingVisibilityArgument; @@ -55097,7 +55237,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -55121,7 +55261,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id scheduleProgrammingVisibilityArgument; @@ -55148,7 +55288,7 @@ class Test_TC_TSUIC_2_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThermostatUserInterfaceConfiguration * cluster = - [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + [[MTRBaseClusterThermostatUserInterfaceConfiguration alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -55862,7 +56002,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55886,7 +56026,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55910,7 +56050,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55929,7 +56069,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55948,7 +56088,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55967,7 +56107,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -55986,7 +56126,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56028,7 +56168,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56049,7 +56189,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56070,7 +56210,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56091,7 +56231,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56112,7 +56252,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56133,7 +56273,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56154,7 +56294,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56175,7 +56315,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56196,7 +56336,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56217,7 +56357,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56238,7 +56378,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56259,7 +56399,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56280,7 +56420,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56301,7 +56441,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56322,7 +56462,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56343,7 +56483,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56364,7 +56504,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56385,7 +56525,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56406,7 +56546,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56427,7 +56567,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56448,7 +56588,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56469,7 +56609,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56490,7 +56630,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56511,7 +56651,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56532,7 +56672,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56553,7 +56693,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56574,7 +56714,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56595,7 +56735,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56616,7 +56756,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56637,7 +56777,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56658,7 +56798,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56679,7 +56819,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56700,7 +56840,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56721,7 +56861,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56742,7 +56882,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56763,7 +56903,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56784,7 +56924,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56805,7 +56945,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56826,7 +56966,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56847,7 +56987,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56868,7 +57008,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56889,7 +57029,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56910,7 +57050,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56931,7 +57071,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56952,7 +57092,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56973,7 +57113,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -56994,7 +57134,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57015,7 +57155,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = - [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57157,7 +57297,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeClusterRevision_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -57180,7 +57322,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeFeatureMap_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -57203,7 +57347,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAttributeList_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57228,7 +57374,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeAcceptedCommandList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57251,7 +57399,9 @@ class Test_TC_ULABEL_1_1 : public TestCommandBridge { CHIP_ERROR TestReadTheGlobalAttributeGeneratedCommandList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57369,7 +57519,9 @@ class Test_TC_ULABEL_2_1 : public TestCommandBridge { CHIP_ERROR TestThReadsLabelListAttributeOfTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57493,7 +57645,9 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesLabelListAttributeFromTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -57532,7 +57686,9 @@ class Test_TC_ULABEL_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsLabelListAttributeFromTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57672,7 +57828,9 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesLabelListAttributeOfTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -57702,7 +57860,9 @@ class Test_TC_ULABEL_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesLabelListAttributeOfTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -57860,7 +58020,9 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesLabelListAttributeOfTheDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -57891,7 +58053,9 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsLabelListAttributeOfTheDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -57919,7 +58083,9 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesLabelListAttributeOfTheDut_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -57946,7 +58112,9 @@ class Test_TC_ULABEL_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsLabelListAttributeOfTheDut_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58170,7 +58338,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58194,7 +58362,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58218,7 +58386,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58237,7 +58405,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58256,7 +58424,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58286,7 +58454,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58311,7 +58479,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58333,7 +58501,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58354,7 +58522,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58378,7 +58546,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58399,7 +58567,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -58650,7 +58818,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeBssidWithCompletionHandler:^(NSData * _Nullable value, NSError * _Nullable err) { @@ -58673,7 +58841,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeSecurityTypeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58696,7 +58864,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWiFiVersionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58721,7 +58889,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeChannelNumberWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58746,7 +58914,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeRssiWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58771,7 +58939,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeBeaconLostCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58796,7 +58964,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeBeaconRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58821,7 +58989,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketMulticastRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58846,7 +59014,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketMulticastTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58871,7 +59039,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketUnicastRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58896,7 +59064,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketUnicastTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58921,7 +59089,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentMaxRateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -58944,7 +59112,7 @@ class Test_TC_DGWIFI_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOverrunCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59128,7 +59296,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster resetCountsWithCompletionHandler:^(NSError * _Nullable err) { @@ -59146,7 +59314,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeBeaconLostCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59171,7 +59339,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeBeaconRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59196,7 +59364,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketMulticastRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59221,7 +59389,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketMulticastTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59246,7 +59414,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketUnicastRxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59271,7 +59439,7 @@ class Test_TC_DGWIFI_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = - [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributePacketUnicastTxCountWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -59587,7 +59755,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59615,7 +59783,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59640,7 +59808,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59660,7 +59828,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59680,7 +59848,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59700,7 +59868,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59720,7 +59888,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59740,7 +59908,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59771,7 +59939,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59793,7 +59961,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59816,7 +59984,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59839,7 +60007,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59862,7 +60030,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59885,7 +60053,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59909,7 +60077,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59931,7 +60099,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59953,7 +60121,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -59975,7 +60143,7 @@ class Test_TC_WNCV_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60347,7 +60515,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60370,7 +60538,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60393,7 +60561,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60416,7 +60584,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60439,7 +60607,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60462,7 +60630,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60484,7 +60652,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60513,7 +60681,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60542,7 +60710,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60571,7 +60739,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60600,7 +60768,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60623,7 +60791,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60646,7 +60814,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60669,7 +60837,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60692,7 +60860,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60715,7 +60883,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60738,7 +60906,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60761,7 +60929,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60787,7 +60955,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60813,7 +60981,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60836,7 +61004,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60859,7 +61027,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -60888,7 +61056,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61295,7 +61463,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61317,7 +61485,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61339,7 +61507,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61361,7 +61529,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61383,7 +61551,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61406,7 +61574,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61431,7 +61599,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61451,7 +61619,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61473,7 +61641,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61495,7 +61663,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61517,7 +61685,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61536,7 +61704,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61558,7 +61726,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61579,7 +61747,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61604,7 +61772,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61626,7 +61794,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61645,7 +61813,7 @@ class Test_TC_WNCV_2_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -61866,7 +62034,7 @@ class Test_TC_WNCV_2_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62279,7 +62447,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62305,7 +62473,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62334,7 +62502,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62363,7 +62531,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62392,7 +62560,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62423,7 +62591,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62444,7 +62612,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62477,7 +62645,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62503,7 +62671,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62529,7 +62697,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62562,7 +62730,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62582,7 +62750,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62602,7 +62770,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62622,7 +62790,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62642,7 +62810,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62669,7 +62837,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62698,7 +62866,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62727,7 +62895,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62756,7 +62924,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62785,7 +62953,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62811,7 +62979,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62842,7 +63010,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -62871,7 +63039,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63290,7 +63458,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63316,7 +63484,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63345,7 +63513,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63374,7 +63542,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63403,7 +63571,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63434,7 +63602,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63455,7 +63623,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63488,7 +63656,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63514,7 +63682,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63540,7 +63708,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63573,7 +63741,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63593,7 +63761,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63613,7 +63781,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63633,7 +63801,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63653,7 +63821,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63680,7 +63848,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63709,7 +63877,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63738,7 +63906,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63767,7 +63935,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63796,7 +63964,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63822,7 +63990,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63853,7 +64021,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -63882,7 +64050,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64164,7 +64332,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64190,7 +64358,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64216,7 +64384,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64246,7 +64414,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64267,7 +64435,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64300,7 +64468,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64326,7 +64494,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64357,7 +64525,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64382,7 +64550,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64414,7 +64582,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64447,7 +64615,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64479,7 +64647,7 @@ class Test_TC_WNCV_3_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64697,7 +64865,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64723,7 +64891,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64749,7 +64917,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64773,7 +64941,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64799,7 +64967,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64825,7 +64993,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -64851,7 +65019,7 @@ class Test_TC_WNCV_3_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65063,7 +65231,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65089,7 +65257,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65115,7 +65283,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65139,7 +65307,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65165,7 +65333,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65191,7 +65359,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65217,7 +65385,7 @@ class Test_TC_WNCV_3_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65504,7 +65672,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65530,7 +65698,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65554,7 +65722,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65583,7 +65751,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65616,7 +65784,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65640,7 +65808,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65666,7 +65834,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65692,7 +65860,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65721,7 +65889,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65754,7 +65922,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65778,7 +65946,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -65804,7 +65972,7 @@ class Test_TC_WNCV_4_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66091,7 +66259,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66117,7 +66285,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66141,7 +66309,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66170,7 +66338,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66203,7 +66371,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66227,7 +66395,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66253,7 +66421,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66279,7 +66447,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66308,7 +66476,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66341,7 +66509,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66365,7 +66533,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66391,7 +66559,7 @@ class Test_TC_WNCV_4_2 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66560,7 +66728,7 @@ class Test_TC_WNCV_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66592,7 +66760,7 @@ class Test_TC_WNCV_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66628,7 +66796,7 @@ class Test_TC_WNCV_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66653,7 +66821,7 @@ class Test_TC_WNCV_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66678,7 +66846,7 @@ class Test_TC_WNCV_4_3 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66846,7 +67014,7 @@ class Test_TC_WNCV_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66878,7 +67046,7 @@ class Test_TC_WNCV_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66914,7 +67082,7 @@ class Test_TC_WNCV_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66939,7 +67107,7 @@ class Test_TC_WNCV_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -66964,7 +67132,7 @@ class Test_TC_WNCV_4_4 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67227,7 +67395,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67246,7 +67414,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67275,7 +67443,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67301,7 +67469,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67330,7 +67498,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67357,7 +67525,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67385,7 +67553,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67435,7 +67603,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67466,7 +67634,7 @@ class Test_TC_WNCV_4_5 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWindowCovering * cluster = [[MTRBaseClusterWindowCovering alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67602,7 +67770,7 @@ class TV_TargetNavigatorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67632,7 +67800,7 @@ class TV_TargetNavigatorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67656,7 +67824,7 @@ class TV_TargetNavigatorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTargetNavigator * cluster = [[MTRBaseClusterTargetNavigator alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67809,7 +67977,7 @@ class TV_AudioOutputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67842,7 +68010,7 @@ class TV_AudioOutputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67866,7 +68034,7 @@ class TV_AudioOutputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67888,7 +68056,7 @@ class TV_AudioOutputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -67911,7 +68079,7 @@ class TV_AudioOutputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAudioOutput * cluster = [[MTRBaseClusterAudioOutput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68063,7 +68231,7 @@ class TV_ApplicationLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68089,7 +68257,7 @@ class TV_ApplicationLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68114,7 +68282,7 @@ class TV_ApplicationLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68151,7 +68319,7 @@ class TV_ApplicationLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68187,7 +68355,7 @@ class TV_ApplicationLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationLauncher * cluster = [[MTRBaseClusterApplicationLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68314,7 +68482,7 @@ class TV_KeypadInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterKeypadInput * cluster = [[MTRBaseClusterKeypadInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68446,7 +68614,7 @@ class TV_AccountLoginCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68474,7 +68642,7 @@ class TV_AccountLoginCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68497,7 +68665,7 @@ class TV_AccountLoginCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccountLogin * cluster = [[MTRBaseClusterAccountLogin alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68606,7 +68774,9 @@ class TV_WakeOnLanCluster : public TestCommandBridge { CHIP_ERROR TestReadMacAddress_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterWakeOnLan * cluster = [[MTRBaseClusterWakeOnLan alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeMACAddressWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -68769,7 +68939,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68793,7 +68963,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68817,7 +68987,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68841,7 +69011,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68865,7 +69035,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68889,7 +69059,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68917,7 +69087,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -68941,7 +69111,7 @@ class TV_ApplicationBasicCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterApplicationBasic * cluster = [[MTRBaseClusterApplicationBasic alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69198,7 +69368,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69222,7 +69392,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69247,7 +69417,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69272,7 +69442,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69300,7 +69470,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69324,7 +69494,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69349,7 +69519,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69374,7 +69544,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69404,7 +69574,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69434,7 +69604,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69464,7 +69634,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69494,7 +69664,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69524,7 +69694,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69554,7 +69724,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69584,7 +69754,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69614,7 +69784,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69647,7 +69817,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69675,7 +69845,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69708,7 +69878,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69736,7 +69906,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69768,7 +69938,7 @@ class TV_MediaPlaybackCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaPlayback * cluster = [[MTRBaseClusterMediaPlayback alloc] initWithDevice:device - endpoint:3 + endpointID:@(3) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -69921,7 +70091,9 @@ class TV_ChannelCluster : public TestCommandBridge { CHIP_ERROR TestReadAttributeChannelList_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeChannelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -69972,7 +70144,9 @@ class TV_ChannelCluster : public TestCommandBridge { CHIP_ERROR TestReadAttributeChannelLineup_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -70002,7 +70176,9 @@ class TV_ChannelCluster : public TestCommandBridge { CHIP_ERROR TestReadAttributeCurrentChannel_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentChannelWithCompletionHandler:^( @@ -70031,7 +70207,9 @@ class TV_ChannelCluster : public TestCommandBridge { CHIP_ERROR TestChangeChannelCommand_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRChannelClusterChangeChannelParams alloc] init]; @@ -70062,7 +70240,9 @@ class TV_ChannelCluster : public TestCommandBridge { CHIP_ERROR TestChangeChannelByNumberCommand_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRChannelClusterChangeChannelByNumberParams alloc] init]; @@ -70083,7 +70263,9 @@ class TV_ChannelCluster : public TestCommandBridge { CHIP_ERROR TestSkipChannelCommand_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterChannel * cluster = [[MTRBaseClusterChannel alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRChannelClusterSkipChannelParams alloc] init]; @@ -70194,7 +70376,9 @@ class TV_LowPowerCluster : public TestCommandBridge { CHIP_ERROR TestSleepInputStatusCommand_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterLowPower * cluster = [[MTRBaseClusterLowPower alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster sleepWithCompletionHandler:^(NSError * _Nullable err) { @@ -70324,7 +70508,7 @@ class TV_ContentLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70350,7 +70534,7 @@ class TV_ContentLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70375,7 +70559,7 @@ class TV_ContentLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70427,7 +70611,7 @@ class TV_ContentLauncherCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterContentLauncher * cluster = [[MTRBaseClusterContentLauncher alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70760,7 +70944,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70794,7 +70978,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70818,7 +71002,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70840,7 +71024,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70859,7 +71043,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70878,7 +71062,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -70901,7 +71085,7 @@ class TV_MediaInputCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterMediaInput * cluster = [[MTRBaseClusterMediaInput alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -71060,7 +71244,7 @@ class TestCASERecovery : public TestCommandBridge { CHIP_ERROR TestReadAnAttribute_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeDataModelRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -71097,7 +71281,7 @@ class TestCASERecovery : public TestCommandBridge { CHIP_ERROR TestReadAnAttributeAgain_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeDataModelRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -71124,7 +71308,7 @@ class TestCASERecovery : public TestCommandBridge { CHIP_ERROR TestReadAnAttributeAThirdTime_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeDataModelRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -74760,7 +74944,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74779,7 +74963,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74799,7 +74983,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74824,7 +75008,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74853,7 +75037,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74880,7 +75064,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74904,7 +75088,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74926,7 +75110,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74950,7 +75134,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74972,7 +75156,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -74996,7 +75180,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75020,7 +75204,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75042,7 +75226,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75066,7 +75250,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75088,7 +75272,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75112,7 +75296,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75136,7 +75320,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75158,7 +75342,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75182,7 +75366,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75204,7 +75388,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75228,7 +75412,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75252,7 +75436,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75274,7 +75458,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75298,7 +75482,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75320,7 +75504,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75344,7 +75528,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75368,7 +75552,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75390,7 +75574,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75414,7 +75598,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75436,7 +75620,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75460,7 +75644,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75484,7 +75668,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75506,7 +75690,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75530,7 +75714,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75552,7 +75736,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75576,7 +75760,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75600,7 +75784,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75622,7 +75806,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75646,7 +75830,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75668,7 +75852,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75692,7 +75876,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75716,7 +75900,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75738,7 +75922,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75762,7 +75946,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75784,7 +75968,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75808,7 +75992,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75832,7 +76016,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75854,7 +76038,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75878,7 +76062,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75900,7 +76084,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75924,7 +76108,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75948,7 +76132,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75970,7 +76154,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -75994,7 +76178,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76016,7 +76200,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76040,7 +76224,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76062,7 +76246,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76086,7 +76270,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76110,7 +76294,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76132,7 +76316,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76156,7 +76340,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76178,7 +76362,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76202,7 +76386,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76224,7 +76408,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76248,7 +76432,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76272,7 +76456,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76294,7 +76478,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76318,7 +76502,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76340,7 +76524,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76364,7 +76548,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76386,7 +76570,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76410,7 +76594,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76434,7 +76618,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76456,7 +76640,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76480,7 +76664,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76502,7 +76686,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76526,7 +76710,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76548,7 +76732,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76572,7 +76756,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76596,7 +76780,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76618,7 +76802,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76642,7 +76826,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76664,7 +76848,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76688,7 +76872,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76710,7 +76894,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76734,7 +76918,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76756,7 +76940,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76780,7 +76964,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76804,7 +76988,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76826,7 +77010,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76850,7 +77034,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76872,7 +77056,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76896,7 +77080,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76918,7 +77102,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76942,7 +77126,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76964,7 +77148,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -76988,7 +77172,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77012,7 +77196,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77034,7 +77218,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77058,7 +77242,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77080,7 +77264,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77104,7 +77288,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77128,7 +77312,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77150,7 +77334,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77174,7 +77358,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77196,7 +77380,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77220,7 +77404,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77244,7 +77428,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77266,7 +77450,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77291,7 +77475,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77313,7 +77497,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77338,7 +77522,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77360,7 +77544,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77385,7 +77569,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77407,7 +77591,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77432,7 +77616,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77457,7 +77641,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77482,7 +77666,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77504,7 +77688,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77528,7 +77712,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77554,7 +77738,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77584,7 +77768,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77606,7 +77790,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77630,7 +77814,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77652,7 +77836,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77676,7 +77860,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77701,7 +77885,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77725,7 +77909,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77747,7 +77931,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77771,7 +77955,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77796,7 +77980,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77823,7 +78007,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77845,7 +78029,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77905,7 +78089,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -77970,7 +78154,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78039,7 +78223,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78063,7 +78247,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78085,7 +78269,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78109,7 +78293,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78131,7 +78315,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78155,7 +78339,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78179,7 +78363,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78201,7 +78385,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78225,7 +78409,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78247,7 +78431,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78271,7 +78455,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78300,7 +78484,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78327,7 +78511,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:200 + endpointID:@(200) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78347,7 +78531,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78367,7 +78551,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78391,7 +78575,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78413,7 +78597,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78437,7 +78621,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78459,7 +78643,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78493,7 +78677,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78527,7 +78711,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78564,7 +78748,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78601,7 +78785,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78649,7 +78833,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78697,7 +78881,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78791,7 +78975,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78885,7 +79069,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78932,7 +79116,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -78973,7 +79157,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79014,7 +79198,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79063,7 +79247,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79095,7 +79279,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79148,7 +79332,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79201,7 +79385,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79301,7 +79485,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79401,7 +79585,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79430,7 +79614,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79458,7 +79642,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79487,7 +79671,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79515,7 +79699,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79556,7 +79740,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79592,7 +79776,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79636,7 +79820,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79663,7 +79847,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79696,7 +79880,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79734,7 +79918,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79774,7 +79958,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79797,7 +79981,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79824,7 +80008,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79846,7 +80030,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79871,7 +80055,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79894,7 +80078,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79916,7 +80100,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79941,7 +80125,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79968,7 +80152,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -79996,7 +80180,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80018,7 +80202,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80042,7 +80226,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80065,7 +80249,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80087,7 +80271,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80112,7 +80296,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80138,7 +80322,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80163,7 +80347,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80185,7 +80369,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80209,7 +80393,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80231,7 +80415,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80256,7 +80440,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80282,7 +80466,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80307,7 +80491,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80329,7 +80513,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80353,7 +80537,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80375,7 +80559,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80400,7 +80584,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80426,7 +80610,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80451,7 +80635,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80473,7 +80657,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80497,7 +80681,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80519,7 +80703,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80544,7 +80728,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80566,7 +80750,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80591,7 +80775,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80617,7 +80801,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80642,7 +80826,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80665,7 +80849,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80687,7 +80871,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80711,7 +80895,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80736,7 +80920,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80759,7 +80943,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80781,7 +80965,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80806,7 +80990,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80829,7 +81013,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80851,7 +81035,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80876,7 +81060,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80898,7 +81082,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80923,7 +81107,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80949,7 +81133,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80974,7 +81158,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -80996,7 +81180,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81020,7 +81204,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81045,7 +81229,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81068,7 +81252,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81090,7 +81274,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81115,7 +81299,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81138,7 +81322,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81160,7 +81344,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81185,7 +81369,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81207,7 +81391,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81232,7 +81416,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81258,7 +81442,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81283,7 +81467,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81305,7 +81489,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81329,7 +81513,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81354,7 +81538,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81377,7 +81561,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81399,7 +81583,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81424,7 +81608,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81447,7 +81631,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81469,7 +81653,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81494,7 +81678,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81516,7 +81700,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81541,7 +81725,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81567,7 +81751,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81592,7 +81776,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81614,7 +81798,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81638,7 +81822,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81664,7 +81848,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81687,7 +81871,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81709,7 +81893,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81735,7 +81919,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81758,7 +81942,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81780,7 +81964,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81805,7 +81989,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81831,7 +82015,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81856,7 +82040,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81878,7 +82062,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81902,7 +82086,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81927,7 +82111,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81950,7 +82134,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81972,7 +82156,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -81997,7 +82181,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82020,7 +82204,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82042,7 +82226,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82067,7 +82251,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82093,7 +82277,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82118,7 +82302,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82140,7 +82324,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82164,7 +82348,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82189,7 +82373,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82212,7 +82396,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82234,7 +82418,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82259,7 +82443,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82282,7 +82466,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82304,7 +82488,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82329,7 +82513,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82355,7 +82539,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82380,7 +82564,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82402,7 +82586,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82426,7 +82610,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82451,7 +82635,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82474,7 +82658,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82496,7 +82680,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82521,7 +82705,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82544,7 +82728,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82566,7 +82750,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82591,7 +82775,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82617,7 +82801,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82642,7 +82826,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82664,7 +82848,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82688,7 +82872,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82713,7 +82897,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82736,7 +82920,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82758,7 +82942,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82783,7 +82967,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82806,7 +82990,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82828,7 +83012,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82853,7 +83037,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82875,7 +83059,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82900,7 +83084,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82922,7 +83106,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82947,7 +83131,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82969,7 +83153,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -82993,7 +83177,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83015,7 +83199,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83040,7 +83224,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83062,7 +83246,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83087,7 +83271,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83109,7 +83293,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83134,7 +83318,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83156,7 +83340,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83181,7 +83365,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83203,7 +83387,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83227,7 +83411,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83249,7 +83433,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83274,7 +83458,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83296,7 +83480,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83321,7 +83505,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83343,7 +83527,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83368,7 +83552,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83394,7 +83578,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83419,7 +83603,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83441,7 +83625,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83465,7 +83649,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83487,7 +83671,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83512,7 +83696,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83534,7 +83718,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83559,7 +83743,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83585,7 +83769,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83610,7 +83794,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83632,7 +83816,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83656,7 +83840,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83678,7 +83862,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83703,7 +83887,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83725,7 +83909,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83750,7 +83934,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83777,7 +83961,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83805,7 +83989,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83827,7 +84011,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83851,7 +84035,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83874,7 +84058,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83900,7 +84084,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83923,7 +84107,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83952,7 +84136,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83974,7 +84158,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -83998,7 +84182,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84020,7 +84204,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84046,7 +84230,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84069,7 +84253,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84094,7 +84278,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84117,7 +84301,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84145,7 +84329,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84174,7 +84358,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84196,7 +84380,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84220,7 +84404,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84242,7 +84426,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84267,7 +84451,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84290,7 +84474,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:200 + endpointID:@(200) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84310,7 +84494,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84330,7 +84514,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84357,7 +84541,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84383,7 +84567,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84412,7 +84596,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84445,7 +84629,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84474,7 +84658,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84502,7 +84686,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84526,7 +84710,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84553,7 +84737,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84581,7 +84765,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84609,7 +84793,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84636,7 +84820,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84660,7 +84844,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84684,7 +84868,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84708,7 +84892,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84732,7 +84916,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84756,7 +84940,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84780,7 +84964,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84804,7 +84988,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84828,7 +85012,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84855,7 +85039,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84883,7 +85067,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84911,7 +85095,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84938,7 +85122,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84962,7 +85146,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -84986,7 +85170,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85010,7 +85194,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85034,7 +85218,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85058,7 +85242,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85083,7 +85267,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85107,7 +85291,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85131,7 +85315,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85157,7 +85341,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85186,7 +85370,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85215,7 +85399,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85241,7 +85425,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85265,7 +85449,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85288,7 +85472,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85312,7 +85496,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85335,7 +85519,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85359,7 +85543,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85383,7 +85567,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85407,7 +85591,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85431,7 +85615,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85458,7 +85642,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85486,7 +85670,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85514,7 +85698,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85541,7 +85725,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85565,7 +85749,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85589,7 +85773,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85613,7 +85797,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85637,7 +85821,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85661,7 +85845,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85685,7 +85869,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85709,7 +85893,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85735,7 +85919,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85763,7 +85947,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85791,7 +85975,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85819,7 +86003,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85847,7 +86031,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85873,7 +86057,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85897,7 +86081,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85923,7 +86107,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85947,7 +86131,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85973,7 +86157,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -85997,7 +86181,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86023,7 +86207,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86047,7 +86231,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86072,7 +86256,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86098,7 +86282,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86126,7 +86310,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86154,7 +86338,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86182,7 +86366,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86210,7 +86394,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86236,7 +86420,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86260,7 +86444,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86286,7 +86470,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86310,7 +86494,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86336,7 +86520,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86360,7 +86544,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86386,7 +86570,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86410,7 +86594,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86435,7 +86619,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86461,7 +86645,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86489,7 +86673,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86517,7 +86701,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86545,7 +86729,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86573,7 +86757,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86599,7 +86783,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86623,7 +86807,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86649,7 +86833,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86673,7 +86857,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86699,7 +86883,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86723,7 +86907,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86749,7 +86933,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86773,7 +86957,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86798,7 +86982,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86824,7 +87008,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86852,7 +87036,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86880,7 +87064,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86908,7 +87092,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86936,7 +87120,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86962,7 +87146,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -86986,7 +87170,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87012,7 +87196,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87036,7 +87220,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87062,7 +87246,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87086,7 +87270,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87112,7 +87296,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87136,7 +87320,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87161,7 +87345,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87187,7 +87371,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87214,7 +87398,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87234,7 +87418,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87254,7 +87438,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87296,7 +87480,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87329,7 +87513,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87360,7 +87544,7 @@ class TestCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87703,7 +87887,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87732,7 +87916,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87755,7 +87939,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87777,7 +87961,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87802,7 +87986,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87826,7 +88010,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87848,7 +88032,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87872,7 +88056,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87896,7 +88080,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87920,7 +88104,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87944,7 +88128,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87966,7 +88150,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -87987,7 +88171,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88008,7 +88192,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88029,7 +88213,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88051,7 +88235,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88073,7 +88257,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88093,7 +88277,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88113,7 +88297,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88133,7 +88317,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88153,7 +88337,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88175,7 +88359,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88196,7 +88380,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88218,7 +88402,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88239,7 +88423,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88261,7 +88445,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88282,7 +88466,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88304,7 +88488,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88324,7 +88508,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88346,7 +88530,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -88366,7 +88550,7 @@ class TestConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89452,7 +89636,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89484,7 +89668,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89513,7 +89697,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89541,7 +89725,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89568,7 +89752,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89590,7 +89774,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89611,7 +89795,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89633,7 +89817,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89658,7 +89842,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89685,7 +89869,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89707,7 +89891,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89728,7 +89912,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89750,7 +89934,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89775,7 +89959,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89802,7 +89986,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89824,7 +90008,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89845,7 +90029,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89867,7 +90051,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89892,7 +90076,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89919,7 +90103,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89941,7 +90125,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89962,7 +90146,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -89984,7 +90168,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90009,7 +90193,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90036,7 +90220,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90058,7 +90242,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90079,7 +90263,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90101,7 +90285,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90126,7 +90310,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90153,7 +90337,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90175,7 +90359,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90196,7 +90380,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90218,7 +90402,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90243,7 +90427,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90270,7 +90454,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90292,7 +90476,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90313,7 +90497,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90335,7 +90519,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90360,7 +90544,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90387,7 +90571,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90409,7 +90593,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90430,7 +90614,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90452,7 +90636,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90477,7 +90661,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90504,7 +90688,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90526,7 +90710,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90547,7 +90731,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90569,7 +90753,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90594,7 +90778,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90621,7 +90805,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90643,7 +90827,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90664,7 +90848,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90686,7 +90870,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90711,7 +90895,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90738,7 +90922,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90760,7 +90944,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90781,7 +90965,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90803,7 +90987,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90828,7 +91012,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90855,7 +91039,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90877,7 +91061,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90898,7 +91082,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90920,7 +91104,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90945,7 +91129,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90972,7 +91156,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -90994,7 +91178,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91015,7 +91199,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91037,7 +91221,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91062,7 +91246,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91089,7 +91273,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91111,7 +91295,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91132,7 +91316,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91154,7 +91338,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91179,7 +91363,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91206,7 +91390,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91228,7 +91412,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91249,7 +91433,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91271,7 +91455,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91296,7 +91480,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91323,7 +91507,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91345,7 +91529,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91366,7 +91550,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91388,7 +91572,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91413,7 +91597,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91440,7 +91624,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91462,7 +91646,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91483,7 +91667,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91505,7 +91689,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91530,7 +91714,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91557,7 +91741,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91579,7 +91763,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91600,7 +91784,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91622,7 +91806,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91647,7 +91831,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91674,7 +91858,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91698,7 +91882,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91721,7 +91905,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91750,7 +91934,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91776,7 +91960,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91798,7 +91982,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91822,7 +92006,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91845,7 +92029,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91872,7 +92056,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91896,7 +92080,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91919,7 +92103,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91949,7 +92133,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91975,7 +92159,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -91997,7 +92181,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92022,7 +92206,7 @@ class TestSaveAs : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92147,7 +92331,7 @@ class TestConfigVariables : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92179,7 +92363,7 @@ class TestConfigVariables : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterTestCluster * cluster = [[MTRBaseClusterTestCluster alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92321,7 +92505,7 @@ class TestDescriptorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92347,7 +92531,7 @@ class TestDescriptorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92398,7 +92582,7 @@ class TestDescriptorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92423,7 +92607,7 @@ class TestDescriptorCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDescriptor * cluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -92651,7 +92835,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadLocation_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLocationWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -92673,7 +92857,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestWriteLocation_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id locationArgument; @@ -92693,7 +92877,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadBackLocation_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLocationWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -92715,7 +92899,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestRestoreInitialLocationValue_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id locationArgument; @@ -92735,7 +92919,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadAttributeListValue_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -92782,7 +92966,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadNodeLabel_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -92804,7 +92988,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestWriteNodeLabel_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id nodeLabelArgument; @@ -92824,7 +93008,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadBackNodeLabel_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -92846,7 +93030,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadLocalConfigDisabled_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLocalConfigDisabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -92868,7 +93052,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestWriteLocalConfigDisabled_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id localConfigDisabledArgument; @@ -92888,7 +93072,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadBackLocalConfigDisabled_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLocalConfigDisabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -92923,7 +93107,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadBackNodeLabelAfterReboot_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -92945,7 +93129,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestRestoreInitialNodeLabelValue_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id nodeLabelArgument; @@ -92965,7 +93149,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestReadBackLocalConfigDisabledAfterReboot_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLocalConfigDisabledWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -92987,7 +93171,7 @@ class TestBasicInformation : public TestCommandBridge { CHIP_ERROR TestRestoreInitialLocalConfigDisabledValue_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id localConfigDisabledArgument; @@ -93152,7 +93336,7 @@ class TestFabricRemovalWhileSubscribed : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCommissionedFabricsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -93177,7 +93361,7 @@ class TestFabricRemovalWhileSubscribed : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -93201,7 +93385,7 @@ class TestFabricRemovalWhileSubscribed : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -93239,7 +93423,7 @@ class TestFabricRemovalWhileSubscribed : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); test_TestFabricRemovalWhileSubscribed_Fabrics_Reported = ^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -93259,7 +93443,7 @@ class TestFabricRemovalWhileSubscribed : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("beta"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); uint16_t minIntervalArgument = 2U; @@ -93291,7 +93475,7 @@ class TestFabricRemovalWhileSubscribed : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterRemoveFabricParams alloc] init]; @@ -93614,7 +93798,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93636,7 +93820,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93660,7 +93844,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93682,7 +93866,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93719,7 +93903,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93743,7 +93927,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93765,7 +93949,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93789,7 +93973,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93814,7 +93998,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93838,7 +94022,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -93859,7 +94043,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93888,7 +94072,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93912,7 +94096,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93949,7 +94133,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -93978,7 +94162,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94002,7 +94186,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("beta"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94031,7 +94215,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94055,7 +94239,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("beta"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94080,7 +94264,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94104,7 +94288,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94129,7 +94313,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94153,7 +94337,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94182,7 +94366,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94206,7 +94390,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94235,7 +94419,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94259,7 +94443,7 @@ class TestGeneralCommissioning : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -94370,7 +94554,9 @@ class TestIdentifyCluster : public TestCommandBridge { CHIP_ERROR TestSendIdentifyCommandAndExpectSuccessResponse_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterIdentify * cluster = [[MTRBaseClusterIdentify alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRIdentifyClusterIdentifyParams alloc] init]; @@ -94524,7 +94710,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeSupportedFabricsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -94545,7 +94731,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCommissionedFabricsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -94567,7 +94753,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -94591,7 +94777,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterRemoveFabricParams alloc] init]; @@ -94618,7 +94804,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -94649,7 +94835,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterUpdateFabricLabelParams alloc] init]; @@ -94681,7 +94867,7 @@ class TestOperationalCredentialsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -95014,7 +95200,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95038,7 +95224,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95063,7 +95249,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95105,7 +95291,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95129,7 +95315,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95154,7 +95340,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95178,7 +95364,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95201,7 +95387,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95228,7 +95414,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95251,7 +95437,7 @@ class TestModeSelectCluster : public TestCommandBridge { CHIP_ERROR TestToggleOnOff_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -95268,7 +95454,7 @@ class TestModeSelectCluster : public TestCommandBridge { CHIP_ERROR TestToggleOnOff_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -95286,7 +95472,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95310,7 +95496,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95335,7 +95521,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95358,7 +95544,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95385,7 +95571,7 @@ class TestModeSelectCluster : public TestCommandBridge { CHIP_ERROR TestToggleOnOff_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -95402,7 +95588,7 @@ class TestModeSelectCluster : public TestCommandBridge { CHIP_ERROR TestToggleOnOff_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -95420,7 +95606,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95444,7 +95630,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95469,7 +95655,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95491,7 +95677,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95516,7 +95702,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95538,7 +95724,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95559,7 +95745,7 @@ class TestModeSelectCluster : public TestCommandBridge { CHIP_ERROR TestSetStartUpOnOff_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id startUpOnOffArgument; @@ -95593,7 +95779,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95617,7 +95803,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95652,7 +95838,7 @@ class TestModeSelectCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterModeSelect * cluster = [[MTRBaseClusterModeSelect alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -95781,7 +95967,7 @@ class TestSelfFabricRemoval : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCommissionedFabricsWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -95806,7 +95992,7 @@ class TestSelfFabricRemoval : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -95830,7 +96016,7 @@ class TestSelfFabricRemoval : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterRemoveFabricParams alloc] init]; @@ -96400,7 +96586,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestWriteEmptyBindingTable_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id bindingArgument; @@ -96423,7 +96611,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestReadEmptyBindingTable_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -96448,7 +96638,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestWriteInvalidBindingTable_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id bindingArgument; @@ -96484,7 +96676,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestWriteBindingTableEndpoint1_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id bindingArgument; @@ -96522,7 +96716,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestReadBindingTableEndpoint1_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -96563,7 +96759,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestWriteBindingTableEndpoint0_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id bindingArgument; @@ -96591,7 +96789,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestReadBindingTableEndpoint0_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -96622,7 +96822,9 @@ class TestBinding : public TestCommandBridge { CHIP_ERROR TestVerifyEndpoint1NotChanged_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterBinding * cluster = [[MTRBaseClusterBinding alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -96803,7 +97005,9 @@ class TestUserLabelCluster : public TestCommandBridge { CHIP_ERROR TestCommitUserLabelList_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -96842,7 +97046,9 @@ class TestUserLabelCluster : public TestCommandBridge { CHIP_ERROR TestVerifyCommittedUserLabelList_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -96875,7 +97081,9 @@ class TestUserLabelCluster : public TestCommandBridge { CHIP_ERROR TestClearUserLabelList_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -96898,7 +97106,9 @@ class TestUserLabelCluster : public TestCommandBridge { CHIP_ERROR TestReadUserLabelList_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -96920,7 +97130,9 @@ class TestUserLabelCluster : public TestCommandBridge { CHIP_ERROR TestWriteUserLabelList_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -96972,7 +97184,9 @@ class TestUserLabelCluster : public TestCommandBridge { CHIP_ERROR TestVerifyUserLabelListAfterReboot_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLabelListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -97103,7 +97317,9 @@ class TestUserLabelClusterConstraints : public TestCommandBridge { CHIP_ERROR TestAttemptToWriteOverlyLongItemForLabel_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -97133,7 +97349,9 @@ class TestUserLabelClusterConstraints : public TestCommandBridge { CHIP_ERROR TestAttemptToWriteOverlyLongItemForValue_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterUserLabel * cluster = [[MTRBaseClusterUserLabel alloc] initWithDevice:device + endpointID:@(0) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id labelListArgument; @@ -97308,7 +97526,7 @@ class TestArmFailSafe : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -97337,7 +97555,7 @@ class TestArmFailSafe : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGeneralCommissioning * cluster = [[MTRBaseClusterGeneralCommissioning alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97365,7 +97583,7 @@ class TestArmFailSafe : public TestCommandBridge { CHIP_ERROR TestReadsNodeLabelMandatoryAttributeOfTargetDevice_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -97388,7 +97606,7 @@ class TestArmFailSafe : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterAddTrustedRootCertificateParams alloc] init]; @@ -97412,7 +97630,7 @@ class TestArmFailSafe : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterAddNOCParams alloc] init]; @@ -97438,7 +97656,7 @@ class TestArmFailSafe : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterUpdateNOCParams alloc] init]; @@ -97461,7 +97679,7 @@ class TestArmFailSafe : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterCSRRequestParams alloc] init]; @@ -97738,7 +97956,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97760,7 +97978,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97784,7 +98002,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97806,7 +98024,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97830,7 +98048,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97852,7 +98070,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97877,7 +98095,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97902,7 +98120,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97926,7 +98144,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97948,7 +98166,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97973,7 +98191,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -97995,7 +98213,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98020,7 +98238,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98045,7 +98263,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98069,7 +98287,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98091,7 +98309,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98116,7 +98334,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98138,7 +98356,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98163,7 +98381,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98187,7 +98405,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98212,7 +98430,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98236,7 +98454,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98258,7 +98476,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98282,7 +98500,7 @@ class TestFanControl : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterFanControl * cluster = [[MTRBaseClusterFanControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98465,7 +98683,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98514,7 +98732,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98563,7 +98781,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98612,7 +98830,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98662,7 +98880,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98716,7 +98934,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98770,7 +98988,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98816,7 +99034,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98866,7 +99084,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -98916,7 +99134,7 @@ class TestAccessControlConstraints : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAccessControl * cluster = [[MTRBaseClusterAccessControl alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99274,7 +99492,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99306,7 +99524,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99331,7 +99549,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99360,7 +99578,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99384,7 +99602,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99413,7 +99631,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99438,7 +99656,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99461,7 +99679,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestSendOnCommand_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -99478,7 +99696,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -99508,7 +99726,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99532,7 +99750,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestSendOffCommand_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -99549,7 +99767,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -99579,7 +99797,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99604,7 +99822,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99636,7 +99854,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99661,7 +99879,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99690,7 +99908,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99713,7 +99931,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestSendOnCommand_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -99730,7 +99948,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsTrueAfterOnCommand_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -99760,7 +99978,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -99784,7 +100002,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestSendOffCommand_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -99801,7 +100019,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { CHIP_ERROR TestCheckOnOffAttributeValueIsFalseAfterOffCommand_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeOnOffWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -99831,7 +100049,7 @@ class TestLevelControlWithOnOffDependency : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterLevelControl * cluster = [[MTRBaseClusterLevelControl alloc] initWithDevice:device - endpoint:1 + endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -100139,7 +100357,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100162,7 +100380,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100185,7 +100403,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100208,7 +100426,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100231,7 +100449,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -100252,7 +100470,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100275,7 +100493,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100299,7 +100517,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100321,7 +100539,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster revokeCommissioningWithCompletionHandler:^(NSError * _Nullable err) { @@ -100339,7 +100557,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100362,7 +100580,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100385,7 +100603,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100408,7 +100626,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -100444,7 +100662,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100467,7 +100685,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100490,7 +100708,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100513,7 +100731,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("beta"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeCurrentFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100536,7 +100754,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("beta"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -100557,7 +100775,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100580,7 +100798,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100605,7 +100823,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100630,7 +100848,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTROperationalCredentialsClusterRemoveFabricParams alloc] init]; @@ -100653,7 +100871,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWindowStatusWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100676,7 +100894,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminFabricIndexWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100699,7 +100917,7 @@ class TestCommissioningWindow : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAdminVendorIdWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -100961,7 +101179,7 @@ class TestMultiAdmin : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -100990,7 +101208,7 @@ class TestMultiAdmin : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterOperationalCredentials * cluster = - [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterOperationalCredentials alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); MTRReadParams * params = [[MTRReadParams alloc] init]; @@ -101016,7 +101234,7 @@ class TestMultiAdmin : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster revokeCommissioningWithCompletionHandler:^(NSError * _Nullable err) { @@ -101034,7 +101252,7 @@ class TestMultiAdmin : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -101070,7 +101288,7 @@ class TestMultiAdmin : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("beta"); MTRBaseClusterAdministratorCommissioning * cluster = - [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + [[MTRBaseClusterAdministratorCommissioning alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams alloc] init]; @@ -101106,7 +101324,7 @@ class TestMultiAdmin : public TestCommandBridge { CHIP_ERROR TestReadTheMandatoryAttributeNodeLabelFromAlpha_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -101131,7 +101349,7 @@ class TestMultiAdmin : public TestCommandBridge { CHIP_ERROR TestWriteTheMandatoryAttributeNodeLabelFromBeta_15() { MTRBaseDevice * device = GetDevice("beta"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id nodeLabelArgument; @@ -101151,7 +101369,7 @@ class TestMultiAdmin : public TestCommandBridge { CHIP_ERROR TestReadTheMandatoryAttributeNodeLabelFromGamma_16() { MTRBaseDevice * device = GetDevice("gamma"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNodeLabelWithCompletionHandler:^(NSString * _Nullable value, NSError * _Nullable err) { @@ -101170,7 +101388,7 @@ class TestMultiAdmin : public TestCommandBridge { CHIP_ERROR TestWriteTheMandatoryAttributeNodeLabelBackToDefault_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + MTRBaseClusterBasic * cluster = [[MTRBaseClusterBasic alloc] initWithDevice:device endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id nodeLabelArgument; @@ -101386,7 +101604,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101411,7 +101629,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101436,7 +101654,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101456,7 +101674,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101482,7 +101700,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101504,7 +101722,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101526,7 +101744,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101548,7 +101766,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101570,7 +101788,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101592,7 +101810,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101617,7 +101835,7 @@ class Test_TC_DGSW_1_1 : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterSoftwareDiagnostics * cluster = [[MTRBaseClusterSoftwareDiagnostics alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -101774,7 +101992,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestSetOnOffAttributeToFalse_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -101793,7 +102011,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestReportSubscribeOnOffAttribute_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); test_TestSubscribe_OnOff_OnOff_Reported = ^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -101816,7 +102034,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestSubscribeOnOffAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); uint16_t minIntervalArgument = 2U; @@ -101847,7 +102065,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestTurnOnTheLightToSeeAttributeChange_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster onWithCompletionHandler:^(NSError * _Nullable err) { @@ -101864,7 +102082,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestCheckForAttributeReport_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); test_TestSubscribe_OnOff_OnOff_Reported = ^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -101886,7 +102104,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestTurnOffTheLightToSeeAttributeChange_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster offWithCompletionHandler:^(NSError * _Nullable err) { @@ -101903,7 +102121,7 @@ class TestSubscribe_OnOff : public TestCommandBridge { CHIP_ERROR TestCheckForAttributeReport_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterOnOff * cluster = [[MTRBaseClusterOnOff alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); test_TestSubscribe_OnOff_OnOff_Reported = ^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -102870,7 +103088,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadAvailableUserSlotAndVerifyResponseFields_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -102941,7 +103161,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestGetNumberOfSupportedUsersAndVerifyDefaultValue_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -102967,7 +103189,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadFailsForUserWithIndex0_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -102988,7 +103212,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadFailsForUserWithIndexGreaterThanNumberOfUsersSupported_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103009,7 +103235,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewUserWithDefaultParameters_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103035,7 +103263,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103111,7 +103341,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestSetUserAtTheOccupiedIndexFailsWithAppropriateResponse_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103138,7 +103370,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyUserNameForExistingUser_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103164,7 +103398,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheModifiedUserBackAndVerifyItsFields_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103240,7 +103476,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyUserUniqueIdForExistingUser_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103266,7 +103504,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheModifiedUserBackAndVerifyItsFields_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103343,7 +103583,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyUserStatusForExistingUser_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103369,7 +103611,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheModifiedUserBackAndVerifyItsFields_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103446,7 +103690,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyUserTypeForExistingUser_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103472,7 +103718,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheModifiedUserBackAndVerifyItsFields_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103549,7 +103797,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyCredentialRuleForExistingUser_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103575,7 +103825,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheModifiedUserBackAndVerifyItsFields_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103652,7 +103904,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyAllFieldsForExistingUser_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103678,7 +103932,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheModifiedUserBackAndVerifyItsFields_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103755,7 +104011,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestAddAnotherUserWithNonDefaultFields_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103781,7 +104039,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheNewUserBackAndVerifyItsFields_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103858,7 +104118,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestTryToAddAUserWithUserStatus0_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103885,7 +104147,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestMakeSureTheUserDidNotGetCreated_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -103955,7 +104219,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestTryToAddAUserWithUserStatus2_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -103982,7 +104248,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestMakeSureTheUserDidNotGetCreated_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104052,7 +104320,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestTryToAddAUserWithUserStatus3_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -104078,7 +104348,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheNewThirdUserBackAndVerifyItsFields_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104155,7 +104427,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateUserInTheLastSlot_28() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -104181,7 +104455,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheLastUserBackAndVerifyItsFields_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104257,7 +104533,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestUserCreationInThe0SlotFails_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -104284,7 +104562,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestUserCreationInTheOutOfBoundsSlotFails_31() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -104311,7 +104591,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearFirstUser_32() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -104331,7 +104613,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadClearedUserAndVerifyItIsAvailable_33() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104402,7 +104686,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewUserInTheClearedSlot_34() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -104428,7 +104714,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserInThePreviouslyClearedSlotAndVerifyItsFields_35() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104505,7 +104793,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearUserWithIndex0Fails_36() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -104526,7 +104816,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearUserWithOutOfBoundsIndexFails_37() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -104547,7 +104839,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearAllUsers_38() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -104567,7 +104861,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadFirstClearedUserAndVerifyItIsAvailable_39() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104637,7 +104933,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadLastClearedUserAndVerifyItIsAvailable_40() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -104708,7 +105006,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestGetNumberOfSupportedPinCredentialsAndVerifyDefaultValue_41() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -104734,7 +105034,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCheckThatPinCredentialDoesNotExist_42() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -104783,7 +105085,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadingPinCredentialWithIndex0ReturnsNoCredential_43() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -104832,7 +105136,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadingPinCredentialWithOutOfBoundsIndexReturnsNoCredential_44() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -104882,7 +105188,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyThatAUserWithUserStatus0CannotBeAddedViaSetCredential_45() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -104927,7 +105235,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyThatAUserWithUserStatus2CannotBeAddedViaSetCredential_46() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -104972,7 +105282,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndUser_47() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105018,7 +105330,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedUser_48() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -105099,7 +105413,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedPinCredential_49() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -105151,7 +105467,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndUserWithIndex0Fails_50() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105196,7 +105514,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndUserWithOutOfBoundsIndexFails_51() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105242,7 +105562,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestGetNumberOfSupportedRfidCredentialsAndVerifyDefaultValue_52() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -105268,7 +105590,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadingRfidCredentialWithIndex0ReturnsNoCredentialDuplicateWithBugWorkaround_53() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -105314,7 +105638,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadingRfidCredentialWithOutOfBoundsIndexReturnsNoCredential_54() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -105364,7 +105690,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCheckThatRfidCredentialDoesNotExist_55() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -105413,7 +105741,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialAndAddItToExistingUser_56() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105458,7 +105788,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyModifiedUser_57() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -105543,7 +105875,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedCredential_58() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -105595,7 +105929,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialAndUserWithIndex0Fails_59() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105640,7 +105976,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialAndUserWithOutOfBoundsIndexFails_60() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105685,7 +106023,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewCredentialAndTryToAddItTo0User_61() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105730,7 +106070,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewCredentialAndTryToAddItToOutOfBoundsUser_62() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105775,7 +106117,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinWithTooShortData_63() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105820,7 +106164,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinWithTooLongData_64() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105865,7 +106211,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidWithTooShortData_65() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105910,7 +106258,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinWithProgrammingUserTypeFails_66() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -105955,7 +106305,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidWithTooShortData_67() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106000,7 +106352,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialWithDataTheWouldCauseDuplicate_68() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106045,7 +106399,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialWithDataTheWouldCauseDuplicate_69() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106090,7 +106446,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyCredentialDataOfExistingPinCredential_70() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106135,7 +106493,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyThatCredentialWasChangedByCreatingNewCredentialWithOldData_71() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106181,7 +106541,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyThatCredentialWasChangedByCreatingNewCredentialWithNewData_72() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106226,7 +106588,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialAndAddItToExistingUser_73() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106271,7 +106635,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyModifiedUser_74() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -106362,7 +106728,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialAndAddItToExistingUser_75() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106407,7 +106775,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyModifiedUser_76() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -106502,7 +106872,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearFirstPinCredential_77() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -106525,7 +106897,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheCredentialAndMakeSureItIsDeleted_78() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -106575,7 +106949,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndMakeSurePinCredentialIsDeleted_79() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -106666,7 +107042,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearTheSecondPinCredential_80() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -106689,7 +107067,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheCredentialAndMakeSureItIsDeleted_81() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -106739,7 +107119,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndMakeSureRelatedUserIsDeleted_82() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -106809,7 +107191,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialWithUser_83() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -106855,7 +107239,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearAllTheRfidCredentials_84() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -106878,7 +107264,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheFistRfidCredentialAndMakeSureItIsDeleted_85() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -106928,7 +107316,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheSecondRfidCredentialAndMakeSureItIsDeleted_86() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -106978,7 +107368,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheThirdRfidCredentialAndMakeSureItIsDeleted_87() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -107028,7 +107420,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserRelatedWithFirstRfidBackAndMakeSureItHasOnlyPinCredential_88() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107109,7 +107503,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserRelatedWithSecondRfidBackAndMakeSureItIsDeleted_89() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107179,7 +107575,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialWithUser_90() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -107225,7 +107623,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewRfidCredentialWithUser_91() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -107271,7 +107671,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateAnotherRfidCredentialWithUser_92() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -107317,7 +107719,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearAllTheCredentials_93() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -107337,7 +107741,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheFirstPinCredentialAndMakeSureItIsDeleted_94() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -107386,7 +107792,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheFirstRfidCredentialAndMakeSureItIsDeleted_95() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -107435,7 +107843,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadBackTheSecondPinCredentialAndMakeSureItIsDeleted_96() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -107484,7 +107894,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserRelatedWithFirstPinBackAndMakeSureItIsDeleted_97() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107554,7 +107966,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserRelatedWithFirstRfidBackAndMakeSureItIsDeleted_98() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107624,7 +108038,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserRelatedWithSecondPinBackAndMakeSureItIsDeleted_99() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107694,7 +108110,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestReadTheUserRelatedWithLastRfidBackAndMakeSureItIsDeleted_100() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107764,7 +108182,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewProgrammingPinCredentialWithInvalidIndex_101() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -107808,7 +108228,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewProgrammingPinCredentialWithValidIndex_102() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -107853,7 +108275,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedUser_103() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -107934,7 +108358,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedProgrammingPinCredential_104() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -107986,7 +108412,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestModifyTheProgrammingPinCredential_105() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108030,7 +108458,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearingProgrammingPinFails_106() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -108056,7 +108486,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearingProgrammingPinWithInvalidIndexFails_107() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -108082,7 +108514,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearingPinCredentialWithZeroIndexFails_108() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -108108,7 +108542,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearingPinCredentialWithOutOfBoundIndexFails_109() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -108135,7 +108571,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearingRfidCredentialWithZeroIndexFails_110() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -108161,7 +108599,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearingRfidCredentialWithOutOfBoundIndexFails_111() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -108188,7 +108628,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestClearTheProgrammingPinUser_112() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -108208,7 +108650,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestMakeSureProgrammingPinUserIsDeleted_113() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -108278,7 +108722,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestMakeSureProgrammingPinCredentialIsDeleted_114() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -108327,7 +108773,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndUser_115() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108373,7 +108821,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateSecondPinCredentialAndAddItToExistingUser_116() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108418,7 +108868,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateThirdPinCredentialAndAddItToExistingUser_117() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108463,7 +108915,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateFourthPinCredentialAndAddItToExistingUser_118() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108508,7 +108962,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestCreateFifthPinCredentialAndAddItToExistingUser_119() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108553,7 +109009,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestTryToCreateSixthPinCredentialAndMakeSureItFails_120() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -108598,7 +109056,9 @@ class DL_UsersAndCredentials : public TestCommandBridge { CHIP_ERROR TestFinalCleanUp_121() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -108963,7 +109423,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithoutPin_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -108982,7 +109444,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToUnlocked_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109005,7 +109469,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToLockTheDoorWithoutAPin_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -109024,7 +109490,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToLocked_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109047,7 +109515,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndLockUnlockUser_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -109093,7 +109563,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestSetTheWrongCodeEntryLimitToBigValueSoThatWeCanTestIncorrectPinEntry_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id wrongCodeEntryLimitArgument; @@ -109115,7 +109587,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithInvalidPin_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109137,7 +109611,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToLocked_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109160,7 +109636,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithValidPin_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109180,7 +109658,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToUnlocked_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109203,7 +109683,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToLockTheDoorWithInvalidPin_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -109224,7 +109706,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToUnlocked_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109247,7 +109731,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToLockTheDoorWithValidPin_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -109267,7 +109753,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToLocked_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109290,7 +109778,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestSetOperatingModeToNoRemoteLockUnlock_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operatingModeArgument; @@ -109310,7 +109800,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWhenOperatingModeIsNoRemoteLockUnlock_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109331,7 +109823,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestSetOperatingModeToNormal_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id operatingModeArgument; @@ -109351,7 +109845,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestReadTheLockoutTimeout_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -109374,7 +109870,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestSetTheWrongCodeEntryLimitToSmallValueSoWeCanTestLockout_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id wrongCodeEntryLimitArgument; @@ -109395,7 +109893,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithInvalidPinForTheFirstTime_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109417,7 +109917,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithInvalidPinForTheSecondTime_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109439,7 +109941,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithInvalidPinForTheThirdTime_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109461,7 +109965,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithValidPinAndMakeSureItFailsDueToLockout_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109490,7 +109996,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithValidPinAndMakeSureItSucceeds_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109510,7 +110018,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToUnlocked_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109533,7 +110043,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestLockTheDoorBackPriorToNextTests_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -109553,7 +110065,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestCreateADisabledUserAndCredential_28() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -109599,7 +110113,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToUnlockTheDoorWithDisabledUserPin_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109621,7 +110137,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToLocked_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109644,7 +110162,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestUnlockTheDoorWithEnabledUserPin_31() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -109664,7 +110184,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToUnlocked_32() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109687,7 +110209,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestTryToLockTheDoorWithDisabledUserPin_33() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -109708,7 +110232,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueStaysUnlocked_34() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109731,7 +110257,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestLockTheDoorWithEnabledUserPin_35() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -109751,7 +110279,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestVerifyThatLockStateAttributeValueIsSetToLocked_36() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -109774,7 +110304,9 @@ class DL_LockUnlock : public TestCommandBridge { CHIP_ERROR TestCleanAllTheUsersAndCredentials_37() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -110768,7 +111300,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndScheduleUser_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -110815,7 +111349,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetNumberOfSupportedUsers_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -110842,7 +111378,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetMaxNumberOfWeekDaySchedulesForUserAndVerifyDefaultValue_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletionHandler:^( @@ -110869,7 +111407,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetMaxNumberOfYearDaySchedulesForUserAndVerifyDefaultValue_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletionHandler:^( @@ -110896,7 +111436,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetMaxNumberOfHolidaySchedulesAndVerifyDefaultValue_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfHolidaySchedulesSupportedWithCompletionHandler:^( @@ -110922,7 +111464,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWith0Index_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -110951,7 +111495,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithOutOfBoundsIndex_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -110980,7 +111526,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWith0UserIndex_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111009,7 +111557,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithOutOfBoundsUserIndex_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111038,7 +111588,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleForNonExistingUser_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111067,7 +111619,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWith0DaysMask_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111096,7 +111650,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleForSundayAndMonday_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111125,7 +111681,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleForSundayWednesdayAndSaturday_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111154,7 +111712,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithInvalidStartHour_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111183,7 +111743,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithInvalidStartMinute_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111212,7 +111774,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithInvalidEndHour_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111241,7 +111805,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithInvalidEndMinute_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111270,7 +111836,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithStartHourLaterThatEndHour_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111299,7 +111867,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithStartMinuteLaterThatEndMinuteWhenHoursAreEqual_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -111329,7 +111899,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatPreviousOperationsDidNotCreateASchedule_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -111366,7 +111938,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetWeekDayScheduleWith0Index_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -111403,7 +111977,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetWeekDayScheduleWithOutOfBoundsIndex_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -111441,7 +112017,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetWeekDayScheduleWith0UserIndex_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -111478,7 +112056,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetWeekDayScheduleWithOutOfBoundsUserIndex_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -111516,7 +112096,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetWeekDayScheduleWithNonExistingUserIndex_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -111553,7 +112135,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleWith0Index_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -111579,7 +112163,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleWithOutOfBoundsIndex_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -111605,7 +112191,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleWith0UserIndex_28() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -111631,7 +112219,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleWithOutOfBoundsUserIndex_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -111657,7 +112247,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleForNonExistingUser_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -111683,7 +112275,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleWithStartHourLaterThatEndHour_31() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -111709,7 +112303,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatPreviousOperationsDidNotCreateASchedule_32() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -111746,7 +112342,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetYearDayScheduleWith0Index_33() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -111783,7 +112381,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetYearDayScheduleWithOutOfBoundsIndex_34() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -111821,7 +112421,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetYearDayScheduleWith0UserIndex_35() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -111858,7 +112460,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetYearDayScheduleWithOutOfBoundsUserIndex_36() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -111896,7 +112500,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetYearDayScheduleWithNonExistingUserIndex_37() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -111933,7 +112539,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateHolidayScheduleWith0Index_38() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -111959,7 +112567,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateHolidayScheduleWithOutOfBoundsIndex_39() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -111985,7 +112595,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateHolidayScheduleWithStartHourLaterThatEndHour_40() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -112011,7 +112623,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateHolidayScheduleWithInvalidOperatingMode_41() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -112037,7 +112651,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatPreviousOperationsDidNotCreateASchedule_42() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -112068,7 +112684,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetHolidayScheduleWith0Index_43() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -112099,7 +112717,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestGetHolidayScheduleWithOutOfBoundsIndex_44() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -112131,7 +112751,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateHolidayScheduleWithValidParameters_45() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -112154,7 +112776,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedSchedule_46() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -112200,7 +112824,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithValidParameters_47() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -112226,7 +112852,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedSchedule_48() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -112288,7 +112916,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleWithValidParameters_49() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -112311,7 +112941,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedSchedule_50() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -112358,7 +112990,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearWeekDayScheduleWith0Index_51() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -112382,7 +113016,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearWeekDayScheduleWithOutOfBoundsIndex_52() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -112406,7 +113042,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearWeekDayScheduleWith0UserIndex_53() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -112430,7 +113068,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearWeekDayScheduleWithOutOfBoundsUserIndex_54() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -112454,7 +113094,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearWeekDayScheduleWithNonExistingUser_55() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -112478,7 +113120,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatWeekDayScheduleWasNotDeleted_56() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -112540,7 +113184,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatYearDayScheduleWasNotDeleted_57() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -112587,7 +113233,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatHolidayScheduleWasNotDeleted_58() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -112633,7 +113281,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearYearDayScheduleWith0Index_59() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -112657,7 +113307,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearYearDayScheduleWithOutOfBoundsIndex_60() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -112681,7 +113333,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearYearDayScheduleWith0UserIndex_61() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -112705,7 +113359,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearYearDayScheduleWithOutOfBoundsUserIndex_62() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -112729,7 +113385,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearYearDayScheduleWithNonExistingUser_63() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -112753,7 +113411,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatWeekDayScheduleWasNotDeleted_64() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -112815,7 +113475,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatYearDayScheduleWasNotDeleted_65() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -112862,7 +113524,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatHolidayScheduleWasNotDeleted_66() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -112908,7 +113572,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearHolidayScheduleWith0Index_67() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearHolidayScheduleParams alloc] init]; @@ -112931,7 +113597,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearHolidayScheduleWithOutOfBoundsIndex_68() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearHolidayScheduleParams alloc] init]; @@ -112954,7 +113622,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatWeekDayScheduleWasNotDeleted_69() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -113016,7 +113686,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatYearDayScheduleWasNotDeleted_70() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -113063,7 +113735,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatHolidayScheduleWasNotDeleted_71() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -113109,7 +113783,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateAnotherWeekDayScheduleWithValidParameters_72() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -113135,7 +113811,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedWeekDaySchedule_73() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -113197,7 +113875,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateAnotherYearDayScheduleWithValidParameters_74() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -113220,7 +113900,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedYearDaySchedule_75() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -113267,7 +113949,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateAnotherHolidayScheduleWithValidParameters_76() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -113290,7 +113974,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedHolidaySchedule_77() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -113336,7 +114022,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearASingleWeekDayScheduleForTheFirstUser_78() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -113357,7 +114045,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyClearedWeekDaySchedule_79() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -113394,7 +114084,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearAllRemainingWeekDaySchedulesForTheFirstUser_80() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -113415,7 +114107,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyClearedWeekSchedule_81() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -113452,7 +114146,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatFirstYearDayScheduleWasNotDeleted_82() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -113499,7 +114195,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatSecondYearDayScheduleWasNotDeleted_83() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -113546,7 +114244,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatFirstHolidayScheduleWasNotDeleted_84() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -113592,7 +114292,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatSecondHolidayScheduleWasNotDeleted_85() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -113638,7 +114340,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateAnotherWeekDayScheduleWithValidParameters_86() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -113664,7 +114368,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearASingleYearDayScheduleForTheFirstUser_87() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -113685,7 +114391,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyClearedYearDaySchedule_88() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -113722,7 +114430,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearAllRemainingYearSchedulesForTheFirstUser_89() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -113743,7 +114453,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyThatSecondYearDayScheduleWasCleared_90() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -113780,7 +114492,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedWeekDaySchedule_91() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -113842,7 +114556,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearAllRemainingWeekDaySchedulesForTheFirstUser_92() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -113863,7 +114579,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateNewUserWithoutCredentialSoWeCanAddMoreSchedulesToIt_93() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -113889,7 +114607,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithValidParametersForFirstUser_94() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -113915,7 +114635,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedWeekDayScheduleForFirstUser_95() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -113977,7 +114699,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleForFirstUser_96() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -114000,7 +114724,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedYearDayScheduleForFirst_97() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -114047,7 +114773,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleWithValidParametersForSecondUser_98() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -114073,7 +114801,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedWeekDayScheduleForFirstUser_99() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -114135,7 +114865,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleForSecondUser_100() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -114158,7 +114890,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedYearDayScheduleForFirst_101() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -114205,7 +114939,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCleanupTheUser_102() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -114225,7 +114961,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingFirstUserAlsoClearedWeekDaySchedules_103() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -114262,7 +115000,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingFirstUserAlsoClearedYearDaySchedules_104() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -114299,7 +115039,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingSecondUserAlsoClearedWeekDaySchedules_105() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -114336,7 +115078,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingSecondUserAlsoClearedYearDaySchedules_106() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -114373,7 +115117,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatFirstHolidayScheduleWasNotDeleted_107() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114419,7 +115165,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatSecondHolidayScheduleWasNotDeleted_108() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114465,7 +115213,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateAnotherHolidayScheduleAtTheLastSlot_109() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetHolidayScheduleParams alloc] init]; @@ -114488,7 +115238,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedHolidaySchedule_110() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114534,7 +115286,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndScheduleUser_111() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -114580,7 +115334,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateWeekDayScheduleForFirstUser_112() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -114606,7 +115362,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestCreateYearDayScheduleForFirstUser_113() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -114629,7 +115387,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearASingleHolidaySchedule_114() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearHolidayScheduleParams alloc] init]; @@ -114649,7 +115409,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatFirstHolidayScheduleWasNotDeleted_115() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114695,7 +115457,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatSecondHolidayScheduleWasDeleted_116() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114726,7 +115490,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatThirdHolidayScheduleWasNotDeleted_117() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114772,7 +115538,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingHolidayScheduleDidNotClearWeekDaySchedule_118() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -114834,7 +115602,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingHolidayScheduleDidNotClearYearDaySchedule_119() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -114881,7 +115651,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestClearAllRemainingHolidaySchedules_120() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearHolidayScheduleParams alloc] init]; @@ -114901,7 +115673,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatFirstHolidayIsStillDeleted_121() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114932,7 +115706,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatSecondHolidayScheduleWasDeleted_122() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114963,7 +115739,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureThatThirdHolidayScheduleWasNotDeleted_123() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetHolidayScheduleParams alloc] init]; @@ -114994,7 +115772,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingHolidayScheduleDidNotClearWeekDaySchedule_124() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -115056,7 +115836,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestMakeSureClearingHolidayScheduleDidNotClearYearDaySchedule_125() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -115103,7 +115885,9 @@ class DL_Schedules : public TestCommandBridge { CHIP_ERROR TestFinalCleanup_126() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -115674,7 +116458,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheClusterRevisionFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115697,7 +116483,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheFeatureMapFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115720,7 +116508,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf00pinEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115738,7 +116528,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf01ridEnsureFeaturemapHasTheCorrectBitSet_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115756,7 +116548,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf02fgpEnsureFeaturemapHasTheCorrectBitSet_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115774,7 +116568,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf04wdschEnsureFeaturemapHasTheCorrectBitSet_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115792,7 +116588,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf05dpsEnsureFeaturemapHasTheCorrectBitSet_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115810,7 +116608,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf06faceEnsureFeaturemapHasTheCorrectBitSet_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115828,7 +116628,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf07cotaEnsureFeaturemapHasTheCorrectBitSet_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115846,7 +116648,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDrlksf08usrEnsureFeaturemapHasTheCorrectBitSet_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115864,7 +116668,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDRLKSF0aYDSCHEnsureFeaturemapHasTheCorrectBitSet_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115882,7 +116688,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenDRLKSF0bHDSCHEnsureFeaturemapHasTheCorrectBitSet_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -115900,7 +116708,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAttributeListFromDut_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -115929,7 +116739,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF05AttributesInAttributeList_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -115949,7 +116761,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF08AttributesInAttributeList_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -115971,7 +116785,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF00AttributesInAttributeList_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -115993,7 +116809,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF01AttributesInAttributeList_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116015,7 +116833,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF04AttributeInAttributeList_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116035,7 +116855,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF0aAttributeInAttributeList_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116055,7 +116877,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF0bAttributeInAttributeList_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116075,7 +116899,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF00OrDrlksf01AttributesInAttributeList_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116096,7 +116922,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentDRLKSF07OrDrlksf00AttributeInAttributeList_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116116,7 +116944,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeLanguageInAttributeList_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116136,7 +116966,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeLEDSettingsInAttributeList_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116156,7 +116988,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeAutoRelockTimeInAttributeList_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116176,7 +117010,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeSoundVolumeInAttributeList_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116196,7 +117032,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeDefaultConfigurationRegisterInAttributeList_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116216,7 +117054,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeEnableLocalProgrammingInAttributeList_28() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116236,7 +117076,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeEnableOneTouchLockingInAttributeList_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116256,7 +117098,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeEnableInsideStatusLEDInAttributeList_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116276,7 +117120,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeEnablePrivacyModeButtonInAttributeList_31() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116296,7 +117142,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalAttributeLocalProgrammingFeaturesInAttributeList_32() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116316,7 +117164,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAcceptedCommandListFromDut_33() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116337,7 +117187,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandsDRLKSF04InAcceptedCommandList_34() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116359,7 +117211,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandsDRLKSF0aInAcceptedCommandList_35() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116381,7 +117235,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandsDRLKSF0bInAcceptedCommandList_36() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116403,7 +117259,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandsDRLKSF08InAcceptedCommandList_37() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116428,7 +117286,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsOptionalCommandsDRLKSC03RspInAcceptedCommandList_38() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116448,7 +117308,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandDRLKSF04InGeneratedCommandList_39() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116468,7 +117330,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandDRLKSF0aInGeneratedCommandList_40() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116488,7 +117352,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandDRLKSF0bInGeneratedCommandList_41() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116508,7 +117374,9 @@ class Test_TC_DRLK_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsFeatureDependentCommandDRLKSF08InGeneratedCommandList_42() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -116900,7 +117768,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestCreateNewUser_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -116926,7 +117796,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -117003,7 +117875,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndLockUnlockUser_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -117048,7 +117922,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedPinCredential_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -117100,7 +117976,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -117122,7 +118000,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDutAndVerifyDutRespondsWithUnsupportedWrite_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -117148,7 +118028,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsTheRequirePINforRemoteOperationAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -117171,7 +118053,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsLockDoorCommandToTheDutWithoutPINCode_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -117190,7 +118074,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsLockDoorCommandToTheDutWithValidPINCode_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -117210,7 +118096,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDut_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -117232,7 +118120,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDutAndVerifyDutRespondsWithUnsupportedWrite_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -117258,7 +118148,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsTheRequirePINforRemoteOperationAttributeFromTheDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -117281,7 +118173,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsLockDoorCommandToTheDutWithValidPINCode_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -117301,7 +118195,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsLockDoorCommandToTheDutWithoutValidPINCode_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -117322,7 +118218,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThSendsLockDoorCommandToTheDutWithoutAnyArgumentPINCode_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterLockDoorParams alloc] init]; @@ -117342,7 +118240,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsTheWrongCodeEntryLimitAttributeFromTheDut_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeWrongCodeEntryLimitWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -117388,7 +118288,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id wrongCodeEntryLimitArgument; @@ -117410,7 +118312,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id wrongCodeEntryLimitArgument; @@ -117436,7 +118340,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -117455,7 +118361,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id userCodeTemporaryDisableTimeArgument; @@ -117479,7 +118387,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id userCodeTemporaryDisableTimeArgument; @@ -117506,7 +118416,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestCleanTheCreatedUser_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -117526,7 +118438,9 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { CHIP_ERROR TestCleanupTheCreatedCredential_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -118015,7 +118929,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestCreateNewUser_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -118041,7 +118957,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -118118,7 +119036,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndLockUnlockUser_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -118163,7 +119083,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedPinCredential_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -118215,7 +119137,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -118237,7 +119161,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDutAndVerifyDutRespondsWithUnsupportedWrite_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -118263,7 +119189,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThReadsTheRequirePINforRemoteOperationAttributeFromTheDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -118286,7 +119214,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithoutPINCode_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118305,7 +119235,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithValidPINCode_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118325,7 +119257,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDut_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -118347,7 +119281,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesTheRequirePINforRemoteOperationAttributeValueAsFalseOnTheDutAndVerifyDutRespondsWithUnsupportedWrite_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id requirePINforRemoteOperationArgument; @@ -118373,7 +119309,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThReadsTheRequirePINforRemoteOperationAttributeFromTheDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster @@ -118396,7 +119334,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithValidPINCode_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118416,7 +119356,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithInvalidPINCode_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118438,7 +119380,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithoutPINCode_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118459,7 +119403,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAs3OnTheDutAndVerifyThatTheDutSendsSuccessResponse_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id wrongCodeEntryLimitArgument; @@ -118481,7 +119427,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAs3OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id wrongCodeEntryLimitArgument; @@ -118507,7 +119455,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesUserCodeTemporaryDisableTimeAttributeValueAs15SecondsOnTheDutAndVerifyThatTheDutSendsSuccessResponse_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id userCodeTemporaryDisableTimeArgument; @@ -118530,7 +119480,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesUserCodeTemporaryDisableTimeAttributeValueAs15SecondsOnTheDutAndVerifyThatTheDutSendsSuccessResponse_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id userCodeTemporaryDisableTimeArgument; @@ -118557,7 +119509,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithInvalidPINCode_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118579,7 +119533,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithInvalidPINCode_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118601,7 +119557,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithInvalidPINCode_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118623,7 +119581,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithInvalidPINCode_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118645,7 +119605,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDutAndCheckAttributeIsTriggered_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeUserCodeTemporaryDisableTimeWithCompletionHandler:^( @@ -118669,7 +119631,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithValidPINCode_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; @@ -118691,7 +119655,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesAutoRelockTimeAttributeValueAs10SecondsOnTheDut_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id autoRelockTimeArgument; @@ -118711,7 +119677,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesAutoRelockTimeAttributeValueAs60SecondsOnTheDut_27() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id autoRelockTimeArgument; @@ -118731,7 +119699,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesAutoRelockTimeAttributeValueAs10SecondsOnTheDut_28() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id autoRelockTimeArgument; @@ -118755,7 +119725,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThWritesAutoRelockTimeAttributeValueAs60SecondsOnTheDut_29() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id autoRelockTimeArgument; @@ -118779,7 +119751,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThReadsTheAutoRelockTimeAttributeFromTheDut_30() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAutoRelockTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -118801,7 +119775,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestThReadsTheAutoRelockTimeAttributeFromTheDut_31() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAutoRelockTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -118841,7 +119817,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestCleanupTheCreatedUser_34() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -118861,7 +119839,9 @@ class Test_TC_DRLK_2_3 : public TestCommandBridge { CHIP_ERROR TestCleanTheCreatedCredential_35() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -119069,7 +120049,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestCreateNewUser_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -119095,7 +120077,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -119172,7 +120156,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestCreateNewPinCredentialAndLockUnlockUser_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -119217,7 +120203,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestVerifyCreatedPinCredential_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -119269,7 +120257,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesAutoRelockTimeAttributeValueAs60SecondsOnTheDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id autoRelockTimeArgument; @@ -119289,7 +120279,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestThWritesAutoRelockTimeAttributeValueAs60SecondsOnTheDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); id autoRelockTimeArgument; @@ -119313,7 +120305,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestThSendsTheUnlockWithTimeoutArgumentValueAs60Seconds_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterUnlockWithTimeoutParams alloc] init]; @@ -119341,7 +120335,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestThReadsLockStateAttribute_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeLockStateWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -119364,7 +120360,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestCleanupTheCreatedUser_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -119384,7 +120382,9 @@ class Test_TC_DRLK_2_4 : public TestCommandBridge { CHIP_ERROR TestCleanTheCreatedCredential_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -119600,7 +120600,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestCreateNewUser_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -119626,7 +120628,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -119704,7 +120708,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThReadsNumberOfWeekDaySchedulesSupportedPerUserAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletionHandler:^( @@ -119731,7 +120737,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThReadsNumberOfTotalUsersSupportedAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:^( @@ -119755,7 +120763,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThSendSetWeekDayScheduleCommand_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -119781,7 +120791,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThSendGetWeekDayScheduleCommandToDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -119847,7 +120859,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThSendSetWeekDayScheduleCommand_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetWeekDayScheduleParams alloc] init]; @@ -119876,7 +120890,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThSendGetWeekDayScheduleCommandToDut_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -119933,7 +120949,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThSendsClearWeekDayScheduleCommandToDut_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearWeekDayScheduleParams alloc] init]; @@ -119954,7 +120972,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestThSendsGetWeekDayScheduleCommandToDut_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetWeekDayScheduleParams alloc] init]; @@ -120011,7 +121031,9 @@ class Test_TC_DRLK_2_5 : public TestCommandBridge { CHIP_ERROR TestCleanupTheCreatedUser_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -120286,7 +121308,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestCreateNewUser_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -120312,7 +121336,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -120390,7 +121416,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThReadsNumberOfYearDaySchedulesSupportedPerUserAttribute_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletionHandler:^( @@ -120417,7 +121445,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThReadsNumberOfTotalUsersSupportedAttribute_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:^( @@ -120441,7 +121471,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsSetYearDayScheduleCommandToDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -120464,7 +121496,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsGetYearDayScheduleCommandToDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -120517,7 +121551,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendSetYearDayScheduleCommandToDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -120543,7 +121579,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsGetYearDayScheduleCommandToDut_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -120588,7 +121626,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestCreateAUserWithUserIndexAs5_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -120614,7 +121654,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsGetYearDayScheduleCommandToDut_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -120660,7 +121702,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsClearYearDayScheduleToDut_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -120681,7 +121725,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsGetYearDayScheduleCommandToDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -120726,7 +121772,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsSetYearDayScheduleCommandToDut_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetYearDayScheduleParams alloc] init]; @@ -120749,7 +121797,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsGetYearDayScheduleCommandToDut_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetYearDayScheduleParams alloc] init]; @@ -120802,7 +121852,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestThSendsClearYearDayScheduleToDut_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -120826,7 +121878,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestClearAYearDayScheduleForTheFirstUser_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearYearDayScheduleParams alloc] init]; @@ -120847,7 +121901,9 @@ class Test_TC_DRLK_2_7 : public TestCommandBridge { CHIP_ERROR TestCleanupTheCreatedUser_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -121162,7 +122218,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestCreateNewUserWithDefaultParameters_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -121188,7 +122246,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestReadTheUserBackAndVerifyItsFields_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetUserParams alloc] init]; @@ -121266,7 +122326,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThReadsNumberOfTotalUsersSupportedAttributeAndSavesForFutureUse_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:^( @@ -121290,7 +122352,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsSetCredentialCommandToDut_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -121335,7 +122399,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsGetCredentialStatusCommand_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -121383,7 +122449,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsSetCredentialCommandToDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -121428,7 +122496,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsSetCredentialCommandToDut_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -121503,7 +122573,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsClearCredentialCommandToDut_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -121526,7 +122598,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsGetCredentialStatusCommandToDut_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -121575,7 +122649,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsSetUserCommandToDut_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetUserParams alloc] init]; @@ -121601,7 +122677,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsSetCredentialCommandToDut_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterSetCredentialParams alloc] init]; @@ -121646,7 +122724,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsClearCredentialCommandToDut_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -121669,7 +122749,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsGetCredentialStatusCommand_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -121718,7 +122800,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsGetCredentialStatusCommand_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterGetCredentialStatusParams alloc] init]; @@ -121767,7 +122851,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestThSendsClearCredentialCommandToDut_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearCredentialParams alloc] init]; @@ -121793,7 +122879,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestCleanupTheFirstCreatedUser_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -121813,7 +122901,9 @@ class Test_TC_DRLK_2_9 : public TestCommandBridge { CHIP_ERROR TestCleanupTheSecondCreatedUser_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device + endpointID:@(1) + queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRDoorLockClusterClearUserParams alloc] init]; @@ -122099,7 +123189,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewGroup0Invalid_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122129,7 +123219,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewFirstGroupNotFound_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122159,7 +123249,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestAddFirstGroupNoKeys_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterAddGroupParams alloc] init]; @@ -122191,7 +123281,7 @@ class TestGroupsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -122230,7 +123320,7 @@ class TestGroupsCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -122264,7 +123354,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestAddFirstGroupNew_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterAddGroupParams alloc] init]; @@ -122295,7 +123385,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewFirstGroupNew_7() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122330,7 +123420,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewSecondGroupNotFound_8() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122360,7 +123450,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestGetGroupMembership1All_9() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterGetGroupMembershipParams alloc] init]; @@ -122395,7 +123485,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestAddSecondGroupNew_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterAddGroupParams alloc] init]; @@ -122426,7 +123516,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewSecondGroupNew_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122461,7 +123551,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewGroup3NotFound_12() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122491,7 +123581,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewFirstGroupExisting_13() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122526,7 +123616,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewSecondGroupExisting_14() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122561,7 +123651,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestGetGroupMembership2_15() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterGetGroupMembershipParams alloc] init]; @@ -122599,7 +123689,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestRemoveGroup0Invalid_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterRemoveGroupParams alloc] init]; @@ -122629,7 +123719,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestRemoveGroup4NotFound_17() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterRemoveGroupParams alloc] init]; @@ -122659,7 +123749,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestRemoveSecondGroupExisting_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterRemoveGroupParams alloc] init]; @@ -122689,7 +123779,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewFirstGroupNotRemoved_19() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122724,7 +123814,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewSecondGroupRemoved_20() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122754,7 +123844,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestGetGroupMembership3_21() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterGetGroupMembershipParams alloc] init]; @@ -122793,7 +123883,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestRemoveAll_22() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster removeAllGroupsWithCompletionHandler:^(NSError * _Nullable err) { @@ -122810,7 +123900,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewFirstGroupRemoved_23() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122840,7 +123930,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewSecondGroupStillRemoved_24() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122870,7 +123960,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestViewGroup3Removed_25() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterViewGroupParams alloc] init]; @@ -122900,7 +123990,7 @@ class TestGroupsCluster : public TestCommandBridge { CHIP_ERROR TestGetGroupMembership4_26() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterGetGroupMembershipParams alloc] init]; @@ -123171,7 +124261,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123192,7 +124282,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123213,7 +124303,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123252,7 +124342,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123291,7 +124381,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123341,7 +124431,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123374,7 +124464,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123422,7 +124512,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123462,7 +124552,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123507,7 +124597,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { CHIP_ERROR TestAddGroup1_10() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterAddGroupParams alloc] init]; @@ -123538,7 +124628,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { CHIP_ERROR TestAddGroup2_11() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterAddGroupParams alloc] init]; @@ -123570,7 +124660,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123611,7 +124701,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123633,7 +124723,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123658,7 +124748,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123707,7 +124797,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { CHIP_ERROR TestRemoveGroup1_16() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); __auto_type * params = [[MTRGroupsClusterRemoveGroupParams alloc] init]; @@ -123738,7 +124828,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123771,7 +124861,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { CHIP_ERROR TestRemoveAll_18() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster removeAllGroupsWithCompletionHandler:^(NSError * _Nullable err) { @@ -123789,7 +124879,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123816,7 +124906,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123838,7 +124928,7 @@ class TestGroupKeyManagementCluster : public TestCommandBridge { { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterGroupKeyManagement * cluster = [[MTRBaseClusterGroupKeyManagement alloc] initWithDevice:device - endpoint:0 + endpointID:@(0) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); @@ -123996,7 +125086,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheClusterRevisionFromDut_1() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeClusterRevisionWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -124019,7 +125109,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsTheFeatureMapFromDut_2() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -124042,7 +125132,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { CHIP_ERROR TestGivenGsf00EnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { @@ -124060,7 +125150,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAttributeListFromDut_4() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -124085,7 +125175,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsAcceptedCommandListFromDut_5() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAcceptedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { @@ -124110,7 +125200,7 @@ class Test_TC_G_1_1 : public TestCommandBridge { CHIP_ERROR TestThReadsGeneratedCommandListFromDut_6() { MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; + MTRBaseClusterGroups * cluster = [[MTRBaseClusterGroups alloc] initWithDevice:device endpointID:@(1) queue:mCallbackQueue]; VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeGeneratedCommandListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) {