build_aprs_item

Function build_aprs_item 

Source
pub fn build_aprs_item(
    source: &Ax25Address,
    name: &str,
    live: bool,
    lat: f64,
    lon: f64,
    symbol_table: char,
    symbol_code: char,
    comment: &str,
    path: &[Ax25Address],
) -> Vec<u8> 
Expand description

Build a KISS-encoded APRS item report.

Composes an AX.25 UI frame with the APRS item format: )name!DDMM.HHN/DDDMM.HHEscomment (live) or )name_DDMM.HHN/DDDMM.HHEscomment (killed).

The item name must be 3-9 characters per APRS101 Chapter 11.

Returns wire-ready bytes (FEND-delimited KISS frame).

§Parameters

  • source: The sender’s callsign and SSID.
  • name: Item name (3-9 characters).
  • live: true for a live item (!), false for killed (_).
  • lat: Decimal degrees, positive = North.
  • lon: Decimal degrees, positive = East.
  • symbol_table: APRS symbol table character.
  • symbol_code: APRS symbol code character.
  • comment: Free-form comment text.
  • path: Digipeater path.