pub fn build_aprs_message(
source: &Ax25Address,
addressee: &str,
text: &str,
message_id: Option<&str>,
path: &[Ax25Address],
) -> Vec<u8> ⓘExpand description
Build a KISS-encoded APRS message packet.
Composes an AX.25 UI frame with the APRS message format:
:ADDRESSEE:text{ID
The addressee is padded to exactly 9 characters per the APRS spec.
Message text that exceeds MAX_APRS_MESSAGE_TEXT_LEN (67 bytes) is
truncated — use build_aprs_message_checked if you want a
hard error on overlong input.
Returns wire-ready bytes (FEND-delimited KISS frame).
§Parameters
source: The sender’s callsign and SSID.addressee: Destination station callsign (up to 9 chars).text: Message text content.message_id: Optional message sequence number for ack/rej tracking.path: Digipeater path.