Expand description
InvokeRequestMessage / InvokeResponseMessage framing — Matter §10.7.
Structs§
- Invoke
Response Entry - One parsed
InvokeResponseIBfrom a batched response, with itsCommandRef(CommandDataIB/CommandStatusIBtag 2) for matching to the request command.
Enums§
- Invoke
Response - Outcome of parsing a single-command
InvokeResponseMessage.
Functions§
- build_
invoke_ request - Build an
InvokeRequestMessagecarrying a single command. - build_
invoke_ request_ batch - Build an
InvokeRequestMessagecarrying multiple commands, each tagged with a sequentialCommandRef(CommandDataIBtag 2) so the device’s responses can be matched back.SuppressResponseandTimedRequestarefalse. Each tuple is(path, command_fields_tlv), the fields an anonymous-tagged TLV blob (e.g. amatter-clusterscommand encoder output). - build_
invoke_ request_ group - Like
build_invoke_requestbut setsSuppressResponse = true— the form used for group (multicast) invokes. Group commands are unacknowledged at the IM layer: there is no return path for a multicast send, so the request must instruct the receiving devices to suppress anyInvokeResponse(Matter Core Spec §8.9.2 / §10.7.2 — group commands carrySuppressResponse).TimedRequestisfalse(timed interactions are not available on group sends). - build_
invoke_ request_ timed - Like
build_invoke_requestbut setsTimedRequest = true— the action half of a timed interaction, sent on the same exchange after aTimedRequestmessage (seecrate::build_timed_request). - parse_
invoke_ response - Parse a single-command
InvokeResponseMessage. - parse_
invoke_ response_ batch - Parse a multi-command
InvokeResponseMessage: everyInvokeResponseIB, each with itsCommandRef. The single-commandparse_invoke_responseis retained for the commissioning path (reads only the first IB, ignoresCommandRef).