pub fn segment_data(channel_id: u16, data: &[u8], mtu: u16) -> Vec<SarFragment>Expand description
Segment data into MTU-sized L2CAP PDU fragments
The first fragment includes the L2CAP header (length + CID). Subsequent fragments are continuation packets.