ax25_ui_frame

Function ax25_ui_frame 

Source
pub const fn ax25_ui_frame(
    source: Ax25Address,
    destination: Ax25Address,
    path: Vec<Ax25Address>,
    info: Vec<u8>,
) -> Ax25Packet
Expand description

Build a minimal APRS UI frame with the given source, destination, path, and info field. Control = 0x03, PID = 0xF0.

This is the free-function form of the former Ax25Packet::ui_frame inherent constructor; since Ax25Packet is a foreign type from the [ax25_codec] crate, inherent impls on it must live there.