Skip to main content

parse_invoke_response_batch

Function parse_invoke_response_batch 

Source
pub fn parse_invoke_response_batch(
    bytes: &[u8],
) -> Result<Vec<InvokeResponseEntry>, ImError>
Expand description

Parse a multi-command InvokeResponseMessage: every InvokeResponseIB, each with its CommandRef. The single-command parse_invoke_response is retained for the commissioning path (reads only the first IB, ignores CommandRef).

ยงErrors

Returns ImError if the message is not a struct, lacks the InvokeResponses array, or an IB has neither Command nor Status.