pub fn parse_invoke_response(bytes: &[u8]) -> Result<InvokeResponse, ImError>Expand description
Parse a single-command InvokeResponseMessage.
Reads the first InvokeResponseIB in the InvokeResponses array and
returns either its response-command payload or its status. Additional
InvokeResponseIBs (not produced by commissioning) are ignored.
ยงErrors
Returns ImError if the message is not a struct, lacks the
InvokeResponses array, or the first IB has neither Command nor Status.