pub fn parse_subscribe_response(
bytes: &[u8],
) -> Result<SubscribeResponse, ImError>Expand description
Parse a SubscribeResponseMessage into a SubscribeResponse.
Extracts subscriptionId (ctx 0, uint32) and maxInterval (ctx 2,
uint16). The interactionModelRevision (ctx 0xFF) is read and discarded.
ยงErrors
Returns ImError if the message is not a struct, or if
subscriptionId / maxInterval are absent or out of range.