Skip to main content

frame

Function frame 

Source
pub fn frame(dlci: u8, cr: bool, control: u8, payload: &[u8]) -> Vec<u8> ⓘ
Expand description

A frame as sent on the wire; control carries the P/F bit when it is set. The modem is the responder (27.010 §5.2.1.2): cr is false in its commands (DISC) and data, true in its responses (UA, DM).