diff --git a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.mm b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.mm index c37754e15a95e9..36dc5b27410da1 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.mm +++ b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.mm @@ -138,6 +138,16 @@ - (void)readAttributePaths:(NSArray * _Nullable)attri params:(MTRReadParams * _Nullable)params queue:(dispatch_queue_t)queue completion:(MTRDeviceResponseHandler)completion +{ + [self readAttributePaths:attributePaths eventPaths:eventPaths params:params includeDataVersion:NO queue:queue completion:completion]; +} + +- (void)readAttributePaths:(NSArray * _Nullable)attributePaths + eventPaths:(NSArray * _Nullable)eventPaths + params:(MTRReadParams * _Nullable)params + includeDataVersion:(BOOL)includeDataVersion + queue:(dispatch_queue_t)queue + completion:(MTRDeviceResponseHandler)completion { if (attributePaths == nil || eventPaths != nil) { MTR_LOG_ERROR("MTRBaseDevice doesn't support reading event paths over XPC");