Skip to main content

build_write_request

Function build_write_request 

Source
pub fn build_write_request(writes: &[AttributeWriteRequest]) -> Vec<u8> 
Expand description

Build a WriteRequestMessage for one or more concrete attribute writes.

SuppressResponse and TimedRequest are both false; DataVersion and MoreChunkedMessages are omitted (no chunking — single-MTU writes only, per the M7 scope).

§Panics

Panics if a value_tlv is not a valid anonymous-tagged TLV element (i.e. not the output of a codec encode call). The function is otherwise infallible; Vec-backed TlvWriter never fails.