Function vls_protocol::msgs::read_serial_response_header

source ยท
pub fn read_serial_response_header<R: Read>(
    reader: &mut R,
    expected_sequence: u16
) -> Result<()>
Expand description

Read the serial response header and match the expected sequence number Returns BadFraming if the magic or sequence are wrong.