parse_msg_header_read

Function parse_msg_header_read 

Source
pub fn parse_msg_header_read(
    buf: &[u8],
    header: PayloadHeader,
) -> Result<MsgParsed<'_>, EspError>
Expand description

Use this for SPI, after parsing the header in the first 12-byte transaction. Assumes the header has been read already, and passed as a param.