Skip to content

Commit

Permalink
rebased to master and use the new zap acronym names
Browse files Browse the repository at this point in the history
  • Loading branch information
jtung-apple committed Nov 30, 2022
1 parent 98300b5 commit 205ae17
Show file tree
Hide file tree
Showing 2 changed files with 429 additions and 493 deletions.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static void MTRClustersLogCompletion(NSString *logPrefix, id value, NSError *err
{{/unless}}
- (void){{asLowerCamelCase name}}WithParams: (MTR{{>cluster}}Cluster{{asUpperCamelCase name preserveAcronyms=true}}Params * {{#unless (commandHasRequiredField .)}}_Nullable{{/unless}})params expectedValues:(NSArray<NSDictionary<NSString *, id> *> *)expectedValues expectedValueInterval:(NSNumber *)expectedValueIntervalMs completion:({{>command_completion_type command=.}})completion
{
NSString * logPrefix = [NSString stringWithFormat:@"MTRDevice command %u %" PRIu16 " %u %u", self.device.deviceController.fabricIndex, _endpoint, (unsigned int)MTRClusterIDType{{asUpperCamelCase parent.name}}ID, (unsigned int)MTRCommandIDTypeCluster{{asUpperCamelCase parent.name}}Command{{asUpperCamelCase name}}ID];
NSString * logPrefix = [NSString stringWithFormat:@"MTRDevice command %u %u %u %u", self.device.deviceController.fabricIndex, _endpoint, (unsigned int)MTRClusterIDType{{>cluster}}ID, (unsigned int)MTRCommandIDTypeCluster{{>cluster}}Command{{asUpperCamelCase name preserveAcronyms=true}}ID];
// Make a copy of params before we go async.
params = [params copy];
NSNumber *timedInvokeTimeoutMsParam = params.timedInvokeTimeoutMs;
Expand Down
Loading

0 comments on commit 205ae17

Please sign in to comment.