Skip to main content

decapsulate

Function decapsulate 

Source
pub fn decapsulate(frame: &[u8]) -> Option<&[u8]>
Expand description

Unwraps a CRC-16 Encapsulation frame (starting at 0x56 0x01); None when it is too short or the CRC does not match.