From a17aafa76848e5863fb0a0f159dfd702acb92af0 Mon Sep 17 00:00:00 2001 From: joonhaengHeo <85541460+joonhaengHeo@users.noreply.github.com> Date: Sat, 8 Apr 2023 17:08:23 +0900 Subject: [PATCH] Update src/darwin/Framework/CHIP/MTRBaseDevice.mm Co-authored-by: Boris Zbarsky --- src/darwin/Framework/CHIP/MTRBaseDevice.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.mm b/src/darwin/Framework/CHIP/MTRBaseDevice.mm index f863d1c0c56a6b..1dc91ac652934a 100644 --- a/src/darwin/Framework/CHIP/MTRBaseDevice.mm +++ b/src/darwin/Framework/CHIP/MTRBaseDevice.mm @@ -997,9 +997,8 @@ - (void)readWithAttributePaths:(NSArray * _Nullable)a }]; }; - auto onEventSuccessCb = [resultArray](const app::ConcreteClusterPath & clusterPath, const EventId aEventId, + auto onEventSuccessCb = [resultArray](const ConcreteEventPath & eventPath, const MTRDataValueDictionaryDecodableType & aData) { - app::ConcreteEventPath eventPath(clusterPath.mEndpointId, clusterPath.mClusterId, aEventId); [resultArray addObject:@ { MTREventPathKey : [[MTREventPath alloc] initWithPath:eventPath], MTRDataKey : aData.GetDecodedObject()