ax25_to_kiss_wire

Function ax25_to_kiss_wire 

Source
pub fn ax25_to_kiss_wire(packet: &Ax25Packet) -> Vec<u8> 
Expand description

Encode an Ax25Packet as a KISS-framed data frame ready for the wire. Equivalent to wrapping [build_ax25] in [encode_kiss_frame] with port = 0 and command = Data.

This is the free-function form of the former Ax25Packet::encode_kiss inherent method; see ax25_ui_frame for why.