unwrap_lp

Function unwrap_lp 

Source
pub fn unwrap_lp(raw: &Bytes) -> Option<Bytes>
Expand description

If raw is an LP-framed packet (0x64), extract and return the inner fragment bytes. Otherwise return raw unchanged.

Returns None if the LP packet is malformed or carries no fragment (e.g. an ACK-only packet).