pub fn build_invoke_request(
path: CommandPath,
command_fields_tlv: &[u8],
) -> Vec<u8> ⓘExpand description
Build an InvokeRequestMessage carrying a single command.
command_fields_tlv is the already-encoded command-fields struct
(e.g. the output of crate::noc::encode_csr_request); it is embedded
verbatim as the CommandFields member. SuppressResponse and
TimedRequest are both false.
§Panics
Panics if command_fields_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.