Skip to main content

encode_a

Function encode_a 

Source
pub fn encode_a(
    c: u8,
    address: &Address,
    ci: u8,
    payload: &[u8],
    out: &mut [u8],
) -> Result<usize>
Expand description

Encode a frame in format A: link fields, CI and payload, with a CRC after every block. Returns the number of bytes written. For simulators and tests.