Skip to main content

Module write

Module write 

Source
Expand description

WriteRequestMessage / WriteResponseMessage framing — Matter §10.6.

Structs§

AttributeWriteRequest
One attribute write: a concrete path plus the pre-encoded data value.

Functions§

build_list_write_chunks
Build one or more WriteRequestMessages that write element_tlvs (each a pre-encoded anonymous-tagged list element) to path as a list, splitting across messages so each stays within budget unencrypted bytes.
build_write_request
Build a WriteRequestMessage for one or more concrete attribute writes.
build_write_request_timed
Like build_write_request but sets TimedRequest = true — the action half of a timed interaction, sent on the same exchange after a TimedRequest message (see crate::build_timed_request).
parse_write_response
Parse a WriteResponseMessage into per-path statuses.