Skip to main content

Module invoke_server

Module invoke_server 

Source
Expand description

Server-side Invoke framing — the inverse of crate::invoke’s client codecs. A controller never had to read an inbound InvokeRequestMessage or write an InvokeResponseMessage; an OTA Provider (M9-F) does both.

Structs§

InvokedCommand
One command parsed out of an inbound InvokeRequestMessage.
ParsedInvokeRequest
A parsed inbound InvokeRequestMessage.

Functions§

build_invoke_response_command
Build a single-response InvokeResponseMessage carrying a response command (InvokeResponseIB → ctx0 CommandCommandDataIB: path + fields). SuppressResponse = false.
build_invoke_response_status
Build a single-response InvokeResponseMessage carrying a bare status for path (InvokeResponseIB → ctx1 StatusCommandStatusIB: path + StatusIB with Status = status). SuppressResponse = false.
parse_invoke_request
Parse an inbound InvokeRequestMessage (Matter Core §10.7) — the message a device sends to a server (e.g. a Requestor’s QueryImage to an OTA Provider).