Skip to content

Commit 15b4592

Browse files
Fix incorrect comment in MatterCallbacks.
The comment for the Pre callback was fixed, but the one for the Post callback was not.
1 parent 04251f1 commit 15b4592

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/app/util/MatterCallbacks.h

+6-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,12 @@ class DataModelCallbacks
6060
return CHIP_NO_ERROR;
6161
}
6262

63-
/// This callback is called once the message has been determined to be a command, but
64-
/// after it being dispatched to the receiver.
63+
/// This callback is called once for every command dispatch, after the dispatch is actually
64+
/// done towards the receiver.
65+
///
66+
/// This method is called once for every CommandDataIB (i.e. it may be called several times
67+
/// in the case of batch invoke, where a single `InvokeRequestMessage` may contain several
68+
/// CommandDataIB entries).
6569
virtual void PostCommandReceived(const chip::app::ConcreteCommandPath & commandPath,
6670
const chip::Access::SubjectDescriptor & subjectDescriptor)
6771
{}

0 commit comments

Comments
 (0)