Skip to content

Commit 928efd7

Browse files
authored
[hotfix][darwin-framework-tool] Add missing OTA delegate for per controller storage (project-chip#36269)
1 parent 215cb5c commit 928efd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/darwin-framework-tool/commands/common/CHIPCommandBridge.mm

+4
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@
185185
intermediateCertificate:nil
186186
rootCertificate:certificateIssuer.rootCertificate];
187187
[params setOperationalCertificateIssuer:certificateIssuer queue:controllerStorageQueue];
188+
189+
__auto_type * otaDelegateQueue = dispatch_queue_create("com.chip.ota", DISPATCH_QUEUE_SERIAL_WITH_AUTORELEASE_POOL);
190+
[params setOTAProviderDelegate:mOTADelegate queue:otaDelegateQueue];
191+
188192
params.productAttestationAuthorityCertificates = productAttestationAuthorityCertificates;
189193

190194
__auto_type * controller = [[MTRDeviceController alloc] initWithParameters:params error:&error];

0 commit comments

Comments
 (0)